-
Hello,
I am using load movie with a few swf files and the last one is not working.
Here is my set up.
-Container.swf which loads
-movie1.swf in the moviePlaceholder
-when button on movie1.swf is clicked:
movie2.swf should get loaded into moviePlaceholder2
which is on movie1.swf
I can get movie1 to load into container and if I run movie1 by itself, movie2 loads into spot on movie 1 but when I run the whole things movie1 loads to container and that is all. Movie2 won't show.
I used this in movie1 to load movie2.
loadMovie ("movie2.swf", "_root.movieplaceholder2");
also tried:
loadMovie ("movie2.swf", "this.movieplaceholder2");
This is driving me NUTS!
Would it be easier to just make a function on container.swf that when called, makes movie1 go away and movie2 load in its holder spot? If so, any help on doing that or do I just use unload movie?
Thanks!
-
I am not sure if I understand you correctly but try this.
I think you want to load movie2 into movieplaceholder2 which is in movie1 which is in container. If this is the case try using this code...
loadMovie ("movie2.swf", _root.container.movie1.movieplaceholder2);
It may work, it may not, at least I tried
-
Thanks. I got it solved.
I used
this.movieplaceholder2.loadmovie("movie2.swf",2)
Just needed to set it to another level and word differently.
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
|