0

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.

Irwin
  • 12,551
  • 11
  • 67
  • 97

1 Answers1

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?

Community
  • 1
  • 1
Satish
  • 6,457
  • 8
  • 43
  • 63