starting and stopping nested swf loaded via loadMovie?

starting and stopping nested swf loaded via loadMovie?

Post by HIT4 » Fri, 23 Jan 2004 21:37:50


Hi everyone, got an application which does a loadMovie("flashfile.swf", targetMovieClipInstance) which all works fine. Only thing is that once the video has loaded, I cannot control it via the usual stop(), gotoAndPlay methods. Anyone any thoughts as this looked like it should be a straightforward targetMovieClipInstance.stop() etc etc?...but the movie keeps on playing.
I want to use loadMovie to keep the initial file size as small as possible.

thanks in advance

Dave.
 
 
 

starting and stopping nested swf loaded via loadMovie?

Post by HIT4 » Sat, 24 Jan 2004 20:26:53

sorted thanks....in the de *** the nested object appeared to be given a system generated reference in this case 'instance1' hence _level0.vid1HoldInst.instance1.gotoAndPlay(1) seemed to work. Not sure this is the ideal means of reference but hey, it works for now.