PDA

View Full Version : Load and Play


pccfAkE
12-06-2001, 11:45 PM
Hi,
i stuck at this problem:
I have a Movie1.swf. When I open it, it doesn't autoplay. I have to start it manually (rightclick on movie and menu play).
Now I want to create another movie (Movie2.swf). With this movie I want to load Movie1.swf and autoplay it.

Anybody can help?
thanx

Billy T
12-06-2001, 11:56 PM
not sure I understand your question....

do you have a stop action in the first frame of movie 1?

pccfAkE
12-07-2001, 10:12 AM
yes, it has a stop action in the first frame (I don't want that it starts playing automatically when I open it).
Therefor I need to make another movie2.swf that load or call movie1.swf and start playing it.

Is it possible?

It's kind of protection. If someone link to movie1.swf, he can't autoplay it. He must start it manually.

Billy T
12-07-2001, 12:22 PM
ok then try this

on your button that loads the movie put this

on (release) {
_level0.playmovie = true;
}

then on that first frame of the movie that is being loaded put this

if (_level0.playmovie==true){
gotoAndPlay(2);
}


hope that helps