Repository: flex-asjs Updated Branches: refs/heads/develop d56e155d9 -> be5c7ab8e
Updated examples to worth with updated MouseEvent. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/be5c7ab8 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/be5c7ab8 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/be5c7ab8 Branch: refs/heads/develop Commit: be5c7ab8e90e7b8d09fc167bb0ef6ed672cab0d3 Parents: d56e155 Author: Peter Ent <[email protected]> Authored: Wed Jan 20 14:34:31 2016 -0500 Committer: Peter Ent <[email protected]> Committed: Wed Jan 20 14:34:31 2016 -0500 ---------------------------------------------------------------------- .../flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml | 4 ++-- .../FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml | 2 +- examples/flexjs/MobileTrader/src/MyInitialView.mxml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/be5c7ab8/examples/flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml b/examples/flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml index 6bb7d49..af9cfd1 100755 --- a/examples/flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml +++ b/examples/flexjs/FlexJSStore/src/productsView/CatalogTitleButtons.mxml @@ -35,14 +35,14 @@ limitations under the License. [Bindable] public var cartCount:int; - private function rollOverLabel(event:Event):void + private function rollOverLabel(event:MouseEvent):void { try { Label(event.target).className = "catalogTitleButtonHighlighted"; } catch (e:Error) {} } - private function rollOutLabel(event:Event):void + private function rollOutLabel(event:MouseEvent):void { Label(event.target).className = "catalogTitleButtonDeselected"; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/be5c7ab8/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 1d8ce8f..7b415da 100755 --- a/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml +++ b/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml @@ -118,7 +118,7 @@ limitations under the License. } } - public function clickHandler(event:org.apache.flex.events.Event):void + public function clickHandler(event:org.apache.flex.events.MouseEvent):void { if (event.target != purchase && event.target != compare && http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/be5c7ab8/examples/flexjs/MobileTrader/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/MyInitialView.mxml b/examples/flexjs/MobileTrader/src/MyInitialView.mxml index 323e5b6..6c6b83a 100755 --- a/examples/flexjs/MobileTrader/src/MyInitialView.mxml +++ b/examples/flexjs/MobileTrader/src/MyInitialView.mxml @@ -214,7 +214,7 @@ limitations under the License. backButton.visible = manager.views.length > 1; } - private function goBack(event:org.apache.flex.events.Event):void + private function goBack(event:org.apache.flex.events.MouseEvent):void { if (navController.selectedIndex == 1) { watchListStack.pop();
