topical media & game development

talk show tell print

flex-movie.mx

flex-movie.mx [swf] flex


  <?xml version="1.0"?>
  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
  paddingLeft="0" paddingTop="0" paddingBottom="0" paddingRight="0"
  layout="absolute">
  

display


  <mx:VideoDisplay id="myVid" height="100%" width="100%" source="explorer-controls-assets-phone.flv" autoPlay="false"/>
  

controls


  <mx:HBox right="100" bottom="10">
  <mx:Button borderColor="0" fillAlphas="[0, 0]" label="play" click="myVid.play();"/>
  <mx:Button borderColor="0" fillAlphas="[0, 0]" label="pause" click="myVid.pause();"/>
  <mx:Button borderColor="0" fillAlphas="[0, 0]" label="stop" click="myVid.stop();"/>
  <!--
  <mx:Button right="20" borderColor="0" fillAlphas="[0, 0]" label="camera" click="myVid.attachCamera(camera);"/>
  -->
  </mx:HBox>
  </mx:Application>
  


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.