Repository: flex-utilities
Updated Branches:
  refs/heads/develop da51582f7 -> f6a0b703b


Fix simple application so it works with the modern SDK


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

Branch: refs/heads/develop
Commit: d789c2a1068445c69a3d4b0cb157b1e6136daf52
Parents: da51582
Author: Justin Mclean <jmcl...@apache.org>
Authored: Tue Jul 29 17:39:06 2014 +1000
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Tue Jul 29 17:39:06 2014 +1000

----------------------------------------------------------------------
 .../TourDeFlex3/src/core/SimpleApplicationExample.mxml      | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/d789c2a1/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml 
b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
index e74e1fb..4521efc 100755
--- a/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/core/SimpleApplicationExample.mxml
@@ -19,7 +19,6 @@
 <!-- Simple example to demonstrate the Application container. -->
 
 <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
-    backgroundGradientColors="[0xCCCCCC, 0x66CCFF]"
     backgroundColor="0xCCCCCC"
     horizontalAlign="center" verticalAlign="middle"
     applicationComplete="appComplete();">
@@ -43,10 +42,10 @@
     </mx:Script>
 
     <mx:ApplicationControlBar dock="true">
-        <mx:Button label="Set Solid Fill" 
-            click="this.setStyle('backgroundGradientColors', [0xCCCCCC, 
0xCCCCCC]);"/>
-        <mx:Button label="Set Gradient Fill" 
-            click="this.setStyle('backgroundGradientColors', [0xCCCCCC, 
0x66CCFF]);"/>
+        <mx:Button label="Set Grey Solid Fill" 
+            click="this.setStyle('backgroundColor', 0xCCCCCC);"/>
+        <mx:Button label="Set Blue Solid Fill" 
+            click="this.setStyle('backgroundColor', 0x66CCFF);"/>
     </mx:ApplicationControlBar> 
 
     <mx:Panel title="Application Container Example" backgroundColor="0x9CB0BA"

Reply via email to