flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/refactor-sprite] - Fixes to samples to get them working again since Image changed property from 'source' to 'url'.
Date Mon, 15 Aug 2016 19:26:35 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/refactor-sprite 5b7a043d4 -> 91da1460b


Fixes to samples to get them working again since Image changed property from 'source' to 'url'.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/91da1460
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/91da1460
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/91da1460

Branch: refs/heads/refactor-sprite
Commit: 91da1460b215696a3ddaf9d68cd8f16a62400d1f
Parents: 5b7a043
Author: Peter Ent <pent@apache.org>
Authored: Mon Aug 15 15:26:28 2016 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Mon Aug 15 15:26:28 2016 -0400

----------------------------------------------------------------------
 .../CordovaCameraExample/src/MyInitialView.mxml   |  2 +-
 .../DataGridExample/src/models/ProductsModel.as   | 15 ++++++++++-----
 examples/flexjs/FlexJSStore/src/FlexJSStore.mxml  |  2 +-
 examples/flexjs/FlexJSStore/src/HomeView.mxml     |  8 ++++----
 examples/flexjs/FlexJSStore/src/SupportView.mxml  |  6 +++---
 .../flexjs/FlexJSStore/src/productsView/Grip.mxml |  4 ++--
 .../src/productsView/ProductCatalogThumbnail.mxml |  2 +-
 .../src/productsView/ProductDetails.mxml          |  2 +-
 .../src/productsView/ProductListItem.mxml         |  2 +-
 .../src/samples/flexstore/ProductThumbEvent.as    | 18 +++++++++---------
 .../FlexJSStore_jquery/src/FlexJSStore.mxml       |  2 +-
 .../flexjs/FlexJSStore_jquery/src/HomeView.mxml   | 10 +++++-----
 .../FlexJSStore_jquery/src/SupportView.mxml       |  6 +++---
 .../FlexJSStore_jquery/src/productsView/Grip.mxml |  4 ++--
 .../src/productsView/ProductCatalogThumbnail.mxml |  2 +-
 .../src/productsView/ProductDetails.mxml          |  2 +-
 .../src/productsView/ProductListItem.mxml         |  2 +-
 .../flexjs/MobileTrader/src/MyInitialView.mxml    |  2 +-
 18 files changed, 48 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml b/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml
index 7472d95..96a8721 100644
--- a/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml
+++ b/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml
@@ -41,7 +41,7 @@ limitations under the License.
 			private function success(data:Object):void
 			{
 				output.text = "Success: "+String(data);
-				image.source = String(data);
+				image.url = String(data);
 			}
 			
 			private function failure(message:Object):void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/DataGridExample/src/models/ProductsModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/src/models/ProductsModel.as b/examples/flexjs/DataGridExample/src/models/ProductsModel.as
index 8eab2fe..2526c04 100644
--- a/examples/flexjs/DataGridExample/src/models/ProductsModel.as
+++ b/examples/flexjs/DataGridExample/src/models/ProductsModel.as
@@ -20,9 +20,9 @@ package models
 {
 	import org.apache.flex.events.EventDispatcher;
 	import org.apache.flex.collections.ArrayList;
-	
+
 	import products.Product;
-	
+
 	public class ProductsModel extends EventDispatcher
 	{
 		public function ProductsModel()
@@ -38,9 +38,14 @@ package models
 			new Product("dh440","Doohickies",10,340,"assets/smallredrect.jpg"),
 			new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")
 			];
-			
+
 		private var _productList:ArrayList;
-		
+
+		override public function toString():String
+		{
+			return "ProductsModel";
+		}
+
 		public function get productList():ArrayList
 		{
 			return _productList;
@@ -52,4 +57,4 @@ package models
 			return _labelFields;
 		}
 	}
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml
index 8f4ade3..cf29d5b 100755
--- a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml
+++ b/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml
@@ -61,7 +61,7 @@ limitations under the License.
 			
 			private function completeHandler(event:Event):void
 			{
-				image.source = ValuesManager.valuesImpl.getValue(acb, "storeLogo");
+				image.url = ValuesManager.valuesImpl.getValue(acb, "storeLogo");
                 /*
 				super.initialized = true;
                 */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/HomeView.mxml b/examples/flexjs/FlexJSStore/src/HomeView.mxml
index 451c5c1..deb8537 100755
--- a/examples/flexjs/FlexJSStore/src/HomeView.mxml
+++ b/examples/flexjs/FlexJSStore/src/HomeView.mxml
@@ -41,7 +41,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 
 			public function updateMapImage():void
 			{
-				mapImage.source = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap');
+				mapImage.url = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap');
 			}
 		]]>
 	</fx:Script>
@@ -150,7 +150,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 					<js:HContainer style="left:10;top:43" width="100%" height="100%">
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image1" source="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
+								<js:Image id="image1" url="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
 							</js:Container>
 							
 							<js:Container width="100%">
@@ -161,7 +161,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 						
 						<js:VContainer width="33%" height="100%">							
 							<js:Container width="100%">
-								<js:Image id="image2" style="margin:auto;verticalCenter:0" source="assets/bcrater.jpg"/>
+								<js:Image id="image2" style="margin:auto;verticalCenter:0" url="assets/bcrater.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">
@@ -172,7 +172,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 						
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image3" style="margin:auto;verticalCenter:0" source="assets/jproctor.jpg"/>
+								<js:Image id="image3" style="margin:auto;verticalCenter:0" url="assets/jproctor.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/SupportView.mxml b/examples/flexjs/FlexJSStore/src/SupportView.mxml
index ab3eea7..cd978a4 100755
--- a/examples/flexjs/FlexJSStore/src/SupportView.mxml
+++ b/examples/flexjs/FlexJSStore/src/SupportView.mxml
@@ -99,7 +99,7 @@ The width and height are hard-coded in the root tag to help the Design view.
 				
 				<js:Label y="355" text="Option 2: Drag this marker into the map" style="margin:auto"
className="instructions"/>
 				
-				<js:Image y="380" style="margin:auto" source="assets/support_mapmarker_plus.png"/>
+				<js:Image y="380" style="margin:auto" url="assets/support_mapmarker_plus.png"/>
 				
 				<js:HRule y="415" style="margin:auto" width="200" alpha="0.6"/>
 				
@@ -125,7 +125,7 @@ The width and height are hard-coded in the root tag to help the Design
view.
                                             }
                                         ]]>
                                     </fx:Script>
-                                    <js:Image width="21" height="25" source="{product.image}"
/>
+                                    <js:Image width="21" height="25" url="{product.image}"
/>
                                     <js:Label width="100%" text="{product.name}" />
                                 </js:DataItemRenderer>                            
                               
                             </fx:Component>
@@ -137,7 +137,7 @@ The width and height are hard-coded in the root tag to help the Design
view.
 		</js:VContainer>
 		
 		<js:Container width="68%" height="100%">
-			<js:Image source="assets/427px-Bayarea_map.png">
+			<js:Image url="assets/427px-Bayarea_map.png">
                 <js:style>
                     <js:SimpleCSSStyles left="12" top="12"/>
                 </js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/productsView/Grip.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/Grip.mxml b/examples/flexjs/FlexJSStore/src/productsView/Grip.mxml
index 281c572..9587214 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/Grip.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/Grip.mxml
@@ -38,8 +38,8 @@ limitations under the License.
         <js:OneFlexibleChildVerticalLayout flexibleChild="grip" />
     </js:beads>
 
-    <js:Image id="icon" source="{gripIcon}" />
-    <js:Image id="grip" source="assets/grip.png" >
+    <js:Image id="icon" url="{gripIcon}" />
+    <js:Image id="grip" url="assets/grip.png" >
         <js:beads>
             <js:ToolTipBead toolTip="{gripTip}" />
         </js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
index 7b415da..b198246 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
@@ -151,7 +151,7 @@ limitations under the License.
             <js:Image id="img" height="45" width="45" 
                      width.x3cols="60" height.x3cols="60"
                      width.x2cols="60" height.x2cols="60"
-                     source="{product.image}" />
+                     url="{product.image}" />
 
             <js:VContainer id="descr" height="100%" >
                 <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductDetails.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductDetails.mxml
index fa32497..78516d3 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductDetails.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductDetails.mxml
@@ -91,7 +91,7 @@ limitations under the License.
             </js:style>
             <js:Container style="left:0px;right:0px">
 
-                <js:Image id="img" width="101" height="101" source="{product.image}"/>
+                <js:Image id="img" width="101" height="101" url="{product.image}"/>
 
                 <js:VContainer id="descr" >
                     <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
index 8e98c3b..e965f35 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
@@ -117,7 +117,7 @@ limitations under the License.
         </js:beads>
     </js:ImageButton>
     
-    <js:Image id="productImage" x="16" y="6" width="12" height="12" source="{product.image}"/>
+    <js:Image id="productImage" x="16" y="6" width="12" height="12" url="{product.image}"/>
 
     <js:Label id="productName" x="30" width="100" y="4" text="{product.name}"/>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
index f92dc7f..da259a1 100755
--- a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
+++ b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package samples.flexstore
 {
-    
+
 import org.apache.flex.events.Event;
 
 public class ProductThumbEvent extends Event
@@ -27,19 +27,19 @@ public class ProductThumbEvent extends Event
     public static const COMPARE:String = "compare";
     public static const DETAILS:String = "details";
     public static const BROWSE:String = "browse";
-    
+
     public var product:Product;
-    
+
     public function ProductThumbEvent(type:String, product:Product)
     {
         super(type);
         this.product = product;
     }
-    
-    override public function cloneEvent():Event
-    {
-        return new ProductThumbEvent(type, product);
-    }
+
+    //override public function cloneEvent():Event
+    //{
+    //    return new ProductThumbEvent(type, product);
+    //}
 }
 
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
index e5621c0..6375cb8 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
@@ -62,7 +62,7 @@ limitations under the License.
 			
 			private function completeHandler(event:Event):void
 			{
-				image.source = ValuesManager.valuesImpl.getValue(acb, "storeLogo");
+				image.url = ValuesManager.valuesImpl.getValue(acb, "storeLogo");
                 /*
 				super.initialized = true;
                 */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml b/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
index 1882c7e..4bade02 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
@@ -42,7 +42,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 
 			public function updateMapImage():void
 			{
-				mapImage.source = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap');
+				mapImage.url = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap');
 			}
 		]]>
 	</fx:Script>
@@ -129,7 +129,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 		<js:VContainer width="750" height="100%">
 			<js:Container width="100%" height="100%">
 			
-			    <!-- can't use binding to set the mapImage source because the style isn't available
early enough -->
+			    <!-- can't use binding to set the mapImage url because the style isn't available
early enough -->
 				<js:Container id="mapCanvas" height="35%" className="homeMap">
                     <js:style>
                         <js:SimpleCSSStyles left="0" right="10" top="10" />
@@ -151,7 +151,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 					<js:HContainer style="left:10;top:43" width="100%" height="100%">
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image1" source="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
+								<js:Image id="image1" url="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
 							</js:Container>
 							
 							<js:Container width="100%">
@@ -162,7 +162,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 						
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image2" style="margin:auto;verticalCenter:0" source="assets/bcrater.jpg"/>
+								<js:Image id="image2" style="margin:auto;verticalCenter:0" url="assets/bcrater.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">
@@ -173,7 +173,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 						
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image3" style="margin:auto;verticalCenter:0" source="assets/jproctor.jpg"/>
+								<js:Image id="image3" style="margin:auto;verticalCenter:0" url="assets/jproctor.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml b/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
index ab3eea7..cd978a4 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
@@ -99,7 +99,7 @@ The width and height are hard-coded in the root tag to help the Design view.
 				
 				<js:Label y="355" text="Option 2: Drag this marker into the map" style="margin:auto"
className="instructions"/>
 				
-				<js:Image y="380" style="margin:auto" source="assets/support_mapmarker_plus.png"/>
+				<js:Image y="380" style="margin:auto" url="assets/support_mapmarker_plus.png"/>
 				
 				<js:HRule y="415" style="margin:auto" width="200" alpha="0.6"/>
 				
@@ -125,7 +125,7 @@ The width and height are hard-coded in the root tag to help the Design
view.
                                             }
                                         ]]>
                                     </fx:Script>
-                                    <js:Image width="21" height="25" source="{product.image}"
/>
+                                    <js:Image width="21" height="25" url="{product.image}"
/>
                                     <js:Label width="100%" text="{product.name}" />
                                 </js:DataItemRenderer>                            
                               
                             </fx:Component>
@@ -137,7 +137,7 @@ The width and height are hard-coded in the root tag to help the Design
view.
 		</js:VContainer>
 		
 		<js:Container width="68%" height="100%">
-			<js:Image source="assets/427px-Bayarea_map.png">
+			<js:Image url="assets/427px-Bayarea_map.png">
                 <js:style>
                     <js:SimpleCSSStyles left="12" top="12"/>
                 </js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/productsView/Grip.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/Grip.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/Grip.mxml
index 281c572..9587214 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/Grip.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/Grip.mxml
@@ -38,8 +38,8 @@ limitations under the License.
         <js:OneFlexibleChildVerticalLayout flexibleChild="grip" />
     </js:beads>
 
-    <js:Image id="icon" source="{gripIcon}" />
-    <js:Image id="grip" source="assets/grip.png" >
+    <js:Image id="icon" url="{gripIcon}" />
+    <js:Image id="grip" url="assets/grip.png" >
         <js:beads>
             <js:ToolTipBead toolTip="{gripTip}" />
         </js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
index 7b415da..b198246 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
@@ -151,7 +151,7 @@ limitations under the License.
             <js:Image id="img" height="45" width="45" 
                      width.x3cols="60" height.x3cols="60"
                      width.x2cols="60" height.x2cols="60"
-                     source="{product.image}" />
+                     url="{product.image}" />
 
             <js:VContainer id="descr" height="100%" >
                 <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductDetails.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
index fa32497..78516d3 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
@@ -91,7 +91,7 @@ limitations under the License.
             </js:style>
             <js:Container style="left:0px;right:0px">
 
-                <js:Image id="img" width="101" height="101" source="{product.image}"/>
+                <js:Image id="img" width="101" height="101" url="{product.image}"/>
 
                 <js:VContainer id="descr" >
                     <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
index 8e98c3b..e965f35 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
@@ -117,7 +117,7 @@ limitations under the License.
         </js:beads>
     </js:ImageButton>
     
-    <js:Image id="productImage" x="16" y="6" width="12" height="12" source="{product.image}"/>
+    <js:Image id="productImage" x="16" y="6" width="12" height="12" url="{product.image}"/>
 
     <js:Label id="productName" x="30" width="100" y="4" text="{product.name}"/>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/91da1460/examples/flexjs/MobileTrader/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/MyInitialView.mxml b/examples/flexjs/MobileTrader/src/MyInitialView.mxml
index 0c353ff..5b99ae3 100755
--- a/examples/flexjs/MobileTrader/src/MyInitialView.mxml
+++ b/examples/flexjs/MobileTrader/src/MyInitialView.mxml
@@ -234,7 +234,7 @@ limitations under the License.
 					<apache:ImageButtonView />
 				</js:beads>
 			</js:TextButton>
-			<js:Image source="assets/logo.png" width="218" height="55" />
+			<js:Image url="assets/logo.png" width="218" height="55" />
 		</js:navigationBarItems>
 		<js:views>
 			<js:StackedViewManager title="Assets">


Mime
View raw message