PDA

View Full Version : Load SWF into Nested MC


Stantz
03-08-2007, 08:16 PM
Hi Guys,

If i want to load a SWF into a MC inside another MC, can this be done?

If so, how could it be done?

I am currently using

_root.contents1.loadMovie("main.swf");

Inside the "content1" MC, is "content2" MC, I would like to load the SWF into "content2".

Thanks guys.

winner
03-11-2007, 06:33 AM
Assuming the content2 mc is present on the first frame of the content1 mc...

_root.content1.content2.loadMovie("main.swf");

WhidbeyTomas
03-12-2007, 11:47 PM
No need to assume, use the scope symbol (circle with crosshairs) at the top of your actions window. This will give you the proper path.