PDA

View Full Version : Button Actions And Movie Clip Action


karlzoe
01-08-2002, 07:43 PM
i have a button within a movie clip which is on the main stage. on click the button is suppose tto take you to fraam 1 of scene 2.

i placed a stop action aat the begining of the movie so it does not go to sence 2 when the movie starts.. in the button i plaace
the following :


on (release) {
gotoAndPlay ("scene 2", 1);
}

because i place a stop action on the first frame of tthe movie it stops everything.

1. i need to sttop the movie from playing scene 2
and control entry to that scene by the button.

please help!!!!

:mad: :mad:

dburgessjr
01-08-2002, 09:07 PM
I dont think you can change scenes within movieclips. the button has to be on the main time line. I could be wrong though.

Ricod
01-11-2002, 08:55 AM
Label the first frame of your second scene. Call it like this :
on (release){
_root.gotoAndPlay("myLabel");
}

Also, to allow things to play while u stop your main timeline u'll need to place it in its own mc. Then that keeps playing and stops independantly from the main timeline.