<mx:Panel title="VideoDisplay Control Example" height="75%" width="75%" 
 horizontalAlign="center" 
 paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
 <mx:VideoDisplay id="myVid" height="158" width="211" source="assets/phone.flv" autoPlay="false" 
 playheadUpdateInterval="150" bufferTime="1" idleTimeout="120000" 
 playheadUpdate="trace('headUpdated')" stateChange="trace('stateChanged')" 
 progress="trace('progressDownload')" metadataReceived="trace('onMetadata')"/>
 <mx:HBox>
 <mx:Button label="Play" click="myVid.play();"/>
 <mx:Button label="Pause" click="myVid.pause();"/>
 <mx:Button label="Stop" click="myVid.stop();"/>
 </mx:HBox>
 </mx:Panel>
</mx:WindowedApplication>
VideoPlayer.
<?xml version="1.0"?>
<mx:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 xmlns:s="library://ns.adobe.com/flex/spark"
 xmlns:mx="library://ns.adobe.com/flex/mx"
 <mx:Style source="/assets/skins/shadow.css" />
 <mx:VBox>
 <rf:VideoPlayer id="player" autoPlay="true" 
 url="video/Honey_Honey_-_Little_Toy_Gun.flv" /> 
 </mx:VBox>
</mx:WindowedApplication>
VScrollBar.
<?xml version="1.0"?>
<mx:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 xmlns:s="library://ns.adobe.com/flex/spark"
 xmlns:mx="library://ns.adobe.com/flex/mx"
 <mx:Script>
 <![CDATA[
 import mx.events.ScrollEvent;
 // Event handler function to display the scroll location
 // as you move the scroll thumb.
 private function myScroll(event:ScrollEvent):void
 showPosition.text = "VScrollBar properties summary:" + '\n' +
 "------------------------------------" + '\n' +
 "Current scroll position: " + event.currentTarget.scrollPosition + '\n' +
 "The maximum scroll position: " + event.currentTarget.maxScrollPosition + '\n' +
 "The minimum scroll position: " + event.currentTarget.minScrollPosition ;
 ]]>
 </mx:Script> 
 <mx:Panel id="panel" title="Exemple : Controle VScrollBar" height="75%" width="75%" 
 paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
 <mx:Label width="100%" color="blue" 
 text="Cliquez sur la scroll bar pour voir ses propriétés."/>
 <mx:VScrollBar id="bar" height="100%" 
 minScrollPosition="0" maxScrollPosition="{panel.width - 20}"
 lineScrollSize="50" pageScrollSize="100" 
 repeatDelay="1000" repeatInterval="500" 
 scroll="myScroll(event);"/>
 <mx:TextArea height="100%" width="100%" id="showPosition" color="blue"/>
 </mx:Panel> 
</mx:WindowedApplication>
VSlider.
<?xml version="1.0"?>
<mx:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 xmlns:s="library://ns.adobe.com/flex/spark"
 xmlns:mx="library://ns.adobe.com/flex/mx"
 <mx:Script>
 <![CDATA[
 private var imageWidth:Number=0;
 private var imageHeight:Number=0;
 // Event handler function to change the image size.
 private function changeSize():void
 phoneImage.width=uint(imageWidth*hSlider.value/100);
 phoneImage.height=uint(imageHeight*hSlider.value/100);
 ]]>
 </mx:Script>
 <mx:Panel id="panel" title="VSlider Control Example" 
 height="100%" width="100%" 
 layout="horizontal"
 paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
 <mx:HBox width="50%">
 <mx:Image id="phoneImage" source="@Embed('assets/Nokia_6630.png')" 
 creationComplete="imageWidth=phoneImage.width; imageHeight=phoneImage.height;" />
 </mx:HBox>
 <mx:VBox horizontalAlign="center">
 <mx:Label color="blue" text="Déplacer le slider pour redimensionner l'image."/>
 <mx:VSlider id="hSlider" 
 dataTipPlacement="top" 
 minimum="0" maximum="100" value="100" 
 tickColor="black" 
 snapInterval="1" tickInterval="10" 
 labels="['0%','100%']" 
 allowTrackClick="true" 
 liveDragging="true" 
 change="changeSize();"/>
 </mx:VBox>
 </mx:Panel>
</mx:WindowedApplication>

Programmer en R/Manipuler un tableau de données