all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

detect end of loaded movie


detect end of loaded movie Leo D.
11/2/2004 10:56:07 PM
flash actionscript:
Need a way to detect the end of a loaded MC (using loadMovie) so after all the frames of the loaded movie are complete, the main movie will go to the next scene.

Re: detect end of loaded movie Leo D.
11/2/2004 11:20:42 PM
Re: detect end of loaded movie Rothrock
11/2/2004 11:48:17 PM
Re: detect end of loaded movie Rothrock
11/2/2004 11:49:45 PM
Re: detect end of loaded movie Leo D.
11/3/2004 5:41:28 PM
I am looking at the MovieClipLoader class but it seems the listeners I could
use are based on bytes loaded as opposed to frames played or completed. The
clip I am loading is an SWF made from Swish so I can't code it to recognize the
parent timeline. I am open to new ideas.
Re: detect end of loaded movie Rothrock
11/3/2004 7:00:26 PM
I misunderstood your initial question. I'm sorry, but I don't know how to tell
if a swf has finished playing. I though you wanted to know how to tell when the
frames had finished loading![p]Perhaps you can use _totalframes and
_currentframe?
AddThis Social Bookmark Button