<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/ --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:custom="*" layout="vertical" verticalAlign="middle" backgroundColor="white" viewSourceURL="srcview/index.html"> <custom:MyVideoDisplay id="myVideoDisplay" source="http://www.helpexamples.com/flash/video/cuepoints.flv" /> <mx:Button label="clear" click="myVideoDisplay.clear();" /> </mx:Application>