View Full Version : This has got be a simple easy question!
Imageco
10-27-2001, 12:28 AM
Movieclip1 loads Movieclip2 into a blank movieclip on movieclip1's stage. I would like to load movieclip2 but have it start a specific frame instead of at the beginning of the clip. How do I do this. I've searched the forums but did not find the answer to my question.
Here's my code:
on (release) {
main.attachMovie("interface1", "content1", 0);
}
Thanks in advance!
Jesse
10-27-2001, 02:00 AM
then you just use:
main.interface1.gotoAndStop(x);
where x is a frame number...
Imageco
10-27-2001, 05:07 PM
Hi Jesse,
I've added your code as below but it's still playing the MC from the beginning. Is their something else I need to do?
on (release) {
main.attachMovie("interface1", "content1", 0)
;main.interface1.gotoAndStop(10);
}
Thanks again!
Ricod
11-03-2001, 12:34 PM
how about u put a : stop (); on the 1st frame of your loaded MC and on the button use the if and _framesloaded to check wether all the frames are loaded. The loaded MC starts playing the ms it's loaded, hence the stop(); on the 1st frame. The frame checker is handy when u adress a frame that's not loaded yet. Use Jesse's code on the button under the if statement.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.