Skip to main content
Participant
April 12, 2007
Question

Targeting a loaded movie clip

  • April 12, 2007
  • 5 replies
  • 379 views
Here's my problem, I have navigation buttons on the root timeline that load different swf's into a target movieclip.

Example:
loadMovie("Videos2.swf", Target_mc);
Is there a way I can tell the the loaded movie Videos2.swf to go to a certain frame and play from the root timeline?
I can adjust all the parameters of Target_mc, _x, _y and _alpha but Target_mc.gotoAndPlay(50) doesn't work, neither does Target_mc.play(). Any help would be greatly appreciated.

Thanks in advance
This topic has been closed for replies.

5 replies

kglad
Community Expert
Community Expert
April 12, 2007
you're welcome.
Participant
April 12, 2007
Ugggh, all it was a typo. I scanned the code over and over and found a single period where it wasn't supposed to be. Thanks.



kglad
Community Expert
Community Expert
April 12, 2007
then you're doing something wrong. show the relevent code.
Participant
April 12, 2007
I had thought of that and I am using a preloader. The swf is fully loaded and It still doesn't work.
kglad
Community Expert
Community Expert
April 12, 2007
you must wait until loading is complete (use preloader code or use the onLoadInit() method of the moviecliploader class listener) before trying to direct the loaded swf to its frame 50.