A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: action script help please!!!

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    377
    how do you set up a button to send a play action to multiple targets? like if i was to push a button how do I set up the actionscripting to tell 2 different MC's on the same timeline to play?


    thanks for your help

    -G$-

  2. #2
    First give each of the movieclips a instance name. Then put the following code in your button:


    on (release) {
    _root.nameofmovieclip.gotoAndPlay(1);
    _root.nameofsecondmovieclip.gotoAndPlay(1);
    }


    Let me know if you encounter any probs,
    JML


  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    377
    works like a charm..... i didn't know you could set up actionsripting to work like that

    cheers

    -G$-

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