A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Control 3 movie clip with one button [ as2,cs4 ]

Threaded View

  1. #1
    lost in AS
    Join Date
    Nov 2009
    Posts
    4

    Control 3 movie clip with one button [ as2,cs4 ]

    hello
    i have 1 button and 3 Movieclip
    there is 2 frame in each move clip .
    i want to control all mc with my button.
    when i press it all mc go to frame 2 .

    i use this action for button :

    Code:
    on (release) {
    	_root.f1 = true;
    }

    and use this action on first frame of each movie clip :


    Code:
    stop();
    if (_root.f1 == true) {
    	gotoAndStop(2);
    
    }
    but don't work , please help .

    i attach the fla file .
    Attached Files Attached Files

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