<mx:Script>
 <![CDATA[
 private function setLabel()
 iLabel.text = "nouveau texte";
 ]]>
 </mx:Script>
 <mx:Label id="iLabel" text="Label"/>
</mx:WindowedApplication>
LinkButton.
<?xml version="1.0"?>
<!-- Simple example to demonstrate the LinkButton control. -->
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
 <mx:Script>
 import mx.controls.Alert;
 </mx:Script>
 <mx:Panel title="LinkButton Control Example" 
 height="75%" width="75%" horizontalAlign="center"
 paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
 <mx:LinkButton label="LinkButton control" color="#0000FF" fontWeight="bold" 
 click="Alert.show('LinkButton selectionné!');"/>
 </mx:Panel>
</mx:WindowedApplication>
List.
<?xml version="1.0"?>
<!-- Simple example to demonstrate the List Control -->
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
 <mx:Script>
 <![CDATA[
 [Bindable]
 public var selectedItem:Object;
 </mx:Script>
 <mx:Model id="mystates">
 <states>
 <state label="Alabama" data="AL"/>
 <state label="Alaska" data="AK"/>
 <state label="Arizona" data="AZ"/>
 <state label="Arkansas" data="AR"/>
 <state label="California" data="CA"/>
 <state label="Colorado" data="CO"/>
 <state label="Connecticut" data="CT"/>
 </states>
 </mx:Model>
 <mx:Panel title="List Control Example" height="75%" width="75%" 
 paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
 <mx:List id="source" width="100%" color="blue"
 dataProvider="{mystates.state}"
 change="this.selectedItem=List(event.target).selectedItem"/>
 <mx:VBox width="100%">
 <mx:Label text="Selected State: {selectedItem.label}"/>
 <mx:Label text="State abbreviation: {selectedItem.data}"/>
 </mx:VBox>
 </mx:Panel>
</mx:WindowedApplication>
NumericStepper.
<?xml version="1.0"?>
<!-- Simple example to demonstrate the NumericStepper control. -->
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml">
 <mx:Panel title="NumericStepper Control Example" height="75%" width="75%" 
 paddingTop="10" paddingLeft="10">
 <mx:NumericStepper id="ns" 
 minimum="10.00" maximum="40.00" 
 stepSize="0.01" 
 value="20.00" 
 width="65"/>
 <mx:Label color="blue" text="Vous avez selectionné {ns.value}"/>
 </mx:Panel>
</mx:WindowedApplication>
OLAPDataGrid.
Un article sur les cube OLAP et cette méthode d'analyse multidimensionnelle :
http://www.journaldunet.com/solutions/0301/030108_olap.shtml
<?xml version="1.0"?>
<s: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"
 creationComplete="creationCompleteHandler();">
 <fx:Script>
 <![CDATA[
 import mx.rpc.AsyncResponder;
 import mx.rpc.AsyncToken;
 import mx.olap.OLAPQuery;
 import mx.olap.OLAPSet;
 import mx.olap.IOLAPQuery;
 import mx.olap.IOLAPQueryAxis;
 import mx.olap.IOLAPCube;
 import mx.olap.OLAPResult;
 import mx.events.CubeEvent;
 import mx.controls.Alert;
 import mx.collections.ArrayCollection;

// Format des Objects dans l'ArrayCollection:
 // data:Object = {
 // customer:"AAA", 
 // product:"ColdFusion",
 // quarter:"Q1"
 // revenue: "100.00" 
 //
 [Bindable]
 private var flatData:ArrayCollection = new ArrayCollection(
 {customer:"AAA", product:"ColdFusion", quarter:"Q1", revenue:210, cost:25},
 {customer:"AAA", product:"Flex", quarter:"Q2", revenue:210, cost:25},
 {customer:"AAA", product:"Dreamweaver", quarter:"Q3", revenue:250, cost:125},
 {customer:"AAA", product:"Flash", quarter:"Q4", revenue:430, cost:75},
 {customer:"BBB", product:"ColdFusion", quarter:"Q2", revenue:125, cost:20},
 {customer:"BBB", product:"Flex", quarter:"Q3", revenue:210, cost:20},
 {customer:"BBB", product:"Dreamweaver", quarter:"Q4", revenue:320, cost:120},
 {customer:"BBB", product:"Flash", quarter:"Q1", revenue:280, cost:70},
 {customer:"CCC", product:"ColdFusion", quarter:"Q3", revenue:375, cost:120},
 {customer:"CCC", product:"Flex", quarter:"Q4", revenue:430, cost:120},
 {customer:"CCC", product:"Dreamweaver", quarter:"Q1", revenue:470, cost:220},
 {customer:"CCC", product:"Flash", quarter:"Q2", revenue:570, cost:170},

private function creationCompleteHandler():void 
 // Vous devez initialiser le cube avant de pouvoir faire 
 // des requêtes dessus.
 myMXMLCube.refresh();

// Création de la requête OLAP.
 private function getQuery(cube:IOLAPCube):IOLAPQuery 
 // Creation d'une instance de OLAPQuery pour représenter la requête. 
 var query:OLAPQuery = new OLAPQuery;
 // Prend l'axe ligne de l'instance de la requête.
 var rowQueryAxis:IOLAPQueryAxis = 
 query.getAxis(OLAPQuery.ROW_AXIS);
 // Crée une instance d'OLAPSet pour configurer l'axe.
 var productSet:OLAPSet = new OLAPSet;
 // Ajoute le "Product" à la ligne pour agréger les données 
 // de la dimension "Product".
 productSet.addElements(
 cube.findDimension("ProductDim").findAttribute("Product").children);
 // Ajoute l'instance OLAPSet à l'axe.
 rowQueryAxis.addSet(productSet);
 // Prend l'axe colonne de l'instance de la requête, et le configure
 // pour aggreger les colonnes de la dimension "Quarter". 
 var colQueryAxis:IOLAPQueryAxis = 
 query.getAxis(OLAPQuery.COLUMN_AXIS); 
 var quarterSet:OLAPSet= new OLAPSet;
 quarterSet.addElements(
 cube.findDimension("QuarterDim").findAttribute("Quarter").children);
 colQueryAxis.addSet(quarterSet);
 return query;

// Event handler pour executer la requête OLAP 
 // après l'initialisation du cube.
 private function runQuery(event:CubeEvent):void 
 // Prend le cube.
 var cube:IOLAPCube = IOLAPCube(event.currentTarget);
 // Crée une instance de requête.
 var query:IOLAPQuery = getQuery(cube);
 // Execute la requête.
 var token:AsyncToken = cube.execute(query);
 // Setup des handlers pour les resultats de requête.
 token.addResponder(new AsyncResponder(showResult, showFault));

// Tiend une erreur de requête.
 private function showFault(result:Object, token:Object):void 
 Alert.show("Error in query.");

// Tiend une requête réussie en passant les résultats de requête au 
 // OLAPDataGrid control..
 private function showResult(result:Object, token:Object):void 
 if (!result) 
 Alert.show("No results from query.");
 return;
 myOLAPDG.dataProvider= result as OLAPResult; 
 ]]>
 </fx:Script>
 <fx:Declarations>
 <mx:OLAPCube name="FlatSchemaCube" dataProvider="{flatData}" id="myMXMLCube" complete="runQuery(event);">
 <mx:OLAPDimension name="CustomerDim">
 <mx:OLAPAttribute name="Customer" dataField="customer"/>
 <mx:OLAPHierarchy name="CustomerHier" hasAll="true">
 <mx:OLAPLevel attributeName="Customer"/>
 </mx:OLAPHierarchy>
 </mx:OLAPDimension>
 <mx:OLAPDimension name="ProductDim">
 <mx:OLAPAttribute name="Product" dataField="product"/>
 <mx:OLAPHierarchy name="ProductHier" hasAll="true">
 <mx:OLAPLevel attributeName="Product"/>
 </mx:OLAPHierarchy>
 </mx:OLAPDimension>
 <mx:OLAPDimension name="QuarterDim">
 <mx:OLAPAttribute name="Quarter" dataField="quarter"/>
 <mx:OLAPHierarchy name="QuarterHier" hasAll="true">
 <mx:OLAPLevel attributeName="Quarter"/>
 </mx:OLAPHierarchy> 
 </mx:OLAPDimension>
 <mx:OLAPMeasure name="Revenue" dataField="revenue" aggregator="SUM"/>
 </mx:OLAPCube>
 </fx:Declarations>
 <mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%"/>
</s:WindowedApplication>
PopUpButton.
<?xml version="1.0"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="creationCompleteHandler(event)">
 <mx:Script>
 <![CDATA[
 import mx.collections.XMLListCollection;
 import mx.controls.Menu;
 private var menu:Menu = new Menu();
 private var xmlList:XMLList = XMLList('<item label="ActionScript">
 <item label="Classe"/>
 <item label="Interface"/>
 </item>
 <item label="MXML">
 <item label="Application"/>
 <item label="Component"/>
 </item>');
 private function creationCompleteHandler(event:Event):void{
 menu.dataProvider = new XMLListCollection(xmlList);
 menu.labelField = "@label";
 popUpButton.popUp = menu