2 Replies Latest reply on Dec 16, 2012 7:18 AM by balticsea

    How to create random choice for buttons on stage?


      Flash CS4, AS2, beginner. I've got 10 pictures on the timeline named pic1, pic2, pic3... etc. To let a button on the stage switch to a certain picture, let's say pic1, I click the button with the right mouse button, open the action window and choose: on (release) ... gotoAndPlay("Pic1"); Which commands must I select in the action window to make the button switch to one of the 10 pictures at random?

      Thank you very much in advance for your help!