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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with loadMovie() 1

Status
Not open for further replies.

ToddWW

Programmer
Mar 25, 2001
1,073
US
I've got a flash intro that I purchased from a template site. I am loading it into my flash project using loadMovie(). The .swf loads fine however within the .swf there are many references to _root. I assume the author didn't anticipate anyone loading this .swf into a parent flash movie. For example.

In the preloader of the intro .swf, there is the statement
Code:
_root.gotoAndPlay(2);

So obviously what's happening is that the main .swf is returning the playhead to frame 2.

Any suggestions. Can I give the intro .swf a name or variable and then replace all of the
Code:
_root
statements with that name or variable.

Any help would be appreciated.

Flash 8 Professional

ToddWW
 
Or can I load the movie into a different level? I still need the two movie clips to be able to talk to each other. For example, I need a button in the main .swf to be able to manipulate the intro .swf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top