I have movie 1 & movie 2. Movie 1 is the main movie. I want to have movie 2 play on the first frame of movie 1. Both are independently saved swfs. Would I use loadMovie here or something else? I cannot get the load movie to work right if so. Thanks for your help.
Okay, on your first frame. You'd want to put this little piece of code there. You'll also need to create an empty movieclip an place it were ever you want it.
So regardless of what you name the empty movie, the empty.mc.loadMovie command will load the movie in question into that empty movie? That's pretty cool.
Is this an example of AS2? I'm still used to the AS1, tellTarget stuff hahaha. I guess I need to get a resource to learn AS2 before I start commiting this AS1 to memory.
Any recommendations as to books which explains simply from the beginning how to use AS2 in flash?
Okay, so you have a movie clip called "movie1" correct? What you want to do is make an empty clip and put it on the main timeline. Then you can call it whatever you want. Then just replace empty_mc in my code with the new name of your blank/empty movie clip.
ok, I made a blank movie, dropped it in the first frame, changed the name and it does not pull from it. Does the swf have to be in the library or can it be pulled from an external source? like in the root of movie1?
Yes the swf file should where the loaded swf is. I wasn't able to see the file. What version are you using? I'm using MX 2004. If your using 8 could you save it as an mx 2004 files. Thanks
Alright, there was one little thing you were missing. Just click on your empty movieclip. And in the property Inspector at the bottom of the program, you'll a text box with the words "Instance Name" type in there empty. And that should do it for ya.
That is crazy. I named the empty movie in the actual movie I was trying to get it to work in.
I had the movie named empty.movie1 and when I put that in the code the . between empty & movie1 threw it off. Changed the name to empty and it worked first time.