Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5F3C8200B63 for ; Mon, 15 Aug 2016 21:26:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5DC6B160AA7; Mon, 15 Aug 2016 19:26:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 57586160A8A for ; Mon, 15 Aug 2016 21:26:36 +0200 (CEST) Received: (qmail 51033 invoked by uid 500); 15 Aug 2016 19:26:35 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 51025 invoked by uid 99); 15 Aug 2016 19:26:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2016 19:26:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 65CBEDFFC0; Mon, 15 Aug 2016 19:26:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pent@apache.org To: commits@flex.apache.org Message-Id: <67c9ab6ea9934ed3a35e51fb1d27aad9@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) archived-at: Mon, 15 Aug 2016 19:26:37 -0000 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 Authored: Mon Aug 15 15:26:28 2016 -0400 Committer: Peter Ent 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'); } ]]> @@ -150,7 +150,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + @@ -161,7 +161,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + @@ -172,7 +172,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + 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. - + @@ -125,7 +125,7 @@ The width and height are hard-coded in the root tag to help the Design view. } ]]> - + @@ -137,7 +137,7 @@ The width and height are hard-coded in the root tag to help the Design view. - + 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. - - + + 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. + url="{product.image}" /> 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. - + 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. - + 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'); } ]]> @@ -129,7 +129,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + @@ -151,7 +151,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + @@ -162,7 +162,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + @@ -173,7 +173,7 @@ Width and height are hard-coded in the root tag to help the Design view. - + 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. - + @@ -125,7 +125,7 @@ The width and height are hard-coded in the root tag to help the Design view. } ]]> - + @@ -137,7 +137,7 @@ The width and height are hard-coded in the root tag to help the Design view. - + 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. - - + + 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. + url="{product.image}" /> 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. - + 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. - + 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. - +