A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Can someone help with this Action Script?

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Location
    I am everywhere, yet no where. If that makes any sense
    Posts
    21

    Can someone help with this Action Script?

    I have 7 buttons on the stage.

    Each button has it's own animation for example:

    If button2 is clicked, an arrow turn 30 degrees, and if button 3 is clicked, the script tells it go to it's closing animation and goes back to it's original state WHILE AT THE SAME TIME button 3 arrow turns 30 degrees.


    I have uploaded a sample in Flash MX format.

    I'm trying to figure out why the buttons aren't working the way they should. The script seems ok but I know I'm missing something. After a while if you click on a certain button it the other button that is active remains active and doesn't close. wel you'll see in the file....

    Each "buttonclip" has a layer called "BUTTON", you will find the script there.

    Hope someone can help
    Attached Files Attached Files

  2. #2
    :
    Join Date
    Dec 2002
    Posts
    3,518

    Maybe try this...

    See attached file. Added a check to make sure animation has finished playing before you can select another button.
    Last edited by dawsonk; 08-22-2007 at 10:52 AM.

  3. #3
    Junior Member
    Join Date
    Oct 2005
    Location
    I am everywhere, yet no where. If that makes any sense
    Posts
    21

    Hey Once again you did it

    Hey thanks dawson,

    You did it again!

    You're a life saver. Check is in the mail..haha

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