A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Rollon and Rollout Unity

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    6

    Rollon and Rollout Unity

    im creating a webpage where i have 5 buttons. when you rollover one button, it scales up and the other buttons scale and move in reaction to the first button.

    when you roll off they go back to their original position.

    now if you were to rollover to button 2, the same thing would happen.

    my problem is my buttons hop around because when you mouse over button two before button one is finished animating back to its origingal position, itll hop to the frame button two told it to. this creates a choppy project because they arent relating to eachother.

    is there an "if" statement or something, that i can say, "if button1 is animating, wait for button1 to finish before proceeding with button2's animation".

    that way i can mouse over button1. itll do its thing, ill mouse off button1 to button2, button1 can finish its rollout animation before button2 performs its animation.

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    6
    http://www.cvlcreative.com/test/untitled-1.html

    heres an example of what im talking about.

    i want my rolloffs to get along () with my rollons

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