R – Flex – does anyone have an example of the use of the VideoDisplay control events


The Flex 3 docs are fairly basic. Can someone post a more complete example that uses the control's events? I'm still trying to get my head around ActionScript events.

Best Solution

You could find an interesting article concerning stateChange & playheadUpdate events on http://blog.flexexamples.com/2008/01/01/determining-a-videodisplay-controls-current-playback-state-using-the-state-property-and-statechange-event/

For a more complex example, take a look at the FXVideo component source code (in main unit FXVideo.as).

Related Question