You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/08/08 11:54:43 UTC

[2/3] Updated name spaces to more modern ones

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
index 0c5ec31..c318597 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleImageVSlider.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the VSlider control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
    
           private var imageWidth:Number=0;
@@ -32,7 +32,7 @@
 	         logo.height=uint(imageHeight*hSlider.value/100);
 	      }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
         <mx:Panel id="panel" title="VSlider Control Example" 
             height="100%" width="100%" 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
index bdd5ee1..7185f2a 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleList.mxml
@@ -17,28 +17,30 @@
   -->
 
 <!-- Simple example to demonstrate the List Control -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx: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>
-
+    </fx:Script>
+
+
+	<fx:Declarations>
+	    <fx: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>
+	    </fx:Model>
+	</fx:Declarations>
+	
     <mx:Panel title="List Control Example" height="75%" width="75%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
index 272c633..dfc26fa 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleLoader.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the SWFLoader control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel title="SWFLoader Control Example"  height="90%" width="90%"
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
index b31f34a..db10191 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleMenuExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Menu control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
        
             import mx.controls.Menu;
@@ -49,14 +49,16 @@
                 Alert.show("Label: " + event.item.@label, "Clicked menu item");
             }    
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:XML id="myMenuData">
-        <root>
-            <menuitem label="MenuItem 1" eventName="copy"/>
-            <menuitem label="MenuItem 2" eventName="paste"/>
-        </root>
-    </mx:XML>
+	<fx:Declarations>
+	    <fx:XML id="myMenuData">
+	        <root>
+	            <menuitem label="MenuItem 1" eventName="copy"/>
+	            <menuitem label="MenuItem 2" eventName="paste"/>
+	        </root>
+	    </fx:XML>
+	</fx:Declarations>	
 
     <mx:Panel id="panel" title="Menu Control Example" height="75%" width="75%" 
         paddingTop="10" paddingLeft="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
index 08835a6..58a3773 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleProgressBar.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the ProgressBar control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
            
           private var j:uint=10;
@@ -40,7 +40,7 @@
               }
           }
         ]]>    
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="ProgressBar Control Example" height="75%" width="75%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml b/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
index 4da4e53..2c00f4a 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SimpleVRule.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the VRule control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
    <mx:Panel title="VRule Control Example" id="myPanel" horizontalAlign="center" 
        paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
index 3a1b401..bd41a15 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/SpacerExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the Spacer control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel id="panel" title="Spacer Control Example" height="75%" width="75%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
index bd8f44e..fdb9dd5 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TabBarExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the TabBar control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             import mx.events.ItemClickEvent;
@@ -39,7 +39,7 @@
     				targetComp.dataProvider[event.index].data;
     		}	            
        ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="TabBar Control Example" height="75%" width="75%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
index 37b6860..5d1729e 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextAreaExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the TextArea control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel title="TextArea Control Example" height="75%" width="75%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
index 73fe1a7..93c6df1 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the Text control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel title="Text Control Example" height="75%" width="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
index 198f29c..d881eef 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TextInputExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the TextInput control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel title="TextInput Control Example" height="75%" width="75%" 
         paddingTop="10" paddingLeft="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
index 4eea657..669f730 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TileListExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the TileList Control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
              
              [Bindable]
@@ -42,7 +42,7 @@
 	         [Embed(source="assets/ApacheFlexLogo.png")]
              public var logo5:Class;
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="TileList Control Example" height="100%" width="100%" 
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
@@ -53,13 +53,13 @@
         <mx:TileList id="CameraSelection" height="250" width="300" 
             maxColumns="2" rowHeight="225" columnWidth="125">
             <mx:dataProvider>
-                <mx:Array>
-                    <mx:Object label="Logo 1" icon="{logo1}"/>
-                    <mx:Object label="Logo 2" icon="{logo2}"/>
-                    <mx:Object label="Logo 3" icon="{logo3}"/>
-                    <mx:Object label="Logo 4" icon="{logo4}"/>
-                    <mx:Object label="Logo 5" icon="{logo5}"/>
-                </mx:Array>
+                <fx:Array>
+                    <fx:Object label="Logo 1" icon="{logo1}"/>
+                    <fx:Object label="Logo 2" icon="{logo2}"/>
+                    <fx:Object label="Logo 3" icon="{logo3}"/>
+                    <fx:Object label="Logo 4" icon="{logo4}"/>
+                    <fx:Object label="Logo 5" icon="{logo5}"/>
+                </fx:Array>
             </mx:dataProvider>
         </mx:TileList>
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
index 4fa686e..762abee 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/ToggleButtonBarExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the ToggleButtonBar control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             import mx.events.ItemClickEvent;
@@ -31,7 +31,7 @@
     		        "\n" + "Selected button label: " + event.label;
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="ToggleButtonBar Control Example" height="75%" width="75%"
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
@@ -43,12 +43,12 @@
 
         <mx:ToggleButtonBar itemClick="clickHandler(event);">
             <mx:dataProvider>
-                <mx:Array>
-                    <mx:String>Flex SDK</mx:String>
-                    <mx:String>Flex JS</mx:String>
-                    <mx:String>Falcon</mx:String>
-                    <mx:String>Falcon JX</mx:String>
-                </mx:Array>
+                <fx:Array>
+                    <fx:String>Flex SDK</fx:String>
+                    <fx:String>Flex JS</fx:String>
+                    <fx:String>Falcon</fx:String>
+                    <fx:String>Falcon JX</fx:String>
+                </fx:Array>
             </mx:dataProvider>
         </mx:ToggleButtonBar>
     </mx:Panel>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
index 15848ad..95aeb61 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/TreeExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Tree control example. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             [Bindable]
@@ -30,23 +30,25 @@
                 selectedNode=Tree(event.target).selectedItem as XML;
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:XMLList id="treeData">
-	    <node label="Mail Box">
-	        <node label="Inbox">
-	            <node label="Marketing"/>
-	            <node label="Product Management"/>
-	            <node label="Personal"/>
-	        </node>
-	        <node label="Outbox">
-	            <node label="Professional"/>
-	            <node label="Personal"/>
-	        </node>
-	        <node label="Spam"/>
-	        <node label="Sent"/>
-		</node>	
-    </mx:XMLList>
+	<fx:Declarations>
+	    <fx:XMLList id="treeData">
+		    <node label="Mail Box">
+		        <node label="Inbox">
+		            <node label="Marketing"/>
+		            <node label="Product Management"/>
+		            <node label="Personal"/>
+		        </node>
+		        <node label="Outbox">
+		            <node label="Professional"/>
+		            <node label="Personal"/>
+		        </node>
+		        <node label="Spam"/>
+		        <node label="Sent"/>
+			</node>	
+	    </fx:XMLList>
+	</fx:Declarations>
 
     <mx:Panel title="Tree Control Example" height="75%" width="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
index 4b03686..05709b4 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/VScrollBarExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the VScrollBar control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
  
-     <mx:Script>
+     <fx:Script>
         <![CDATA[
     
             import mx.events.ScrollEvent;
@@ -35,7 +35,7 @@
                     "The minimum scroll position: " + event.currentTarget.minScrollPosition ;
             }
         ]]>
-    </mx:Script> 
+    </fx:Script> 
   
     <mx:Panel id="panel" title="VScrollBar Control Example" height="75%" width="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml b/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
index aab6662..2aca4b0 100755
--- a/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/controls/VideoDisplayExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the VideoDisplay control. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <mx:Panel title="VideoDisplay Control Example" height="75%" width="75%" 
         horizontalAlign="center" 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml b/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
index c6be9e6..2649e9d 100755
--- a/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/core/RepeaterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Repeater class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 		
 		    import mx.controls.Alert;
@@ -28,7 +28,7 @@
 			private var dp:Array = [1, 2, 3, 4, 5, 6, 7, 8, 9];    
 			
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="Repeater Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
index 4521efc..ebddd36 100755
--- a/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
@@ -18,12 +18,12 @@
 
 <!-- Simple example to demonstrate the Application container. -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
     backgroundColor="0xCCCCCC"
     horizontalAlign="center" verticalAlign="middle"
     applicationComplete="appComplete();">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             
             // Event handlers for the components.
@@ -39,7 +39,7 @@
                 myTA.text+="\n" + "TextArea creation complete" + "\n";
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:ApplicationControlBar dock="true">
         <mx:Button label="Set Grey Solid Fill" 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
index bd3630e..38617de 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/AddItemActionEffectExample.mxml
@@ -16,9 +16,9 @@
       limitations under the License.
   -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.effects.easing.Elastic;
             import mx.collections.ArrayCollection;
@@ -45,33 +45,35 @@
                 myDP.addItemAt("Z"+zcount++,Math.min(3,myDP.length));
             }                        
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <!-- Define a custom data effect as a Sequence effect. -->
-    <mx:Sequence id="itemsChangeEffect1">
-        <mx:Blur 
-            blurYTo="12" blurXTo="12" 
-            duration="300" 
-            perElementOffset="150"
-            filter="removeItem"/>
-        <mx:Parallel>
-            <mx:Move 
-                duration="750" 
-                easingFunction="{Elastic.easeOut}" 
-                perElementOffset="20"/>
-            <mx:RemoveItemAction 
-                startDelay="400" 
-                filter="removeItem"/>
-            <mx:AddItemAction  
-                startDelay="400" 
-                filter="addItem"/>
-            <mx:Blur 
-                startDelay="410" 
-                blurXFrom="18" blurYFrom="18" blurXTo="0" blurYTo="0" 
-                duration="300" 
-                filter="addItem"/>
-        </mx:Parallel>
-    </mx:Sequence>        
+	<fx:Declarations>
+	    <!-- Define a custom data effect as a Sequence effect. -->
+	    <mx:Sequence id="itemsChangeEffect1">
+	        <mx:Blur 
+	            blurYTo="12" blurXTo="12" 
+	            duration="300" 
+	            perElementOffset="150"
+	            filter="removeItem"/>
+	        <mx:Parallel>
+	            <mx:Move 
+	                duration="750" 
+	                easingFunction="{Elastic.easeOut}" 
+	                perElementOffset="20"/>
+	            <mx:RemoveItemAction 
+	                startDelay="400" 
+	                filter="removeItem"/>
+	            <mx:AddItemAction  
+	                startDelay="400" 
+	                filter="addItem"/>
+	            <mx:Blur 
+	                startDelay="410" 
+	                blurXFrom="18" blurYFrom="18" blurXTo="0" blurYTo="0" 
+	                duration="300" 
+	                filter="addItem"/>
+	        </mx:Parallel>
+	    </mx:Sequence>   
+	</fx:Declarations>
 
     <mx:Panel title="AddItemEffect/RemoveItemEffect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
index 31e33d2..2784460 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/AnimatePropertyEffectExample.mxml
@@ -17,12 +17,14 @@
   -->
 
 <!-- Simple example to demonstrate the AnimateProperty effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
-
-    <mx:Sequence id="animateScaleXUpDown" >
-        <mx:AnimateProperty property="scaleX" fromValue="1" toValue="1.5" duration="1000" />
-        <mx:AnimateProperty property="scaleX" fromValue="1.5" toValue="1" duration="1000" />	
-    </mx:Sequence>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+	<fx:Declarations>
+	    <mx:Sequence id="animateScaleXUpDown" >
+	        <mx:AnimateProperty property="scaleX" fromValue="1" toValue="1.5" duration="1000" />
+	        <mx:AnimateProperty property="scaleX" fromValue="1.5" toValue="1" duration="1000" />	
+	    </mx:Sequence>
+	</fx:Declarations>
 
     <mx:Panel title="AnimateProperty Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
index 5d7638e..b9bbff7 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/BlurEffectExample.mxml
@@ -17,14 +17,16 @@
   -->
 
 <!-- Simple example to demonstrate the Blur effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
-
-    <mx:Blur id="blurImage" duration="1000" 
-        blurXFrom="0.0" blurXTo="10.0" 
-        blurYFrom="0.0" blurYTo="10.0"/>
-    <mx:Blur id="unblurImage" duration="1000" 
-        blurXFrom="10.0" blurXTo="0.0" 
-        blurYFrom="10.0" blurYTo="0.0"/>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+	<fx:Declarations>
+	    <mx:Blur id="blurImage" duration="1000" 
+	        blurXFrom="0.0" blurXTo="10.0" 
+	        blurYFrom="0.0" blurYTo="10.0"/>
+	    <mx:Blur id="unblurImage" duration="1000" 
+	        blurXFrom="10.0" blurXTo="0.0" 
+	        blurYFrom="10.0" blurYTo="0.0"/>
+	</fx:Declarations>
 
     <mx:Panel title="Blur Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
index ff2f605..aeadeed 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/CompositeEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Composite effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
     	import mx.effects.Move;
@@ -66,7 +66,7 @@
             parallelAB.play();
         }
         ]]>
-    </mx:Script>
+    </fx:Script>
     
     <mx:Panel title="Composite Effect" width="75%" height="75%">
     <mx:Canvas id="canvas" width="100%" height="100%">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
index 9ddd160..c12a994 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/DefaultListEffectExample.mxml
@@ -16,9 +16,9 @@
       limitations under the License.
   -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.effects.DefaultListEffect;
             import mx.collections.ArrayCollection;
@@ -45,13 +45,15 @@
                 myDP.addItemAt("Z"+zcount++,Math.min(3,myDP.length));
             }            
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <!-- Define an instance of the DefaultListEffect effect, 
-         and set its fadeOutDuration and color properties. -->
-    <mx:DefaultListEffect id="myDLE" 
-        fadeOutDuration="1000" 
-        color="0x0000ff"/>
+	<fx:Declarations>
+	    <!-- Define an instance of the DefaultListEffect effect, 
+	         and set its fadeOutDuration and color properties. -->
+	    <mx:DefaultListEffect id="myDLE" 
+	        fadeOutDuration="1000" 
+	        color="0x0000ff"/>
+	</fx:Declarations>
 
     <mx:Panel title="DefaultListEffect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
index d76ed29..1a2dc73 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/DefaultTileListEffectExample.mxml
@@ -16,9 +16,9 @@
       limitations under the License.
   -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.effects.DefaultTileListEffect;
             import mx.effects.easing.Elastic;
@@ -45,13 +45,15 @@
                 myDP.addItemAt("Z"+zcount++,Math.min(2,myDP.length));
             }            
         ]]>
-    </mx:Script>
+    </fx:Script>
     
-    <!-- Define an instance of the DefaultTileListEffect effect, 
-         and set its moveDuration and color properties. -->
-    <mx:DefaultTileListEffect id="myDTLE" 
-        moveDuration="100" 
-        color="0x0000ff"/>
+	<fx:Declarations>
+	    <!-- Define an instance of the DefaultTileListEffect effect, 
+	         and set its moveDuration and color properties. -->
+	    <mx:DefaultTileListEffect id="myDTLE" 
+	        moveDuration="100" 
+	        color="0x0000ff"/>
+	</fx:Declarations>
 
     <mx:Panel title="DefaultTileListEffect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
index f116b6a..5e40c20 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/DissolveEffectExample.mxml
@@ -17,11 +17,13 @@
   -->
 
 <!-- Simple example to demonstrate the Dissolve effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
-
-    <mx:Dissolve id="dissolveOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
-    <mx:Dissolve id="dissolveIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
+	<fx:Declarations>
+	    <mx:Dissolve id="dissolveOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
+	    <mx:Dissolve id="dissolveIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+	</fx:Declarations>
+	
     <mx:Panel title="Dissolve Effect Example" 
         width="95%" height="95%" layout="horizontal" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
index e75e8c5..7e5c5b9 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/FadeEffectExample.mxml
@@ -17,18 +17,20 @@
   -->
 
 <!-- Simple example to demonstrate the Fade effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 	
-	<mx:Style>
+	<fx:Style>
 	     @font-face {
 	        src:url("./assets/OpenSans-Regular.ttf");
 	        fontFamily: OpenSans;
 			embedAsCFF: false;
 	     }    
-	</mx:Style>
+	</fx:Style>
     
-    <mx:Fade id="fadeOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
-    <mx:Fade id="fadeIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+	<fx:Declarations>
+    	<mx:Fade id="fadeOut" duration="1000" alphaFrom="1.0" alphaTo="0.0"/>
+    	<mx:Fade id="fadeIn" duration="1000" alphaFrom="0.0" alphaTo="1.0"/>
+	</fx:Declarations>
 
     <mx:Panel title="Fade Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
index 0d5fc75..f35b5f9 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/GlowEffectExample.mxml
@@ -17,18 +17,20 @@
   -->
 
 <!-- Simple example to demonstrate the Glow effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Glow id="glowImage" duration="1000" 
-        alphaFrom="1.0" alphaTo="0.3" 
-        blurXFrom="0.0" blurXTo="50.0" 
-        blurYFrom="0.0" blurYTo="50.0" 
-        color="0x00FF00"/>
-    <mx:Glow id="unglowImage" duration="1000" 
-        alphaFrom="0.3" alphaTo="1.0" 
-        blurXFrom="50.0" blurXTo="0.0" 
-        blurYFrom="50.0" blurYTo="0.0" 
-        color="0x0000FF"/>
+	<fx:Declarations>
+	    <mx:Glow id="glowImage" duration="1000" 
+	        alphaFrom="1.0" alphaTo="0.3" 
+	        blurXFrom="0.0" blurXTo="50.0" 
+	        blurYFrom="0.0" blurYTo="50.0" 
+	        color="0x00FF00"/>
+	    <mx:Glow id="unglowImage" duration="1000" 
+	        alphaFrom="0.3" alphaTo="1.0" 
+	        blurXFrom="50.0" blurXTo="0.0" 
+	        blurYFrom="50.0" blurYTo="0.0" 
+	        color="0x0000FF"/>
+	</fx:Declarations>
 
     <mx:Panel title="Glow Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
index b279258..4189810 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/IrisEffectExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the Iris effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Iris id="irisOut" duration="1000" showTarget="true"/>
-    <mx:Iris id="irisIn" duration="1000" showTarget="false"/>
+	<fx:Declarations>
+    	<mx:Iris id="irisOut" duration="1000" showTarget="true"/>
+    	<mx:Iris id="irisIn" duration="1000" showTarget="false"/>
+	</fx:Declarations>
 
     <mx:Panel title="Iris Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
index 4dec64c..5916c10 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/MoveEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Move effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             private function moveImage():void {
@@ -28,9 +28,11 @@
                 myMove.play();
             }
       ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:Move id="myMove" target="{img}"/>
+	<fx:Declarations>
+    	<mx:Move id="myMove" target="{img}"/>
+	</fx:Declarations>
 
     <mx:Panel title="Move Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
index 43af56f..e27f143 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/ParallelEffectExample.mxml
@@ -17,17 +17,19 @@
   -->
 
 <!-- Simple example to demonstrate the Parallel effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
-
-   <mx:Parallel id="expand" target="{img}">
-        <mx:Move xTo="{canvas.width/2 - 50}" yTo="{canvas.height/2 - 100}"/>
-        <mx:Resize widthTo="100" heightTo="200"/>
-    </mx:Parallel>
-
-    <mx:Parallel id="contract" target="{img}">
-        <mx:Move xTo="20" yTo="20"/>
-        <mx:Resize widthTo="30" heightTo="60"/>
-    </mx:Parallel>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+	<fx:Declarations>
+	   <mx:Parallel id="expand" target="{img}">
+	        <mx:Move xTo="{canvas.width/2 - 50}" yTo="{canvas.height/2 - 100}"/>
+	        <mx:Resize widthTo="100" heightTo="200"/>
+	    </mx:Parallel>
+	
+	    <mx:Parallel id="contract" target="{img}">
+	        <mx:Move xTo="20" yTo="20"/>
+	        <mx:Resize widthTo="30" heightTo="60"/>
+	    </mx:Parallel>
+	</fx:Declarations>
 
     <mx:Panel title="Parallel Effect Example" width="100%" height="100%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
index 81e5cf6..ba99162 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/PauseEffectExample.mxml
@@ -17,19 +17,21 @@
   -->
 
 <!-- Simple example to demonstrate the Pause effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.effects.easing.*;                   
         ]]>
-    </mx:Script>
-
-    <mx:Sequence id="movePauseMove">
-        <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
-        <mx:Pause duration="2000"/>
-        <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
-    </mx:Sequence>
+    </fx:Script>
+
+	<fx:Declarations>
+	    <mx:Sequence id="movePauseMove">
+	        <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
+	        <mx:Pause duration="2000"/>
+	        <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
+	    </mx:Sequence>
+	</fx:Declarations>
 
     <mx:Panel title="Pause Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
index c92ed03..5be967d 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/ResizeEffectExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the Resize effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"/>
-    <mx:Resize id="contract" target="{img}" widthTo="30" heightTo="60"/>
+	<fx:Declarations>
+   		<mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"/>
+    	<mx:Resize id="contract" target="{img}" widthTo="30" heightTo="60"/>
+	</fx:Declarations>
 
     <mx:Panel title="Resize Effect Example" width="100%" height="100%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
index 4c251d8..4f1ad6b 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/RotateEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Rotate effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             [Bindable]
             public var angle:int=0;
@@ -30,17 +30,19 @@
                 rotate.play();
             }
       ]]>
-    </mx:Script>
+    </fx:Script>
 
-	<mx:Style>
+	<fx:Style>
 	     @font-face {
 	        src:url("./assets/OpenSans-Regular.ttf");
 	        fontFamily: OpenSans;
 			embedAsCFF: false;
 	     }    
-	</mx:Style>
+	</fx:Style>
 
-    <mx:Rotate id="rotate" angleFrom="{angle-45}" angleTo="{angle}" target="{myVB}"/>
+	<fx:Declarations>
+    	<mx:Rotate id="rotate" angleFrom="{angle-45}" angleTo="{angle}" target="{myVB}"/>
+	</fx:Declarations>
 
     <mx:Panel title="Rotate Effect Example" horizontalAlign="center" 
         width="75%" height="75%" layout="horizontal"

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
index e8ee139..7875edf 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/SequenceEffectExample.mxml
@@ -17,19 +17,21 @@
   -->
 
 <!-- Simple example to demonstrate the Sequence effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.effects.easing.*;                   
         ]]>
-    </mx:Script>
-
-    <mx:Sequence id="movePauseMove">
-        <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
-        <mx:Pause duration="2000"/>
-        <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
-    </mx:Sequence>
+    </fx:Script>
+
+	<fx:Declarations>
+	    <mx:Sequence id="movePauseMove">
+	        <mx:Move xBy="150" duration="2000" easingFunction="Bounce.easeOut"/>
+	        <mx:Pause duration="2000"/>
+	        <mx:Move xBy="-150" duration="2000" easingFunction="Bounce.easeIn"/>
+	    </mx:Sequence>
+	</fx:Declarations>
 
     <mx:Panel title="Sequence Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
index 58c6063..74dbd5e 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/SimpleEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Effect class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             import mx.controls.Alert;
@@ -37,11 +37,13 @@
                 button1.enabled=true;
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
 
-    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200" 
-        duration="10000" effectEnd="endEffectHandler();"/>
+	<fx:Declarations>
+	    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200" 
+	        duration="10000" effectEnd="endEffectHandler();"/>
+	</fx:Declarations>
 
     <mx:Panel title="Resize Effect Example" width="100%" height="100%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
index 39f04d7..28537f6 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/SimpleTweenEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the TweenEffect class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
         
             import mx.events.TweenEvent;
@@ -39,12 +39,14 @@
                 button1.enabled=true;
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200" 
-        duration="10000" 
-        tweenUpdate="tweenUpdateHandler(event);" 
-        tweenEnd="tweenUpdateHandler(event);"/>
+	<fx:Declarations>
+	    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200" 
+	        duration="10000" 
+	        tweenUpdate="tweenUpdateHandler(event);" 
+	        tweenEnd="tweenUpdateHandler(event);"/>
+	</fx:Declarations>
 
     <mx:Panel title="Resize Effect Example" width="100%" height="100%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
index 99ff532..ddfbdd3 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/SoundEffectExample.mxml
@@ -17,9 +17,11 @@
   -->
 
 <!-- Simple example to demonstrate the SoundEffect effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:SoundEffect id="mySounds" source="@Embed(source='./assets/ping.mp3')"/>
+	<fx:Declarations>
+    	<mx:SoundEffect id="mySounds" source="@Embed(source='./assets/ping.mp3')"/>
+	</fx:Declarations>
 
     <mx:Panel title="Sound Effect Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
index 8107dbb..428ab66 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeDownExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the WipeDown effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:WipeDown id="wipeOut" duration="1000"/>
-    <mx:WipeDown id="wipeIn" duration="1000"/>
+	<fx:Declarations>
+	    <mx:WipeDown id="wipeOut" duration="1000"/>
+	    <mx:WipeDown id="wipeIn" duration="1000"/>
+	</fx:Declarations>
 
     <mx:Panel title="WipeDown Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
index c571ab3..7bf2a1f 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeLeftExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the WipeLeft effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:WipeLeft id="wipeOut" duration="1000"/>
-    <mx:WipeLeft id="wipeIn" duration="1000"/>
+	<fx:Declarations>
+    	<mx:WipeLeft id="wipeOut" duration="1000"/>
+    	<mx:WipeLeft id="wipeIn" duration="1000"/>
+	</fx:Declarations>
 
     <mx:Panel title="WipeLeft Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
index 96b4d59..8469791 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeRightExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the WipeRight effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:WipeRight id="wipeOut" duration="1000"/>
-    <mx:WipeRight id="wipeIn" duration="1000"/>
+	<fx:Declarations>
+    	<mx:WipeRight id="wipeOut" duration="1000"/>
+    	<mx:WipeRight id="wipeIn" duration="1000"/>
+	</fx:Declarations>
 
     <mx:Panel title="WipeRight Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
index aa10fb8..086fb1d 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/WipeUpExample.mxml
@@ -17,10 +17,12 @@
   -->
 
 <!-- Simple example to demonstrate the WipeUp effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:WipeUp id="wipeOut" duration="1000"/>
-    <mx:WipeUp id="wipeIn" duration="1000"/>
+	<fx:Declarations>
+    	<mx:WipeUp id="wipeOut" duration="1000"/>
+    	<mx:WipeUp id="wipeIn" duration="1000"/>
+	</fx:Declarations>
 
     <mx:Panel title="WipeUp Effect Example" width="95%" height="95%" 
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml b/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
index 1d4d10d..5183a59 100755
--- a/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/effects/ZoomEffectExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Zoom effect. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[		
             import flash.events.MouseEvent;
 		
@@ -34,9 +34,11 @@
                 }
             }
         ]]>	
-    </mx:Script>
+    </fx:Script>
 
-    <mx:Zoom id="zoomAll" zoomWidthTo="1" zoomHeightTo="1" zoomWidthFrom=".5" zoomHeightFrom=".5"  />
+	<fx:Declarations>
+   		<mx:Zoom id="zoomAll" zoomWidthTo="1" zoomHeightTo="1" zoomWidthFrom=".5" zoomHeightFrom=".5"  />
+	</fx:Declarations>
 	
     <mx:Panel title="Zoom Effect Example" width="95%" height="95%" horizontalAlign="center"
         paddingTop="5" paddingLeft="10" paddingRight="10" paddingBottom="5">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/explorer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.mxml b/TourDeFlex/TourDeFlex3/src/explorer.mxml
index b26da62..e0e7516 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.mxml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.mxml
@@ -16,11 +16,11 @@
       limitations under the License.
   -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:explorer="*"
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:explorer="*"
     width="100%" height="100%" pageTitle="{TITLE}"
     initialize="sdk.send()" layout="vertical">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 			
 		static protected const VERSION:String = "1.0";	
@@ -59,14 +59,16 @@
             compLibTree.dataProvider = explorerTree;
         }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:XML id="explorerTree"/>
+	<fx:Declarations>
+    	<fx:XML id="explorerTree"/>
 
-    <mx:HTTPService id="sdk" url="explorer.xml" resultFormat="e4x" result="sdkLoaded()" />
-
-    <mx:HTTPService id="charts" url="charts_explorer.xml" resultFormat="e4x" result="chartsLoaded()" fault="populateTree()" />
+   		<mx:HTTPService id="sdk" url="explorer.xml" resultFormat="e4x" result="sdkLoaded()" />
 
+    	<mx:HTTPService id="charts" url="charts_explorer.xml" resultFormat="e4x" result="chartsLoaded()" fault="populateTree()" />
+	</fx:Declarations>
+	
 	<mx:HBox width="100%">
 		<mx:Image source="./controls/assets/ApacheFlexIcon.png" />
 		<mx:Label text="{FULL_TITLE}" fontSize="20" fontWeight="bold" />

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
index 429f911..fc6efc3 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/CurrencyFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the CurrencyFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
               import mx.events.ValidationResultEvent;			
@@ -40,15 +40,17 @@
                     }
               }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:CurrencyFormatter id="usdFormatter" precision="2" 
-        currencySymbol="$" decimalSeparatorFrom="."
-        decimalSeparatorTo="." useNegativeSign="true" 
-        useThousandsSeparator="true" alignSymbol="left"/>
-
-    <mx:NumberValidator id="numVal" source="{priceUS}" property="text" 
-        allowNegative="true" domain="real"/>
+	<fx:Declarations>
+	    <mx:CurrencyFormatter id="usdFormatter" precision="2" 
+	        currencySymbol="$" decimalSeparatorFrom="."
+	        decimalSeparatorTo="." useNegativeSign="true" 
+	        useThousandsSeparator="true" alignSymbol="left"/>
+	
+	    <mx:NumberValidator id="numVal" source="{priceUS}" property="text" 
+	        allowNegative="true" domain="real"/>	
+	</fx:Declarations>
 
     <mx:Panel title="CurrencyFormatter Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
index 17a6621..3a9ce07 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/DateFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the DateFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             import mx.events.ValidationResultEvent;			
@@ -38,12 +38,14 @@
                 }
             }
         ]]>
-    </mx:Script>
-
-    <mx:DateFormatter id="dateFormatter" formatString="month: MM, day: DD, year: YYYY"/>
-
-    <mx:DateValidator id="dateVal" source="{dob}" property="text" inputFormat="mm/dd/yyyy"/>
+    </fx:Script>
 
+	<fx:Declarations>
+	    <mx:DateFormatter id="dateFormatter" formatString="month: MM, day: DD, year: YYYY"/>
+	
+	    <mx:DateValidator id="dateVal" source="{dob}" property="text" inputFormat="mm/dd/yyyy"/>
+	</fx:Declarations>
+	
     <mx:Panel title="DateFormatter Example" width="95%" height="95%" 
             paddingTop="10" paddingLeft="5" paddingRight="5" paddingBottom="10">
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
index e452b5d..4b9ced1 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/NumberFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate NumberFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
           import mx.events.ValidationResultEvent;			
@@ -39,13 +39,15 @@
              }
           }
       ]]>      
-    </mx:Script>
+    </fx:Script>
 
-    <mx:NumberFormatter id="numberFormatter" precision="4" 
-        useThousandsSeparator="true" useNegativeSign="true"/>
-
-    <mx:NumberValidator id="numVal" source="{inputVal}" property="text" 
-        allowNegative="true" domain="real"/>
+	<fx:Declarations>
+	    <mx:NumberFormatter id="numberFormatter" precision="4" 
+	        useThousandsSeparator="true" useNegativeSign="true"/>
+	
+	    <mx:NumberValidator id="numVal" source="{inputVal}" property="text" 
+	        allowNegative="true" domain="real"/>
+	</fx:Declarations>
 
     <mx:Panel title="NumberFormatter Example" width="75%" height="75%" 
             paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
index f507a17..532afef 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/PhoneFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate PhoneFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
                 
             import mx.events.ValidationResultEvent;			
@@ -38,13 +38,15 @@
                 }
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:PhoneFormatter id="phoneFormatter" 
-        formatString="(###) ###-####" validPatternChars="#-() "/>
-
-    <mx:PhoneNumberValidator id="pnVal" source="{phone}" property="text" 
-            allowedFormatChars=""/>
+	<fx:Declarations>
+	    <mx:PhoneFormatter id="phoneFormatter" 
+	        formatString="(###) ###-####" validPatternChars="#-() "/>
+	
+	    <mx:PhoneNumberValidator id="pnVal" source="{phone}" property="text" 
+	            allowedFormatChars=""/>
+	<fx:Declarations>
 
     <mx:Panel title="PhoneFormatter Example" width="75%" height="75%" 
             paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
index bf19ebd..fbb09fe 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/SimpleFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate the Formatter class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             // Event handler to format the input.            
@@ -40,9 +40,11 @@
                 }
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:NumberFormatter id="numberFormatter"/>
+	<fx:Declarations>
+    	<mx:NumberFormatter id="numberFormatter"/>
+	</fx:Declarations>
 
     <mx:Panel title="NumberFormatter Example" width="75%" height="75%" 
             paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
index 82adc44..050bc6d 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/SwitchSymbolFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate SwitchSymbolFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
         
             import mx.formatters.SwitchSymbolFormatter;                
@@ -44,9 +44,11 @@
                 }
             }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
-    <mx:SocialSecurityValidator id="scVal" source="{scNum}" property="text"/>
+	<fx:Declarations>
+    	<mx:SocialSecurityValidator id="scVal" source="{scNum}" property="text"/>
+	</fx:Declarations>
 
     <mx:Panel title="SwitchSymbolFormatter Example" width="75%" height="75%" 
             paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml b/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
index b5f61ed..003a111 100755
--- a/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/formatters/ZipCodeFormatterExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- Simple example to demonstrate ZipCodeFormatter. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
             import mx.events.ValidationResultEvent;			
@@ -39,12 +39,14 @@
                 }
             }
         ]]>      
-    </mx:Script>
+    </fx:Script>
 
-    <mx:ZipCodeFormatter id="zipFormatter" formatString="#####-####"/>
-
-    <mx:ZipCodeValidator id="zcVal" source="{zip}" property="text" allowedFormatChars=""/>
+	<fx:Declarations>
+    	<mx:ZipCodeFormatter id="zipFormatter" formatString="#####-####"/>
 
+    	<mx:ZipCodeValidator id="zcVal" source="{zip}" property="text" allowedFormatChars=""/>
+	<fx:Declarations>
+	
     <mx:Panel title="ZipCodeFormatter Example" width="75%" height="75%" 
             paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
index a67ea26..bf7764d 100755
--- a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
+++ b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
@@ -17,9 +17,9 @@
       limitations under the License.
   -->
 
-<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"
+<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
 		  horizontalAlign="center" headerHeight="10">
-   <mx:Script>
+   <fx:Script>
      <![CDATA[
      
 	public function loadApp(swfApp:String):void
@@ -28,7 +28,7 @@
     }
     
     ]]>
-  </mx:Script>
+  </fx:Script>
 
 <mx:SWFLoader id="myLoader" width="100%" height="100%" />
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
index 7e116cc..69ccd97 100755
--- a/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/printing/AdvancedPrintDataGridExample.mxml
@@ -17,9 +17,9 @@
   -->
 
 <!-- printing\ADGPrint.mxml -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.printing.*;
             import mx.collections.ArrayCollection;
@@ -78,7 +78,7 @@
             ]);
             
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="PrintAdvancedDataGrid Control Example"
         height="75%" width="75%" layout="horizontal"

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
index 7e34d2a..ef1ed8c 100755
--- a/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintFooter.mxml
@@ -18,15 +18,15 @@
 
 <!-- Custom control for the footer area of the printed page. -->
 
-<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
-    horizontalAlign="right" >
+<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+	width="60%" horizontalAlign="right" >
     <!-- Declare and initialize the product total variable. -->
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             [Bindable]
             public var pTotal:Number = 0;
         ]]>
-    </mx:Script>
+    </fx:Script>
     <mx:Label text="Product Total: {pTotal}"/>
 </mx:VBox>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
index 4fc4c19..37e74b3 100755
--- a/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintHeader.mxml
@@ -18,8 +18,8 @@
 
 <!-- Custom control for the header area of the printed page. -->
 
-<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="60%"
-    horizontalAlign="right" >
+<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+	width="60%" horizontalAlign="right" >
 
     <mx:Label text="This is a placeholder for first page contents"/>
 </mx:VBox>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml b/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
index c0bea66..3adb70d 100755
--- a/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
+++ b/TourDeFlex/TourDeFlex3/src/printing/FormPrintView.mxml
@@ -18,10 +18,10 @@
 
 <!-- Custom control to print the DataGrid control on multiple pages. -->
 
-<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" backgroundColor="#FFFFFF"
-    paddingTop="50" paddingBottom="50" paddingLeft="50">
+<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+	xmlns="*" backgroundColor="#FFFFFF" paddingTop="50" paddingBottom="50" paddingLeft="50">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
             import mx.core.*
             // Declare and initialize the variables used in the component.
@@ -53,7 +53,7 @@
                 validateNow();
             }        
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <!-- The template for the printed page, with the contents for all pages. -->
     <mx:VBox width="80%" horizontalAlign="left">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml b/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
index 2c4da11..aeb1bdf 100755
--- a/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/printing/PrintDataGridExample.mxml
@@ -18,9 +18,9 @@
 
 <!-- Main application to print a DataGrid control on multiple pages. -->
 
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initData();">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" initialize="initData();">
 
-    <mx:Script>
+    <fx:Script>
         <![CDATA[
 
         import mx.printing.*;
@@ -117,7 +117,7 @@
             printJob.send();
         }
         ]]>
-    </mx:Script>
+    </fx:Script>
 
     <mx:Panel title="DataGrid Printing Example" height="75%" width="75%"
         paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml b/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
index 726f1fe..cfa6e29 100755
--- a/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/states/StatesExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the States class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <!-- Define one view state, in addition to the base state.-->
     <mx:states>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml b/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
index b643bd9..358e9f8 100755
--- a/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/states/TransitionExample.mxml
@@ -17,7 +17,7 @@
   -->
 
 <!-- Simple example to demonstrate the Transition class. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
     <!-- Define one view state, in addition to the base state.-->
     <mx:states>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
index 78d497d..cfedf81 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/CreditCardValidatorExample.mxml
@@ -17,11 +17,11 @@
   -->
 
 <!-- Simple example to demonstrate the CreditCardValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
+    </fx:Script>
 
 	<!-- Define model for the credit card data. -->
     <mx:Model id="creditcard">
@@ -31,13 +31,15 @@
         </card>
     </mx:Model>
 
-    <mx:CreditCardValidator id="ccV" 
-        cardTypeSource="{creditcard}" cardTypeProperty="cardType"
-        cardNumberSource="{creditcard}" cardNumberProperty="cardNumber"
-        trigger="{myButton}" triggerEvent="click"
-        cardTypeListener="{cardTypeCombo}"
-        cardNumberListener="{cardNumberInput}"
-        valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
+	    <mx:CreditCardValidator id="ccV" 
+	        cardTypeSource="{creditcard}" cardTypeProperty="cardType"
+	        cardNumberSource="{creditcard}" cardNumberProperty="cardNumber"
+	        trigger="{myButton}" triggerEvent="click"
+	        cardTypeListener="{cardTypeCombo}"
+	        cardNumberListener="{cardNumberInput}"
+	        valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
   
     <mx:Panel title="CreditCardValidator Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
index 4773a90..704d05c 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/CurrencyValidatorExample.mxml
@@ -17,15 +17,17 @@
   -->
 
 <!-- Simple example to demonstrate the CurrencyValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
+    </fx:Script>
 
-    <mx:CurrencyValidator source="{priceUS}" property="text" precision="2" 
-        trigger="{myButton}" triggerEvent="click" 
-        valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
+	    <mx:CurrencyValidator source="{priceUS}" property="text" precision="2" 
+	        trigger="{myButton}" triggerEvent="click" 
+	        valid="Alert.show('Validation Succeeded!');"/>
+	</fx:Declarations>
 
     <mx:Panel title="CurrencyValidator Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
index 2ed06d1..f6526ab 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/DateValidatorExample.mxml
@@ -17,22 +17,24 @@
   -->
 
 <!-- Simple example to demonstrate the DateValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
-
-    <mx:Model id="CheckModel">
-        <dateInfo>
-            <DOB>{dob.text}</DOB>
-        </dateInfo>
-    </mx:Model>
-
-    <mx:DateValidator source="{dob}" property="text" allowedFormatChars="/" 
-        trigger="{myButton}" triggerEvent="click" 
-        valid="Alert.show('Validation Succeeded!');"/>
-
+    </fx:Script>
+
+	<fx:Declarations>
+	    <fx:Model id="CheckModel">
+	        <dateInfo>
+	            <DOB>{dob.text}</DOB>
+	        </dateInfo>
+	    </fx:Model>
+	
+	    <mx:DateValidator source="{dob}" property="text" allowedFormatChars="/" 
+	        trigger="{myButton}" triggerEvent="click" 
+	        valid="Alert.show('Validation Succeeded!');"/>
+	</fx:Declarations>
+	
     <mx:Panel title="DateValidator Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
index 3a8f9ca..006c1db 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/EmailValidatorExample.mxml
@@ -17,15 +17,17 @@
   -->
 
 <!-- Simple example to demonstrate the EmailValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
+    </fx:Script>
 
-   <mx:EmailValidator source="{email}" property="text" 
-       trigger="{myButton}" triggerEvent="click"
-       valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
+	   <mx:EmailValidator source="{email}" property="text" 
+	       trigger="{myButton}" triggerEvent="click"
+	       valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
 
    <mx:Panel title="EmailValidator Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
index 0f65ab1..4e6303f 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/NumberValidatorExample.mxml
@@ -17,16 +17,18 @@
   -->
 
 <!-- Simple example to demonstrate the NumberValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
-
-    <mx:NumberValidator source="{age}" property="text" integerError="Enter Integer value"
-        minValue="18" maxValue="50" domain="int" 
-        trigger="{myButton}" triggerEvent="click"
-        valid="Alert.show('Validation Succeeded!');"/>
+    </fx:Script>
+
+	<fx:Declarations>
+	    <mx:NumberValidator source="{age}" property="text" integerError="Enter Integer value"
+	        minValue="18" maxValue="50" domain="int" 
+	        trigger="{myButton}" triggerEvent="click"
+	        valid="Alert.show('Validation Succeeded!');"/>
+	</fx:Declarations>
 
     <mx:Panel title="NumberValidator Example" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/812a8b67/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
index 3d59658..100607a 100755
--- a/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/validators/PhoneNumberValidatorExample.mxml
@@ -17,15 +17,17 @@
   -->
 
 <!-- Simple example to demonstrate the PhoneNumberValidator. -->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
 
-    <mx:Script>
+    <fx:Script>
         import mx.controls.Alert;
-    </mx:Script>
+    </fx:Script>
 
-    <mx:PhoneNumberValidator source="{phone}" property="text" 
-        trigger="{myButton}" triggerEvent="click"
-        valid="Alert.show('Validation Succeeded!');"/>
+	<fx:Declarations>
+	    <mx:PhoneNumberValidator source="{phone}" property="text" 
+	        trigger="{myButton}" triggerEvent="click"
+	        valid="Alert.show('Validation Succeeded!');"/>
+	</fx:Declarations>
 
     <mx:Panel title="Phone Number Validator Panel" width="75%" height="75%" 
         paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">