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.
Asked
Active
Viewed 536 times
0

Irwin
- 12,551
- 11
- 67
- 97
1 Answers
0
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).
How to raise an event from a SWF in a SWFLoader to a parent Flex application?