2 Replies Latest reply on Apr 3, 2011 4:32 PM by StarryDream

    Making an animated button in Flash CS5

    StarryDream

      I'm jew to Flash and I'm trying to make an animated button in Flash CS5 that has the ability to turn music on/off. I've followed different tutorials, and right now I'm trying to use an animated movie clip with an "invisible" button over it. I want the animation to swap frames when the button is clicked, and I also want the music to toggle on/off when the button is clicked.

      For example:

      When the button is pressed, the animation switches to say "press to turn off music" and the music turns on.

      But so far, the button isn't working, and the animation won't stop switching frames even when I enter the "stop();" code.

       

      Does anyone have any idea how to make it so that the button works together with the animation and music?