Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you load a swf into its self? 1

Status
Not open for further replies.

natwod

Programmer
Nov 21, 2002
41
US
I am trying to get a specific effect that I will not take the time to explain, but I'm pretty sure that it requires a second layer. I think I could achieve the effect by loading the movie into its self, on a higher level (I want to keep it down to one swf), but I have tried, and from what I can tell, the second loaded file overtakes the first one, covering everything up even though the frames playing in level2 are blank except for sound. I tried to get it to load into level 2, and then referred to it as '_level2' for things like gotoAndPlay.

Any ideas?

THANKS!!
Natwod
 
hi there,

its possible to load the movie in itself, you did it right but one thing u should change that in this case you will be using target instead of level.Just make a dummy movie clip and name it an instance, like

loadMovie("untitled-1.swf", "as");

in this case "as" is the instance name of that dummy movie clip, now your movie will not overcome the root movie.

hope this solves your problem.

Nabeel Tirmazi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top