-
loadmovie + frame #?
Is it possible to load a movie and have it link to a particular frame within the loaded movie?
Right now, I have:
}
on (release) {
loadMovieNum("movie.swf", 0);
gotoAndStop(3);
{
Thanks
-
Senior Member
A movie can not go anywhere until its loaded. So you can not use a goto command on tha button that load the movie.
However you can set a variable that the loaded movie will read and act upon, but not if you replace the movie that calls the external swf ( your code means that you replace whatever is on _level0).
If you load the external movie to _level 1 instead you can set a variable with the button like this....
on (release) {
loadMovieNum("movie.swf", 1);
whereToGo="myFrameLabel";
{
In the external movies first frame you can have
gotoAndPlay(_level0.whereToGo);
It will make the external movie fo to a framelabel, in this case named myFramelabel in its timeline.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|