PDA

View Full Version : [MX] Loading a .swf into a loaded swf.



fester8542
November 5th, 2002, 09:19 AM
First off, thanks in advance for your help


What I have here is my main Flash movie.

My main flash movie goes out and loads an external swf into an empty MC

_root.contents.loadMovie("2_portfolio.swf");

There is no problem there.

Now in one of the scenes on the loaded movie I want to load some other swf's into a blank MC. I am using the code (just one example)


_root.flash.loadMovie("flash/cardcage.swf");

The movie works fine when I run it by itself "2_portfolio.swf"

But when I run the whole movie, (the one that loads 2_portfolio.swf) the secondary .swf files do not load.

Any idea as to what I am doing wrong?

THX

srinivas
November 5th, 2002, 10:07 AM
loadMovie("url",level/target[, variables])

This is the usage of loadMovie. I think it is confusing the level/target thing. You need to mention that too.

Hope this helps!!

fester8542
November 5th, 2002, 11:14 AM
Still kinda stuck but thanks for the tip

fester8542
November 6th, 2002, 09:05 AM
Figured it out...

had to use the "this" command