I have loaded an swf into a flex application. It's been made a source of an control.
I set the source of the image during the application's execution, upon setting the source, the movie plays, but I would like to know when it completes playing.
Thanks.
views:
235answers:
1
A:
If it's a VideoDisplay component, you can use complete event or isPlaying check to see if the video's still running.
It it's a compiled swf loaded via SWFLoader, the swf can fire events, that can be captured by the parent flex app (this requires you have the source to the child swf , if you need to add events if they do not exist).
Satish
2009-07-31 15:05:19