PDA

View Full Version : Can an swf talk to an swf?


thegraphicguru
02-02-2001, 09:13 PM
Hi,

Say you were loading an swf in a location such as

loadMovie ("pretend.swf", "/instanceName");

in the main swf...could I go to a certian key frame in pretend.swf...or could I manipulate anything in pretend.swf??

Thanks,

Jesse
02-02-2001, 11:27 PM
Of course, you can do anything to it.

To go to a certain frame you'd use:

_root.instanceName.gotoAndPlay(FrameNumber);

But note taht you can't do this until you've given the file time to load up. Perhaps look at the upcomming Initializing Movie tutorial, or the preloader tutorial to allow for loading time.

Cheers

Jesse