A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Active area of buttons...

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    65
    Hiyall....

    I have a problem.
    I have buttons that on the 'over' frame have some movies. So when you roll over the button, a movie plays, as part of the button.
    An animated button of sorts.

    Anyhoo, the parts of the movie, very small particles spread out quite far from the button itself, are active. So when you roll over these invisible bit'n'piece's they activate the button (and it's animation).

    I don't want this to happen.
    I want the button to be 'active' but not the movie's attached/associated with it.

    ¿Comprendéz?

    You can view the site in question here: http://www.nuoptik.com

    Go to the 'photography' section, and roll over the buttons (the cubes).... now roll over the blank space where the animated title's (Lomo, Polaroid, etc.) appear.

    If you catch an area where one of the 'pieces' of the titles invisibly resides, it starts the animation (of the button).

    Anyone know how to get this not to happen?? How to disclude the movie part of the button as being part of the buttons 'active area'.

    Please help.........

  2. #2
    in a button you have 4 frame ... the last one (hit) represent the area of the button you want to be active so in this frame you put a square the size of your cube.. This frame don't appear so you can put any form of any color it doesn't matter... Just make sure your animation have no state on the hit frame...

  3. #3
    VIP Member
    Join Date
    Nov 2000
    Location
    United Kingdom
    Posts
    254
    Insert a keyframe on the hit section and draw a black shape of where you want the hit area to be

  4. #4
    Member
    Join Date
    Sep 2001
    Posts
    65
    Cheers Guys!!!
    That'll do the job nicely!

    <so that's what the hit frame is for!.....>


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