Links not working with rollover

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Links not working with rollover

    I have a button with a rollover that is supposed to jump the user to another section of the score when clicked.

    I don't see why I would need any conplex code, but the basic lingo I've won't jump to another section. The rollover works, but not the link.

    The code I used is as follows:

    (Script for Sprite 2)
    on mouseEnter
    set the visible of sprite 9 to TRUE
    end

    on mouseLeave
    set the visible of sprite 9 to FALSE
    end


    (Script for Sprite 9)
    on mouseUp me
    go to frame "Multimedia"
    end mouseUp



    If anyone can see what I'm doing wrong, I'd really appreciate the help.
    Thanks


    johnsobey webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Rollover not working in Mac Browser
      I've created a series of pages with Dreamweaver MX that contain rollovers of small images to show larger versions using 'MM_swapImage'. There are...
    2. Links not working please fix
      Hi, Dear MacroMedia Team, Please fix following links. http://www.macromedia.com/go/prod_knowledgebase...
    3. rollover that fades or expandswith multiple links
      Hello, I've inherited a job that sounds simple but I need some advice. Here's the layout - I have a map of the US with rollover buttons in a few...
    4. button.onPress= and on(rollover) not working together.
      i'm using a function to move a movieclip (a). the function is executed when a movieclip (buttonClip) is pressed. a friend showed me how to do it...
    5. Rollover and making another rollover with links
      Hi, This website is nicely designed and the rollover menu design is simple, but clear and effective. http://earthtrends.wri.org/ Does...
  3. #2

    Default Re: Links not working with rollover

    This is a tricky one...
    This script won´t work because making a sprite NOT visible stops that sprite
    form detecting events.

    When ARE OVER sprite 2 you make sprite 9 VISIBLE
    When you ARE OUT of sprite 2 you make sprite 9 INVISIBLE ok?

    So there´s no way for you to able to click or mouseUp sprite 9 ever...
    because It will always be invisible. In order for you to mouseUp sprite 9
    it needs to be VISIBLE and in order for it to be VISIBLE you must be OVER
    sprite 2 and being over sprite 2 doesn´t allow you to mouseUp sprite 9 which
    brings us back to the beggining.

    If you tell me what visual effect are you tring to achieve I would be more
    than glad to help you.


    ='o'= Arturo ='o'=



    "johnsobey" <webforumsuser@macromedia.com> escribió en el mensaje
    news:buh68v$e83$1@forums.macromedia.com...
    > I have a button with a rollover that is supposed to jump the user to
    another section of the score when clicked.
    >
    > I don't see why I would need any conplex code, but the basic lingo I've
    won't jump to another section. The rollover works, but not the link.
    >
    > The code I used is as follows:
    >
    > (Script for Sprite 2)
    > on mouseEnter
    > set the visible of sprite 9 to TRUE
    > end
    >
    > on mouseLeave
    > set the visible of sprite 9 to FALSE
    > end
    >
    >
    > (Script for Sprite 9)
    > on mouseUp me
    > go to frame "Multimedia"
    > end mouseUp
    >
    >
    >
    > If anyone can see what I'm doing wrong, I'd really appreciate the help.
    > Thanks
    >
    >

    Arturo Toledo Guest

  4. #3

    Default Re: Links not working with rollover

    Arturo is right - use blend instead of visible. If you set the blend to 0,
    the sprite will still receive events.

    --


    Dave
    [url]http://www.blurredistinction.com/director[/url]


    Dave Mennenoh Guest

  5. #4

    Default Re: Links not working with rollover

    I changed the Lingo to use the Blend property instead of Visible.

    However, the code to jump to another area of the score still doesn't work. I've placed the code in every possible sprite, but no matter where it's placed, it won't work.

    Thanks for the help so far!


    johnsobey webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Links not working with rollover

    You should at least have a script in the frame you are heading to... so you
    can tell if it works or not...

    place this script in the frame you want to get into:

    on exitFrame
    go to the frame
    put "I GOT HERE!!"
    end

    Look at the Message window and see your I got here message... If you don´t
    see it then something´s wrong.

    Arturo




    "johnsobey" <webforumsuser@macromedia.com> escribió en el mensaje
    news:buhfqp$rhe$1@forums.macromedia.com...
    > I changed the Lingo to use the Blend property instead of Visible.
    >
    > However, the code to jump to another area of the score still doesn't work.
    I've placed the code in every possible sprite, but no matter where it's
    placed, it won't work.
    >
    > Thanks for the help so far!
    >
    >

    Arturo Toledo Guest

  7. #6

    Default Re: Links not working with rollover

    > However, the code to jump to another area of the score still doesn't work.

    Is it possible the frame is not labelled precisely "Multimedia"? Watch out for
    leading/trailing spaces.

    Type

    go "Multimedia"

    in the message window. Does it go there?

    Andrew

    Andrew Morton Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139