make icon link to tour de flex download page

Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/1da83201
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/1da83201
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/1da83201

Branch: refs/heads/develop
Commit: 1da832013bf5d19153816ad208203b5576819e5e
Parents: 4692731
Author: Justin Mclean <jmcl...@apache.org>
Authored: Tue Aug 26 18:28:47 2014 +1000
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Tue Aug 26 18:28:47 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/src/explorer.mxml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1da83201/TourDeFlex/TourDeFlex3/src/explorer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.mxml 
b/TourDeFlex/TourDeFlex3/src/explorer.mxml
index a38136f..646827a 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.mxml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.mxml
@@ -51,6 +51,11 @@
                 compLibTree.expandItem(compLibTree.selectedItem, true, true);
             }
         }
+                       
+               private function gotoHome(event:Event):void {
+                       var urlRequest:URLRequest = new 
URLRequest("http://flex.apache.org/download-tourdeflex.html";);
+                       navigateToURL(urlRequest);
+               }               
         ]]>
     </fx:Script>
 
@@ -59,7 +64,7 @@
        </fx:Declarations>
        
        <mx:HBox width="100%">
-               <mx:Image source="./mx/controls/assets/ApacheFlexIcon.png" />
+               <mx:Image source="./mx/controls/assets/ApacheFlexIcon.png" 
useHandCursor="true" buttonMode="true" click="gotoHome(event)" />
                <mx:Label text="{FULL_TITLE}" fontSize="20" fontWeight="bold" />
        </mx:HBox>
     <mx:HDividedBox width="100%" height="100%">

Reply via email to