ToshTrent
Technical User
- Jul 27, 2003
- 209
Hi,
I’ve got myself into a bit of a pickle with Movie Clips and Levels. I have written a scenario to simplify my problem; I hope it is clear enough.
I have two swf movies.
SWF 1 – Snapshot.swf
This has a movie clip called LoadedContent.
SWF 2 – Content.swf -this is loaded into movie clip LoadedContent
This has a movie clip called Figure1.
This has a button called Button1 (Acting as MovieClip)
When Button1 is pressed I am trying to make a specific part of the movie clip Figure1 play. To make this work I used this.
Figure1.gotoAndPlay("FadeOut");
This did not work so I added ‘_root’
_root.ManFigureFade.gotoAndPlay("FadeOut");
This worked great locally, but when I ran the site through the main swf ‘Snapshot.swf’ the button could manage the movie clips, this is clearly due to the _root value which I have set. I have tried many combinations to set the root of the movie clip ‘Figure1’ but I can not seem to do so.
Could someone please advise me how to set the root of the movie clip Figure1 when running it through Snapshot.swf?
Thank you in advance for your help.
Tosh
I’ve got myself into a bit of a pickle with Movie Clips and Levels. I have written a scenario to simplify my problem; I hope it is clear enough.
I have two swf movies.
SWF 1 – Snapshot.swf
This has a movie clip called LoadedContent.
SWF 2 – Content.swf -this is loaded into movie clip LoadedContent
This has a movie clip called Figure1.
This has a button called Button1 (Acting as MovieClip)
When Button1 is pressed I am trying to make a specific part of the movie clip Figure1 play. To make this work I used this.
Figure1.gotoAndPlay("FadeOut");
This did not work so I added ‘_root’
_root.ManFigureFade.gotoAndPlay("FadeOut");
This worked great locally, but when I ran the site through the main swf ‘Snapshot.swf’ the button could manage the movie clips, this is clearly due to the _root value which I have set. I have tried many combinations to set the root of the movie clip ‘Figure1’ but I can not seem to do so.
Could someone please advise me how to set the root of the movie clip Figure1 when running it through Snapshot.swf?
Thank you in advance for your help.
Tosh