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!

loadMovieNum question... 1

Status
Not open for further replies.

adamr1001

MIS
Jul 25, 2001
166
CA

hi.

i am currently loading SWFs into a holder movice clip.
i read that in order to communicate between the levels i have to declare the level using loadMovieNum each time i load a SWF file.

loading the movie into a holder movieclip is no problem - but what should i add to declare its level.

i tried loadMovieNum("home.swf", 1, _root.holder);
but it didn't work.

i tried looking in the reference... but i'm finding what i'm lookin for.

thanks in advance for your help..
 
you dont have a level when loading into a clip
(well depends where you place the empty clip)

communicate between clips
 
You either load your external movies on other levels with loadMovieNum, or in an empty container movie clips with loadMovie.

loadMovieNum("home.swf", 5);
// Loads the movie on level 5

loadMovie("home.swf", "_root.HolderMC");
// Loads the movie in a container clip
// With the instance name of HolderMC

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top