A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: rollovers

  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    49

    Post

    I have some buttons where upon rollover, the buttons changes color and some text appears over to the right of the page, but now everytime my mouse enters the area where the text is supposed to appear, it sort of acts like a button and my buttons start doing their rollover thing. How do I fix this?


  2. #2
    Denim Demon
    Join Date
    Jun 2002
    Location
    Outside of society
    Posts
    514
    Make the hit area of the button (the keyframe that says 'hit') contain a shape that acts as the active area or "hot spot".
    Right now your hit area is not defined and its treating all of the button, including the text, as active.

  3. #3
    Denim Demon
    Join Date
    Jun 2002
    Location
    Outside of society
    Posts
    514
    To tell you the truth, a better way to do what you're after is to make the buttons and the text separate objects.
    Make the text a movie clip or something with its first frame empty or set to visible=false.
    Then have the buttons target the movie clip and go to the frame that's not empty and/or set _visible=true.
    Those are two of many ways you could accomplish this.

  4. #4
    Member
    Join Date
    Mar 2002
    Posts
    49

    hit area

    Thanks, I had just defined the hit area after I wrote my post and it worked perfectly.

    Thanks

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center