You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/11/22 02:00:44 UTC

[01/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34213 - allow adjustment of maxDragRate (patch contributed by 'after24')

Repository: flex-sdk
Updated Branches:
  refs/heads/iso7skins 965d6d194 -> d7b993aa2


FLEX-34213 - allow adjustment of maxDragRate (patch contributed by 'after24')

Replaced the private static const MAX_DRAG_RATE by the public static property maxDragRate. This allows the value to be manually set to > 30, smoothing the apparent performace of mobile lists.

Note: the patch suggested a default value of 90; I decided to keep the previous default of 30, in order to minimise the chance of side effects.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 105ae47b3e46420044b1116370c77e2982cf8c63
Parents: 4396efe
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Oct 6 09:50:18 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Oct 6 09:50:18 2014 +0200

----------------------------------------------------------------------
 .../spark/src/spark/components/Scroller.as      | 46 +++++++++++++++-----
 1 file changed, 35 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/105ae47b/frameworks/projects/spark/src/spark/components/Scroller.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Scroller.as b/frameworks/projects/spark/src/spark/components/Scroller.as
index fb18a56..3ca9155 100644
--- a/frameworks/projects/spark/src/spark/components/Scroller.as
+++ b/frameworks/projects/spark/src/spark/components/Scroller.as
@@ -519,13 +519,6 @@ public class Scroller extends SkinnableComponent
     
     /**
      *  @private
-     *  Maximum number of times per second we will change the scroll position 
-     *  and update the display while dragging.
-     */
-    private static const MAX_DRAG_RATE:Number = 30;
-    
-    /**
-     *  @private
      *  The name of the viewport's horizontal scroll position property
      */
     private static const HORIZONTAL_SCROLL_POSITION:String = "horizontalScrollPosition";
@@ -1352,8 +1345,39 @@ public class Scroller extends SkinnableComponent
         }
     }
     
-    
-    
+	//----------------------------------
+	//  maxDragRate
+	//----------------------------------
+	
+	private static var _maxDragRate:Number = 30;
+	
+	[Inspectable(category="General", defaultValue="30")]
+	
+	/**
+	 *
+	 *  Maximum number of times per second the scroll position
+	 *  and the display will be updated while dragging.
+	 *
+	 *  @default 30
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	
+	public static function get maxDragRate():Number
+	{
+		return _maxDragRate;
+	}
+	
+	public static function set maxDragRate(value:Number):void
+	{
+		_maxDragRate = value;
+	}
+	
+	
+	
     //--------------------------------------------------------------------------
     // 
     // Methods
@@ -3328,7 +3352,7 @@ public class Scroller extends SkinnableComponent
                         canScrollHorizontally,
                         canScrollVertically,
                         Math.round(minSlopInches * Capabilities.screenDPI), 
-                        dragEventThinning ? MAX_DRAG_RATE : NaN);
+                        dragEventThinning ? _maxDragRate : NaN);
                     event.stopImmediatePropagation();
                 }
                 else
@@ -3381,7 +3405,7 @@ public class Scroller extends SkinnableComponent
             canScrollHorizontally,
             canScrollVertically,
             Math.round(minSlopInches * Capabilities.screenDPI), 
-            dragEventThinning ? MAX_DRAG_RATE : NaN);
+            dragEventThinning ? _maxDragRate : NaN);
     }
     	
     /**


[31/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34636 and then some ...

Posted by bi...@apache.org.
FLEX-34636 and then some ...

I've take a shot at rewriting the README to make it more readable, a bit more compact and accurate. Please review!

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: d72e2f20c1d2b4b4c30411b82a0724520973dc83
Parents: 1b2906e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 17 20:32:57 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 17 20:32:57 2014 +0100

----------------------------------------------------------------------
 README | 621 ++++++++++++++++++++++++------------------------------------
 1 file changed, 246 insertions(+), 375 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d72e2f20/README
----------------------------------------------------------------------
diff --git a/README b/README
index 809d5a3..e640701 100644
--- a/README
+++ b/README
@@ -1,164 +1,119 @@
-Apache Flex (Flex)
-==================
+The Apache Flex SDK
+===================
 
-Apache Flex SDK is an application development framework for easily building
-Flash-based applications for mobile devices, web browsers, and desktops.
-
-Apache Flex 4.14.0 is a follow up release to Apache Flex 4.13.0. This version
-adds new features and implements bug fixes that were unavailable in previous
-versions. It is compatible with most code written to target Adobe Flex 4.6.
-
-For detailed information about Apache Flex please visit:
-
-    http://flex.apache.org/
-
-Apache Flex is a large project with many pieces. The framework is implemented
-in ActionScript and the compiler is implemented in Java.
-
-Currently supported platforms include:
+The Apache Flex SDK is the evolution of the popular Adobe Flex SDK. The Apache
+Flex SDK is an application development framework for easily building Flash
+based applications for mobile devices, web browsers, and desktops. Currently
+supported platforms include:
 
     Microsoft Windows
     Mac OS X
     Apple iOS
     Google Android
     RIM BlackBerry
-    Linux
-
-Apache Flex is the software evolution of the popular Adobe Flex SDK project.
-
-The community surrounding Flex is vast, diverse, distributed globally, and with
-all levels of proficiency in software development.
-
-There has been more that 30,000 installs of Apache Flex. The Apache Flex web
-site gets 3 quarters of a million page views a year and more than 250,000
-unique visitors a year.
-
-
-
-Getting the convenience packages for Apache Flex
-================================================
+    (Linux)
 
-The Apache Flex SDK Installer is an application that simplifies the download
-and installation of the Apache Flex SDK and its (required) components. It is
-aimed at anyone who wants to use the latest release of the Apache Flex SDK, but
-who might not necessarily be familiar with the tools and procedures required to
-compile the Apache Flex SDK from source code. The application will grab the
-binary distribution of the SDK from apache.org or one of its mirrors, install
-it onto your computer and prepare it for use with your favorite IDE such as
-Adobe Flash Builder or JetBrains IntelliJ IDEA.
-
-You can get the SDK Installer from the Apache Flex website at
-
-    http://flex.apache.org/installer.html
-
-The SDK installer requires the Adobe AIR runtime to be installed.
-
-Starting with Apache Flex 4.12 the binary distribution can be installed using
-only ANT in addition to the AIR installer mentioned above. This is the
-recommended method for Linux users. More information about installing the
-binary package with ANT can be found on our wiki at:
-
-    https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Antinstaller
-
-
-
-Getting the latest sources via git
-==================================
+Linux support is currently experimental and you may run into issues. The Apache
+Flex project would like to see a fully supported Linux release, but we need
+help from the community in order to do that. Please help out if you can.
 
-Getting the source code is the recommended way to get Apache Flex. We also
-offer an automated installer along with binary distributions on our website at
+For more information about the Apache Flex project, please visit:
 
     http://flex.apache.org/
 
-You can always checkout the latest source via git using the following command:
+The Apache Flex SDK 4.14.0 is a follow up release to version 4.13.0. It is
+compatible with most code written for the original Adobe Flex 4.6 SDK.
 
-    git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk
-    cd sdk
-    git checkout develop
 
-An Apache Flex SDK also requires source code from other Apache Flex git
-repositories. To get the latest source via git for the Text Layout Framework
-use the following command:
 
-    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
-    cd tlf
-    git checkout develop
+Installing the Apache Flex SDK
+==============================
 
-In an Apache Flex source code package hosted on the distribution server or one
-of its mirrors, the Text Layout Framework code is already included in the
-package. This is also true for the convenience package.
+The Apache Flex SDK Installer is an AIR application that simplifies the 
+download and installation of the Apache Flex SDK and its (required) components.
+It is aimed at anyone who wants to use the latest release of the Apache Flex
+SDK, but who might not necessarily be familiar with the tools and procedures
+required to compile the Apache Flex SDK from source code. The application will
+grab the binary distribution of the SDK from apache.org or one of its mirrors,
+install it onto your computer and prepare it for use with your favourite IDE
+such as Adobe Flash Builder or JetBrains IntelliJ IDEA.
 
-Linux support is currently experimental and you may run into issues. Apache
-Flex would like to see a fully supported Linux release, but we need support
-from the community in order to do that. Please help out if you can.
+You can get the Apache Flex SDK Installer from the Apache Flex website at:
 
-For further information visit
+    http://flex.apache.org/installer.html
 
-    http://flex.apache.org/download-source.html
+Starting with the Apache Flex SDK 4.12, Linux users can install the binary
+distribution using ANT. More information about installing the binary package
+with ANT can be found on our wiki at:
 
+    https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Antinstaller
 
 
-Building Apache Flex 4.14.0
-===========================
 
-Apache Flex is a large project. It requires some build tools which must be
-installed prior to building Flex and it depends on some external software which
-are downloaded as part of the build process. Some of these have different
-licenses. See the Software Dependencies section for more information on the
-external software dependencies.
+Building the Apache Flex SDK from source
+========================================
 
-From Apache's perspective, the Adobe Flash Player and Adobe AIR have excluded
-licenses so they can not be bundled with the Apache Flex binaries. They must be
-installed prior to building Apache Flex.
+The Apache Flex SDK is a large project. It requires build tools which must be
+installed on your system and it depends on some external software. The external
+software is downloaded as part of the build process.
 
-Linux support is currently experimental and while it is possible to compile the
-SDK it has not been fully tested so you may run into issues.
+The following steps are all you need for a fully functional SDK:
+- Prepare your system
+    - install external software
+    - set environment variables
+- Get the source code
+    - flex-sdk
+    - flex-tlf
+- Build the SDK
+- Prepare the SDK for use with an IDE
+- Optional steps:
+  - Flash Player configuration
+  - Other locale support
 
 
-Install Prerequisites
----------------------
+Prepare your system
+-------------------
 
-Before building Flex you must install the following software and set the
-corresponding environment variables using absolute file paths. Relative file
-paths will result in build errors.
+Before building the Apache Flex SDK you must install the following software and
+set the corresponding environment variables. Make sure to use absolute paths,
+relative paths will result in build errors.
 
 The environment variables PLAYERGLOBAL_HOME, AIR_HOME, FLASHPLAYER_DEBUGGER,
-TLF_HOME, and ADOBE_EXTENSION_MANAGER can also be set in the property file
+TLF_HOME, and ADOBE_EXTENSION_MANAGER can also be set in a property file
 called env.properties. See the env-template.properties file for instructions.
 
-The Adobe Flash Player playerglobal.swc is needed to compile all the components
-with the exception of the airframework and airspark components which require
-airglobal.swc from the AIR Integration Kit. The AIR Integration kit is also
-needed to build and debug mobile applications. The Adobe Flash Player content
-debugger is used by checkintests and other pieces of the test subsystem to run
-compiled applications.
+The Adobe Flash Player and Adobe AIR have excluded licenses so they can not be
+bundled with the Apache Flex SDK, i.e. they need to be installed separately.
 
-The build scripts assume that the source code folder containing the Text Layout
-Framework (tlf) folder is at the same level as the sdk folder or located inside
-the frameworks/projects folder. If this is not true, then you must set the
-TLF_HOME environment variable to point to the tlf folder.
+The Adobe Flash Player ‘playerglobal.swc’ is needed to compile all the
+components with the exception of the ‘airframework’ and ‘airspark’
+components which require ‘airglobal.swc’ from the AIR Integration Kit. The
+AIR Integration kit is also needed to build and debug mobile applications. The
+Adobe Flash Player content debugger is used by the ant ‘checkintests’
+target and other pieces of the test subsystem to run compiled applications.
 
---------------------------------------------------------------------
-SOFTWARE                                     ENVIRONMENT VARIABLE
---------------------------------------------------------------------
 
-Java SDK 1.6 or greater (* 1)                JAVA_HOME
+---------------------------------------------------------------------
+SOFTWARE                                      ENVIRONMENT VARIABLE
+---------------------------------------------------------------------
+
+Java SDK 1.6 or greater (* 1)                 JAVA_HOME
     (for Java 1.7 see note at (* 2))
 
-Ant 1.7.1 or greater (* 1)                   ANT_HOME
+Ant 1.7.1 or greater (* 1)                    ANT_HOME
     (for Java 1.7 see note at (* 2))
 
-Adobe AIR Integration Kit (* 3)              AIR_HOME
+Adobe AIR Integration Kit (* 3)               AIR_HOME
 
-Adobe Flash Player Content Debugger (* 4)    FLASHPLAYER_DEBUGGER
+Adobe Flash Player Content Debugger (* 4)     FLASHPLAYER_DEBUGGER
 
-Adobe Flash Player playerglobal swcs (* 5)   PLAYERGLOBAL_HOME
+Adobe Flash Player playerglobal swcs (* 5)    PLAYERGLOBAL_HOME
 
-Adobe Extension Manager CS5 (* 6)            ADOBE_EXTENSION_MANAGER
+Optional: Text Layout Framework (* 6)         TLF_HOME
 
-Text Layout Framework                        TLF_HOME
+Optional: Adobe Extension Manager CS5 (* 7)   ADOBE_EXTENSION_MANAGER
 
---------------------------------------------------------------------
+---------------------------------------------------------------------
 
 * 1)
 The bin directories for ANT_HOME and JAVA_HOME should be added to your PATH.
@@ -169,9 +124,9 @@ On Windows, set PATH to
 
 On the Mac (bash), set PATH to
 
-    export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin"
+    export PATH='$PATH:$ANT_HOME/bin:$JAVA_HOME/bin'
 
-On Linux make sure you path include ANT_HOME and JAVA_HOME.
+On Linux make sure your path includes ANT_HOME and JAVA_HOME.
 
 * 2)
 If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8 or
@@ -192,74 +147,185 @@ The Adobe AIR integration kit for Linux can be downloaded from:
 
     http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
 
-This version of Apache Flex was certified for use with AIR 15.0, and should be
-compatible with versions of AIR newer than 3.1. It has been fully tested on AIR
-3.7, 4 and 15.
-
 Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the
 absolute path of the AIR SDK directory.
 
+This version of the Apache Flex SDK was certified for use with Adobe AIR 3.7
+and is compatible with version 3.1 and up. It has been fully tested on AIR 3.7,
+4 and 15.
+
 * 4)
 The Adobe Flash Player content debuggers can be found here:
 
     http://www.adobe.com/support/flashplayer/downloads.html
 
-This version of Apache Flex was certified for use with Adobe Flash Player 11.1,
-and is compatible with versions 10.2 through 15.0. It has been tested with
-versions 11.1, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 and 15.0 on Windows and Mac.
-It has been compiled against other Adobe Flash Player versions but has not been
-fully tested. It has not been fully tested on Linux.
+This version of the Apache Flex SDK was certified for use with Adobe Flash
+Player 11.1, and is compatible with version 10.2 and up. It has been tested
+with versions 11.1, 11.7, 13.0 and 15.0 on Windows and Mac. It has been
+compiled against other Adobe Flash Player versions but has not been fully
+tested. It has not been fully tested on Linux.
 
 On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the
 filename of the FlashPlayerDebugger.exe. Note the filename of flash player
 debugger maybe different, e.g. C:\MyPath\FlashPlayerDebugger.exe
 
 On the Mac, set FLASHPLAYER_DEBUGGER to the absolute path of
-"Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger"
+'Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger'
 
-On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of flashplayerdebugger
+On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of flashplayerdebugger.
 
 * 5)
 The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
 
     http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
 
-Use URL above to download playerglobal11_1.swc. Create the directory,
-player/11.1 and copy playerglobal11_1.swc to player/11.1/playerglobal.swc.
-
 Set PLAYERGLOBAL_HOME to the absolute path of the player directory (not
 including the version subdirectory). The target-player option controls which
 PLAYERGLOBAL_HOME subdirectory is used.
 
-Information about downloading, setting up and support of the Adobe Flash Player
-can be found in the section "Adobe Flash Player Version Support" below.
+Additional information about downloading and setting up this and/or other
+versions of the Adobe Flash Player can be found in the section
+'Adobe Flash Player Version Support' below.
 
 * 6)
+The build scripts assume that the source code folder containing the Apache Flex
+Text Layout Framework root folder ('flex-tlf') is at the same level as the SDK
+root folder ('flex-sdk'). See 'Getting the source code', below. If this is not
+the case on your system, then you must set the TLF_HOME environment variable to
+point to your TLF root folder.
+
+* 7)
 The Adobe Extension Manager is only required for those creating releases or
-testing changes to the flash-integration swc. Note that if you change APIs on
+testing changes to the flash-integration SWC. Note that if you change APIs on
 classes that flash-integration depends on, you may need to update
 flash-integration.
 
-The Adobe Extension Manager for Windows can be downloaded from:
+On Windows, download the Adobe Extension Manager from:
 
     http://download.macromedia.com/pub/dw_exchange/extension_manager/win/AdobeExtensionManager5All.zip
 
-The Adobe Extension Manager for Mac can be downloaded from:
+and set ADOBE_EXTENSION_MANAGER to the absolute path of
+'Adobe Extension Manager CS5.exe'
+
+On Mac, download the Adobe Extension Manager from:
 
     http://download.macromedia.com/pub/dw_exchange/extension_manager/mac/AdobeExtensionManager5All.dmg
 
-On Windows, set ADOBE_EXTENSION_MANAGER to the absolute path of
-"Adobe Extension Manager CS5.exe"
+and set ADOBE_EXTENSION_MANAGER to the absolute path of
+'Adobe Extension Manager CS5.app/Contents/MacOS/Adobe Extension Manager CS5'
+
+On Linux, no Adobe Extension Manager exists.
+
+
+Get the source code
+-------------------
+
+The Apache Flex SDK source code uses git for SCM.
+
+You can get the latest source ('develop' branch) using the following commands:
+
+    git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git flex-sdk
+    cd flex-sdk
+    git checkout develop
+
+The Apache Flex SDK requires source code from the Apache Flex Text Layout
+Framework (TLF). To get the latest source for TLF ('develop' branch), use the
+following commands:
+
+    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git flex-tlf
+    cd flex-tlf
+    git checkout develop
+
+For further information visit:
 
-On Mac, set ADOBE_EXTENSION_MANAGER to the absolute path of
-"Adobe Extension Manager CS5.app"
+    http://flex.apache.org/download-source.html
+
+
+Build the SDK
+-------------
+
+When you have all the prerequisites in place and the environment variables set,
+use these commands:
+
+    cd <flex-sdk>
+    ant main
+
+to download the third party dependencies and build the source. You will be
+prompted to acknowledge and/or confirm some of the downloads. Since the
+third-party dependencies take a little while to download and they don't change
+very often, they are not cleaned with the regular clean target.
+
+If you would like to build the RSLs, use:
+
+    ant frameworks-rsls
+
+To clean the build, of everything other than the downloaded third-party
+dependencies use:
+
+    ant clean
+
+To clean the build, of everything, including the downloaded third-party
+dependencies, use:
+
+    ant super-clean
+
+To generate a source distribution package and a binary distribution package,
+use:
+
+    ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
+
+The packages can be found in the 'out' subdirectory.
+
+To build the ASDoc package, use:
+
+    ant asdoc-package
+
+To get a brief listing of all the targets type, use:
+
+    ant -projecthelp
+
+
+Prepare the SDK for use with an IDE
+-----------------------------------
+
+If you want to use the SDK you built from source in Adobe Flash Builder, you
+need to run these commands and scripts:
+
+    cd <flex.dir>
+    ant frameworks-rsls
+    ./ide/constructFlexForIDE.[sh/bat]
+    (Mac only: ./ide/addAIRtoSDK.sh)
+
+This builds the RSLS for the SDK and copy some IDE related files from the Adobe
+Flex SDK 4.6. On a Mac you will need to run the 'addAIRtoSDK.sh' script to
+complete the installation.
+
+To create an SDK for another IDE, or if you want to use a different version of
+Adobe AIR (Adobe Flex 4.6 uses Adobe AIR 3.1), run:
+
+    /ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
+    /ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
+
+
+
+Using the Binary Distribution
+=============================
+
+In order to use the binary distribution of the SDK, you must first download the
+third-party dependencies. First, make sure your system is good to go: see
+'Prepare your system' above. Note: you cannot use the env.properties file to
+set the environment variables when you use the Binany Distribution. Now, use:
+
+    cd <flex-sdk>/frameworks
+    ant thirdparty-downloads
+
+To complete the setup of the SDK, follow the instructions in the
+'Prepare the SDK for use with an IDE' section above.
 
-On Linux, no Adobe Extension Manager exists and there's nothing that needs to
-be done here.
 
 
 FlashPlayer Configuration
--------------------------
+=========================
 
 For testing, the Adobe Flash Player's mm.cfg file must have the following
 entries
@@ -274,8 +340,9 @@ More information about these settings can be found here:
     http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c95.html
 
 
+
 Other Locale Support
---------------------
+====================
 
 The Apache Flex SDK defaults to using the en_US locale and SDK error messages
 are by default displayed in American English.
@@ -283,9 +350,9 @@ are by default displayed in American English.
 To compile the SDK for another locale either:
 
 Change the locale in the build.properties file to have a value other than
-"en_US". For this new locale to take effect the SDK needs to be recompiled. For
+'en_US'. For this new locale to take effect the SDK needs to be recompiled. For
 example, to use the Australian English locale change locale to have a value of
-"en_AU" like so:
+'en_AU' like so:
 
     locale = en_AU
 
@@ -308,11 +375,10 @@ unlikely to be any issues with a SDK compiled for another locales.
 
 
 Adobe Flash Player Version Support
-----------------------------------
+==================================
 
 The Apache Flex SDK defaults to using the Adobe Flash Player 11.1. The SDK can
-be used with Flash Player versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4,
-11.5, 11.6, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 and 15.0.
+be used with Flash Player versions 10.2 and up.
 
 It is recommended that you update to the latest version of Adobe Flash Player.
 Newer versions of the Adobe Flash player address security vulnerabilities, fix
@@ -326,9 +392,9 @@ Adobe Flash Player.
 OR
 
 Change the playerglobal.version in the build.properties file to have a value
-other than "11.1". For this change to take effect the SDK needs to be
+other than '11.1'. For this change to take effect the SDK needs to be
 recompiled. For example to compile against the latest version of the Adobe
-Flash Player set the value of playerglobal.version to be "14.0" like so:
+Flash Player set the value of playerglobal.version to be '14.0' like so:
 
     playerglobal.version = 14.0
 
@@ -342,22 +408,14 @@ playerglobal.swc.
 
 These can be found at:
 
-http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
-http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_0.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
-http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
-http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc
-http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc
-http://download.macromedia.com/get/flashplayer/updaters/14/playerglobal14_0.swc
-http://download.macromedia.com/get/flashplayer/updaters/15/playerglobal15_0.swc
+    http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
+    http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc
+
+and
+
+   http://download.macromedia.com/get/flashplayer/updaters/<version.major>/playerglobal<version.major>_<version.minor>.swc
+
+(e.g. http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc)
 
 Copy the target playerglobal.swc to the directory:
 
@@ -366,61 +424,12 @@ Copy the target playerglobal.swc to the directory:
 Where <version> is the major and minor version numbers of the Adobe Flash
 Player separated by a period or full stop.
 
-If all of the playerglobal swcs where installed the frameworks/libs/player
-directory structure would look like this.
-
-    /frameworks
-        /libs
-            /player
-                /10.2
-                     /playerglobal.swc
-                /10.3
-                     /playerglobal.swc
-                /11.0
-                     /playerglobal.swc
-                /11.2
-                     /playerglobal.swc
-                /11.2
-                     /playerglobal.swc
-                /11.3
-                     /playerglobal.swc
-                /11.4
-                     /playerglobal.swc
-                /11.5
-                     /playerglobal.swc
-                /11.6
-                     /playerglobal.swc
-                /11.7
-                     /playerglobal.swc
-                /11.8
-                     /playerglobal.swc
-                /11.9
-                     /playerglobal.swc
-                /12.0
-                     /playerglobal.swc
-                /13.0
-                     /playerglobal.swc
-                /14.0
-                     /playerglobal.swc
-                /15.0
-                     /playerglobal.swc
-
-Apache Flex has been tested with Adobe Flash Player 11.1, 11.5, 11.7, 11.8,
-11.9, 12.0, 13.0, 14.0 and 15.0 on Windows and Mac.
-
-Apache Flex has not been tested on Linux so some issues may exist in this
-release.
-
-It compiles against other Adobe Flash Player versions and is expected to work
-but there may be some issues, particularly with the earlier 10.2 and 10.3
-versions of the Adobe Flash Player.
-
 
 Software Dependencies
----------------------
+=====================
 
-Apache Flex uses third-party code that will be downloaded as part of the Apache
-Flex build. In addition, there is some optional third-party code that you can
+The Apache Flex SDK uses third-party code that will be downloaded as part of
+the build. In addition, there is some optional third-party code that you can
 choose to download if you would like to take advantage of the features offered
 and you agree to the license terms.
 
@@ -445,15 +454,15 @@ reciprocal licenses so you will be prompted to acknowledge the license before
 the software is downloaded to your system. These files are installed in
 frameworks/libs.
 
-    osmf.swc
-
-    Open Source Media Framework v1.0 used for video components
+    osmf.swc (Open Source Media Framework v1.0; used for video components)
 
     This file is extracted from:
-    http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download
 
-    This software is released under the Mozilla Public License Version 1.1:
-    <http://www.mozilla.org/MPL/>
+        http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download
+
+    and is released under the Mozilla Public License Version 1.1:
+
+        http://www.mozilla.org/MPL/
 
 The following dependencies have licenses which Apache considers to be not
 compatible with the Apache License Version 2.0. You will be prompted to read
@@ -461,167 +470,29 @@ and agree to the license terms of the dependency before the software can be
 downloaded to your system. These are optional components which enable
 additional features. They are installed in libs/external/optional.
 
-    flex-messaging-common.jar
+    flex-messaging-common.jar (provides integration with Adobe BlazeDS)
 
-    Provides integration with Adobe BlazeDS.
+    This file is extracted from:
 
-    This files are extracted from:
-    http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
+        http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
 
-    This software is released under an Adobe license:
-    <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
+    and is released under an Adobe license:
 
-    adt.jar
-    afe.jar
-    aglj40.jar
-    flex-fontkit.jar
-    rideau.jar
+        http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf
 
-    Adobe proprietary software which provides embedded font support.
+    adt.jar, afe.jar, aglj40.jar, flex-fontkit.jar and rideau.jar (provides embedded font support)
 
     These jars are extracted from:
-    http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
-
-    This software is released under an Adobe license:
-    <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
-
-
-
-Using the Binary Distribution
-=============================
-
-You must download the third-party dependencies.
-
-When you have all the prerequisites in place and the environment variables set,
-(see Install Prerequisites above -- you cannot use the env.properties file to
-set the environment variables for these steps.), use
-
-    cd <flex.dir>/frameworks
-    ant thirdparty-downloads
-
-Additionally, you will need to build the RSLS for the SDK before you run the
-batch files.
-
-    cd <flex.dir>
-    ant frameworks-rsls
-
-To use this SDK in a IDE like Flash Builder 4.6 or 4.7 the SDK needs several
-other files to be packaged and integrated with the Apache Flex SDK.
-
-If you have an existing installation of Flash Builder run:
 
-    /ide/constructFlexForIDE.sh (on Mac and Linux)
-    /ide/constructFlexForIDE.bat (on Windows)
+        http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
 
-This will create an Apache Flex 4.14.0 SDK that can be used with Flash Builder
-by copying the required files from the Adobe Flex 4.6 SDK.
-
-To create an SDK for other IDE or if you want to use Adobe AIR 14.0
-    (rather than AIR 3.1 contained in Adobe Flex 4.6) run:
-
-    /ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
-    /ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
-
-This will create an Apache Flex 4.14.0 SDK that can be used by an IDE by
-downloading Adobe Flex 4.6 SDK and Adobe AIR 14.0.
-
-
-Building the Framework in a Binary Distribution
------------------------------------------------
-
-The source for most of the framework is included in the binary distribution. It
-can be useful if you wish to debug and/or extend components.
-
-When you have all the prerequisites in place and the environment variables set,
-(see Install Prerequisites above), use
-
-    cd <flex.dir>/frameworks
-    ant main (or just ant since the default target is main)
-
-to download the third-party dependencies and build the Flex framework. You may
-be prompted to acknowledge some of the downloads. Since the third-party
-dependencies take a little while to download and they don't change very often,
-they are not cleaned with the regular clean target.
-
-To clean the build, of everything other than the downloaded third-party
-dependencies use
+    and are released under an Adobe license:
 
-    ant clean
-
-To clean the build, of everything, including the downloaded third-party
-dependencies use
-
-    ant super-clean (which is just thirdparty-clean followed by clean)
-
-
-Building the Source in the Source Distribution
-----------------------------------------------
-
-The source for both the Flex compiler and the Flex framework is included in the
-source distribution. The compiler is in the modules directory and the framework
-is in the frameworks directory.
-
-Because the sdk uses the Text Layout Framework, you will have to clone it too
-and link it to the textLayout project of the sdk:
-
-    cd <flex.dir>/..
-    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
-
-When you have all the prerequisites in place and the environment variables set
-(see Install Prerequisites above), use
-
-    cd <flex.dir>
-    ant main (or just ant since the default target is main)
-
-to download the thirdparty dependencies and build the source. You may be
-prompted to acknowledge and/or confirm some of the downloads. Since the
-third-party dependencies take a little while to download and they don't change
-very often, they are not cleaned with the regular clean target.
-
-If you would like to build the RSLs, use
-
-    ant frameworks-rsls
-
-To clean the build, of everything other than the downloaded third-party
-dependencies use
-
-    ant clean
-
-To clean the build, of everything, including the downloaded third-party
-dependencies use
-
-    ant super-clean (which is just thirdparty-clean followed by clean)
-
-To generate a source distribution package and a binary distribution package use
-
-    ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
-
-The packages can be found in the "out" subdirectory.
-
-To build the ASDoc package
-
-    ant asdoc-package
-
-To get a brief listing of all the targets type
-
-    ant -projecthelp
-
-
-
-Using the SDK in Flash Builder
-==============================
-
-If you want to use the SDK you build from source in Flash Builder, you need to
-run these commands/scripts:
-
-    cd <flex.dir>
-    ant frameworks-rsls
-    ./ide/constructFlexForIDE.[sh/bat]
-    [if you're on a Mac, also run: ./ide/addAIRtoSDK.sh]
+        http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf
 
 
 
-Thanks for using Apache Flex. Enjoy!
+Thanks for using the Apache Flex SDK. Enjoy!
 
                                       The Apache Flex Project
                                       <http://flex.apache.org>


[48/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Merge branch 'develop' into ios7skins

Posted by bi...@apache.org.
Merge branch 'develop' into ios7skins


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

Branch: refs/heads/iso7skins
Commit: d7b993aa2b1162658398168fd1e626b2588d931f
Parents: 965d6d1 27501dd
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Fri Nov 21 15:29:05 2014 -0800
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Fri Nov 21 15:29:05 2014 -0800

----------------------------------------------------------------------
 .gitignore                                      |   2 -
 CONTRIBUTING                                    | 135 ++--
 CONTRIBUTORS                                    |   7 +
 LICENSE                                         |  60 +-
 NOTICE                                          |  29 +-
 README                                          | 766 ++++++++-----------
 RELEASE_NOTES                                   | 114 +++
 build.xml                                       |   1 +
 frameworks/build.xml                            |   3 +
 frameworks/downloads.xml                        |  77 +-
 .../experimental/src/spark/components/Alert.as  |  45 +-
 .../experimental/src/spark/skins/AlertSkin.mxml |   1 +
 frameworks/projects/flatspark/build.xml         | 114 +++
 .../projects/flatspark/compile-config.xml       | 109 +++
 frameworks/projects/flatspark/defaults.css      | 116 +++
 .../flatspark/src/FlatSparkSkinsClasses.as      |  51 ++
 .../assets/fonts/awesome/FontAwesome.otf        | Bin 0 -> 62856 bytes
 .../src/flatspark/assets/fonts/awesome/OFL.txt  |  94 +++
 .../flatspark/assets/fonts/lato/Lato_Black.otf  | Bin 0 -> 47436 bytes
 .../assets/fonts/lato/Lato_Black_Italic.otf     | Bin 0 -> 46100 bytes
 .../flatspark/assets/fonts/lato/Lato_Bold.otf   | Bin 0 -> 48800 bytes
 .../assets/fonts/lato/Lato_Bold_Italic.otf      | Bin 0 -> 47364 bytes
 .../assets/fonts/lato/Lato_Hairline.otf         | Bin 0 -> 46852 bytes
 .../assets/fonts/lato/Lato_Hairline_Italic.otf  | Bin 0 -> 46568 bytes
 .../flatspark/assets/fonts/lato/Lato_Light.otf  | Bin 0 -> 47040 bytes
 .../assets/fonts/lato/Lato_Light_Italic.otf     | Bin 0 -> 47060 bytes
 .../assets/fonts/lato/Lato_Regular.otf          | Bin 0 -> 47088 bytes
 .../assets/fonts/lato/Lato_Regular_Italic.otf   | Bin 0 -> 47356 bytes
 .../src/flatspark/assets/fonts/lato/OFL.txt     |  94 +++
 .../src/flatspark/components/ButtonIcon.as      |  41 +
 .../src/flatspark/components/TextInputIcon.as   |  35 +
 .../src/flatspark/enums/BrandColorEnum.as       |  30 +
 .../src/flatspark/enums/ButtonColorEnum.as      |  59 ++
 .../src/flatspark/enums/ButtonSizeEnum.as       |  31 +
 .../src/flatspark/enums/ColorSwatchEnum.as      |  40 +
 .../flatspark/src/flatspark/enums/SizeEnum.as   |  32 +
 .../src/flatspark/enums/TextInputSizeEnum.as    |  30 +
 .../itemRenderers/DefaultItemRenderer.mxml      |  51 ++
 .../src/flatspark/skins/AlertSkin.mxml          | 230 ++++++
 .../src/flatspark/skins/ButtonIconSkin.mxml     | 191 +++++
 .../src/flatspark/skins/ButtonSkin.mxml         | 184 +++++
 .../src/flatspark/skins/CheckBoxSkin.mxml       | 136 ++++
 .../src/flatspark/skins/ComboBoxButtonSkin.mxml | 108 +++
 .../src/flatspark/skins/ComboBoxSkin.mxml       | 127 +++
 .../flatspark/skins/ComboBoxTextInputSkin.mxml  | 218 ++++++
 .../flatspark/skins/DropDownListButtonSkin.mxml | 109 +++
 .../src/flatspark/skins/DropDownListSkin.mxml   | 143 ++++
 .../src/flatspark/skins/HScrollBarSkin.mxml     |  87 +++
 .../flatspark/skins/HScrollBarThumbSkin.mxml    |  74 ++
 .../flatspark/skins/HScrollBarTrackSkin.mxml    |  71 ++
 .../src/flatspark/skins/PanelSkin.mxml          | 253 ++++++
 .../src/flatspark/skins/ProgressBarSkin.mxml    |  54 ++
 .../src/flatspark/skins/RadioButtonSkin.mxml    | 129 ++++
 .../src/flatspark/skins/ScrollerSkin.mxml       | 106 +++
 .../src/flatspark/skins/TextInputIconSkin.mxml  | 338 ++++++++
 .../src/flatspark/skins/TextInputSkin.mxml      | 330 ++++++++
 .../skins/TitleWindowCloseButtonSkin.mxml       | 118 +++
 .../src/flatspark/skins/TitleWindowSkin.mxml    | 256 +++++++
 .../src/flatspark/skins/VScrollBarSkin.mxml     |  87 +++
 .../flatspark/skins/VScrollBarThumbSkin.mxml    |  74 ++
 .../flatspark/skins/VScrollBarTrackSkin.mxml    |  71 ++
 .../src/flatspark/utils/AwesomeUtils.as         | 399 ++++++++++
 .../flatspark/src/flatspark/utils/ColorUtils.as |  90 +++
 .../flatspark/src/flatspark/utils/ConfigSkin.as |  44 ++
 .../framework/src/mx/binding/Binding.as         |  74 +-
 .../framework/src/mx/binding/Watcher.as         |  56 +-
 .../framework/src/mx/core/RuntimeDPIProvider.as |  51 +-
 .../src/mx/managers/PopUpManagerImpl.as         |  23 +-
 .../framework/src/mx/managers/SystemManager.as  |  10 +-
 .../projects/framework/src/mx/utils/Platform.as |   2 +-
 .../android4/supportClasses/CalloutArrow.as     |   6 +-
 .../skins/mobile/supportClasses/CalloutArrow.as |   6 +-
 .../spark/src/spark/components/DataGroup.as     |  23 +-
 .../spark/src/spark/components/Scroller.as      |  46 +-
 .../components/gridClasses/DataGridEditor.as    |   5 +-
 .../supportClasses/SkinnableTextBase.as         |   2 +-
 .../spark/src/spark/layouts/HorizontalLayout.as |   4 +-
 .../spark/src/spark/layouts/VerticalLayout.as   |   4 +-
 .../skins/spark/supportClasses/CalloutArrow.as  |   6 +-
 .../tests/unitTests/mx/collections/DataNode.as  |  19 +
 ...rarchicalCollectionViewCursor_Basics_Test.as |  19 +
 ...hicalCollectionViewCursor_FLEX_34119_Test.as |  19 +
 ...hicalCollectionViewCursor_FLEX_34424_Test.as |  19 +
 ...hicalCollectionViewCursor_FLEX_34440_Test.as |  19 +
 ...hicalCollectionViewCursor_FLEX_34456_Test.as |  19 +
 ...hicalCollectionViewCursor_FLEX_34458_Test.as |  19 +
 .../HierarchicalCollectionViewTestUtils.as      |  19 +
 .../DataGridEditor_FLEX_34543_Test.as           | 104 +++
 .../src/flex/ant/types/FlexSwcFileSet.java      |   4 +-
 .../Properties/Alert_Properties_Spark.mxml      |   2 +-
 90 files changed, 6033 insertions(+), 741 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d7b993aa/.gitignore
----------------------------------------------------------------------
diff --cc .gitignore
index 58381a3,4ee07d5..1177a2c
--- a/.gitignore
+++ b/.gitignore
@@@ -136,6 -136,5 +136,4 @@@ AIR SDK license.pd
  air-sdk-description.xml
  samples/descriptor-sample.xml
  include/FlashRuntimeExtensions.h
--
- /frameworks/projects/mobiletheme/src/spark/skins/ios7/visualcomps/*.ai
  visualcomps

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d7b993aa/frameworks/projects/framework/src/mx/utils/Platform.as
----------------------------------------------------------------------


[26/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Revert "Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)"

Posted by bi...@apache.org.
Revert "Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)"

This reverts commit b9d15cf4a2979dbf6786165073317243fa063251.


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

Branch: refs/heads/iso7skins
Commit: ec86ff8db9c5b183318f8ef463e38e727b706cc0
Parents: dc8ead6
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 3 20:41:27 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 3 20:41:27 2014 +0100

----------------------------------------------------------------------
 .../framework/src/mx/binding/Binding.as         | 74 ++++++++++----------
 .../framework/src/mx/binding/Watcher.as         | 56 ++++++++-------
 2 files changed, 67 insertions(+), 63 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec86ff8d/frameworks/projects/framework/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Binding.as b/frameworks/projects/framework/src/mx/binding/Binding.as
index 6122921..b2e0598 100644
--- a/frameworks/projects/framework/src/mx/binding/Binding.as
+++ b/frameworks/projects/framework/src/mx/binding/Binding.as
@@ -423,44 +423,46 @@ public class Binding
             wrappedFunctionSuccessful = true;
             return result;
         }
+        catch(itemPendingError:ItemPendingError)
+        {
+            itemPendingError.addResponder(new EvalBindingResponder(this, object));
+            if (BindingManager.debugDestinationStrings[destString])
+            {
+                trace("Binding: destString = " + destString + ", error = " + itemPendingError);
+            }
+        }
+        catch(rangeError:RangeError)
+        {
+            if (BindingManager.debugDestinationStrings[destString])
+            {
+                trace("Binding: destString = " + destString + ", error = " + rangeError);
+            }
+        }
         catch(error:Error)
         {
-			if (error is ItemPendingError) {
-	            error.addResponder(new EvalBindingResponder(this, object));
-	            if (BindingManager.debugDestinationStrings[destString])
-	            {
-	                trace("Binding: destString = " + destString + ", error = " + error);
-	            }
-			} else if (error is RangeError) {
-	            if (BindingManager.debugDestinationStrings[destString])
-	            {
-	                trace("Binding: destString = " + destString + ", error = " + error);
-	            }
-			} else {
-	            // Certain errors are normal when executing a srcFunc or destFunc,
-	            // so we swallow them:
-	            //   Error #1006: Call attempted on an object that is not a function.
-	            //   Error #1009: null has no properties.
-	            //   Error #1010: undefined has no properties.
-	            //   Error #1055: - has no properties.
-	            //   Error #1069: Property - not found on - and there is no default value
-	            // We allow any other errors to be thrown.
-	            if ((error.errorID != 1006) &&
-	                (error.errorID != 1009) &&
-	                (error.errorID != 1010) &&
-	                (error.errorID != 1055) &&
-	                (error.errorID != 1069))
-	            {
-	                throw error;
-	            }
-	            else
-	            {
-	                if (BindingManager.debugDestinationStrings[destString])
-	                {
-	                    trace("Binding: destString = " + destString + ", error = " + error);
-	                }
-	            }
-			}
+            // Certain errors are normal when executing a srcFunc or destFunc,
+            // so we swallow them:
+            //   Error #1006: Call attempted on an object that is not a function.
+            //   Error #1009: null has no properties.
+            //   Error #1010: undefined has no properties.
+            //   Error #1055: - has no properties.
+            //   Error #1069: Property - not found on - and there is no default value
+            // We allow any other errors to be thrown.
+            if ((error.errorID != 1006) &&
+                (error.errorID != 1009) &&
+                (error.errorID != 1010) &&
+                (error.errorID != 1055) &&
+                (error.errorID != 1069))
+            {
+                throw error;
+            }
+            else
+            {
+                if (BindingManager.debugDestinationStrings[destString])
+                {
+                    trace("Binding: destString = " + destString + ", error = " + error);
+                }
+            }
         }
 
         return null;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec86ff8d/frameworks/projects/framework/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Watcher.as b/frameworks/projects/framework/src/mx/binding/Watcher.as
index fef6ee3..ac35300 100644
--- a/frameworks/projects/framework/src/mx/binding/Watcher.as
+++ b/frameworks/projects/framework/src/mx/binding/Watcher.as
@@ -199,35 +199,37 @@ public class Watcher
         {
             wrappedFunction.apply(this);
         }
+        catch(itemPendingError:ItemPendingError)
+        {
+            // The parent's value is not yet available.  This is being ignored for now -
+            // updateParent() will be called when the parent has a value.
+            value = null;
+        }
+        catch(rangeError:RangeError)
+        {
+            // The parent's value is not yet available.  This is being ignored for now -
+            // updateParent() will be called when the parent has a value.
+            value = null;
+        }
         catch(error:Error)
         {
-			if (error is ItemPendingError) {
-	            // The parent's value is not yet available.  This is being ignored for now -
-	            // updateParent() will be called when the parent has a value.
-	            value = null;
-			} else if (error is RangeError) {
-	            // The parent's value is not yet available.  This is being ignored for now -
-	            // updateParent() will be called when the parent has a value.
-	            value = null;
-			} else {
-	            // Certain errors are normal when executing an update, so we swallow them:
-	            //   Error #1006: Call attempted on an object that is not a function.
-	            //   Error #1009: null has no properties.
-	            //   Error #1010: undefined has no properties.
-	            //   Error #1055: - has no properties.
-	            //   Error #1069: Property - not found on - and there is no default value
-	            //   Error #1507: - invalid null argument.
-	            // We allow any other errors to be thrown.
-	            if ((error.errorID != 1006) &&
-	                (error.errorID != 1009) &&
-	                (error.errorID != 1010) &&
-	                (error.errorID != 1055) &&
-	                (error.errorID != 1069) &&
-	                (error.errorID != 1507))
-	            {
-	                throw error;
-	            }
-			}
+            // Certain errors are normal when executing an update, so we swallow them:
+            //   Error #1006: Call attempted on an object that is not a function.
+            //   Error #1009: null has no properties.
+            //   Error #1010: undefined has no properties.
+            //   Error #1055: - has no properties.
+            //   Error #1069: Property - not found on - and there is no default value
+            //   Error #1507: - invalid null argument.
+            // We allow any other errors to be thrown.
+            if ((error.errorID != 1006) &&
+                (error.errorID != 1009) &&
+                (error.errorID != 1010) &&
+                (error.errorID != 1055) &&
+                (error.errorID != 1069) &&
+                (error.errorID != 1507))
+            {
+                throw error;
+            }
         }
     }
 


[11/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Ignore visualcomps folder

Posted by bi...@apache.org.
Ignore visualcomps folder


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

Branch: refs/heads/iso7skins
Commit: fe8077c5d0a4b99f61ea3f3136ba69f0c19fa4a6
Parents: 19df2d4
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Tue Oct 14 14:55:59 2014 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Wed Oct 15 13:05:41 2014 -0700

----------------------------------------------------------------------
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fe8077c5/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 0eccc82..4ee07d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -137,3 +137,4 @@ air-sdk-description.xml
 samples/descriptor-sample.xml
 include/FlashRuntimeExtensions.h
 
+visualcomps


[36/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Whitespace and layout corrections

Posted by bi...@apache.org.
Whitespace and layout corrections

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 753a36cd862626c4e6c2d68740280837b9544e49
Parents: e4219d6
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 12:02:09 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 14:45:34 2014 +0100

----------------------------------------------------------------------
 CONTRIBUTING | 135 ++++++++++++++++++++++++++----------------------------
 LICENSE      |  54 +++++++++++-----------
 NOTICE       |  29 ++++++------
 3 files changed, 107 insertions(+), 111 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/753a36cd/CONTRIBUTING
----------------------------------------------------------------------
diff --git a/CONTRIBUTING b/CONTRIBUTING
index 8938901..890cec5 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -1,105 +1,98 @@
 Apache Flex (Flex)
 ==================
 
-    Apache Flex SDK is an application development framework for easily building
-    Flash-based applications for mobile devices, web browsers, and desktops.
-   
-    For detailed information about Apache Flex SDK and other Apache Flex projects
-    please visit:
+Apache Flex SDK is an application development framework for easily building
+Flash-based applications for mobile devices, web browsers, and desktops.
+
+For detailed information about Apache Flex SDK and other Apache Flex projects
+please visit:
     http://flex.apache.org/
 
 
 Contributing
 ============
 
-    Apache Flex is for the community and we would like to see more
-    community involvement.
-
-    The community can help the Apache Flex project by helping out in the
-    following areas.
-      - Testing / Fixing bugs. Providing patches.
-      - Assisting other users with their requests for help.
-      - Helping out with release candidates.
-      - Wiki / Documentation.
-      - Translations into other languages.
-      - Public relations.
-      - Examples of code and components.
-      
-    All contributions are welcome. Continued involvement in the project may
-    warrant you being selected as a committer by the Apache Flex PMC.
-    
-    For more details information please visit:
+Apache Flex is for the community and we would like to see more
+community involvement.
+
+The community can help the Apache Flex project by helping out in the following
+areas.
+    - Testing / Fixing bugs. Providing patches.
+    - Assisting other users with their requests for help.
+    - Helping out with release candidates.
+    - Wiki / Documentation.
+    - Translations into other languages.
+    - Public relations.
+    - Examples of code and components.
+
+All contributions are welcome. Continued involvement in the project may warrant
+you being selected as a committer by the Apache Flex PMC.
+
+For more details information please visit:
     https://cwiki.apache.org/confluence/display/FLEX/Helping+Out
-    
+
+
 Mailing Lists
 =============
 
-    The two main mailing list are the user list for discussing how to code in
-    Flex and any issues you run into and the dev list for discussing ongoing
-    development of the SDK.
-    
-    You can subscribe to the mailing lists by sending an email to:
+The two main mailing list are the user list for discussing how to code in Flex
+and any issues you run into and the dev list for discussing ongoing development
+of the SDK.
+
+You can subscribe to the mailing lists by sending an email to:
     users-subscribe@flex.apache.org
     dev-subscribe@flex.apache.org
-    
-    Note that both mailing lists have are mid-high volume lists.
-    
-    For those who prefer forums:
+
+Note that both mailing lists have are mid-high volume lists.
+
+For those who prefer forums:
     http://s.apache.org/flex-users-forum
     http://s.apache.org/flex-dev-forum
-    
+
+
 Reporting Bugs
 ==============
-   
-    The bug base for Apache Flex can be found here:
+
+The bug base for Apache Flex can be found here:
     https://issues.apache.org/jira/browse/FLEX
-    
-    You need to set up a JIRA account to submit a bug report but can browse
-    and search the bug base without an account.
+
+You need to set up a JIRA account to submit a bug report but can browse and
+search the bug base without an account.
     https://cwiki.apache.org/confluence/display/FLEX/3.1+JIRA+Account
-    
-    When reporting an issue the follow information is helpful:
+
+When reporting an issue the follow information is helpful:
     - OS, browser and Flash Player version or AIR version
     - Screen shots
     - Small sample application showing the issue
     - Steps on how to reproduce the issue
-         
-    Please search through JIRA before submitting new bugs. It may be that the
-    bug you've found has already been reported.
+     
+Please search through JIRA before submitting new bugs. It may be that the bug 
+you've found has already been reported.
+
 
 Getting the code
 ================
 
-    The Apache FLex SDK code is stored in a git repository.
-    https://cwiki.apache.org/confluence/display/FLEX/1.+Setting+up+the+SDK
+See the README for how to prepare your system, and get and build the SDK.
 
-    To check out:
-    git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk
-    cd sdk
-    git checkout develop
-
-    You will also need:
-    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
-
-    See the RELEASE_NOTE for how to set up and build the SDK.
-    
-    You can also see a GitHub mirror here:
+You can also see a GitHub mirror here:
     https://github.com/apache/flex-sdk
 
+
 Contributing Code
 =================
-    
-    If you have a bug fix, new component or other code you which to give to
-    Apache Flex please open a JIRA ticket and attach the code to it.
-    
-    A committer will take a look, review and test it and help you get the code
-    into the SDK.
-    
-    If the code is a significant size we may ask you to sign an license
-    agreement (ICLA) or software grant.
-    
-
-Thanks for using Apache Flex.  Enjoy!
-
-The Apache Flex Project
-<http://flex.apache.org>
+
+If you have a bug fix, new component or other code you which to give to Apache
+Flex please open a JIRA ticket and attach the code to it.
+
+A committer will take a look, review and test it and help you get the code into
+the SDK.
+
+If the code is a significant size we may ask you to sign an license agreement
+(ICLA) or software grant.
+
+
+                                            Thanks for using Apache Flex. Enjoy!
+
+                                                         The Apache Flex Project
+                                                          http://flex.apache.org

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/753a36cd/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 90a134e..a661961 100644
--- a/LICENSE
+++ b/LICENSE
@@ -201,7 +201,7 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 
-------------------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
 
 For the easing algorithms used in frameworks/src/mx/effect/easing:
 
@@ -212,33 +212,35 @@ Open source under the BSD License.
 Easing Equations © 2001-2003, Robert Penner
 All rights reserved.
 
-Redistribution and use in source and binary forms, with or without modification, are 
-permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of 
-conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of 
-conditions and the following disclaimer in the documentation and/or other materials 
-provided with the distribution.
-Neither the name of the author nor the names of contributors may be used to endorse or 
-promote products derived from this software without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 
-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list
+of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice, this
+list of conditions and the following disclaimer in the documentation and/or 
+other materials provided with the distribution.
+Neither the name of the author nor the names of contributors may be used to
+endorse or promote products derived from this software without specific prior
+written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-See frameworks/project/framework/src/mx/effect/easing/easing_readme.txt for more details 
-on what was used in this product.
+See frameworks/project/framework/src/mx/effect/easing/easing_readme.txt for more
+details on what was used in this product.
 
-------------------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
 
-For all directories except for the asc compiler in modules/asc, and modules/thirdparty 
-directories:
+For all directories except for the asc compiler in modules/asc, and
+modules/thirdparty directories:
 
 Adobe Flex
 Copyright date 2003 - 2013 Adobe Systems Incorporated. All Rights Reserved.
@@ -713,7 +715,7 @@ EXHIBIT A -Mozilla Public License.
      use the text of this Exhibit A rather than the text found in the
      Original Code Source Code for Your Modifications.]
 
-------------------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
 
 APACHE FLEX SUBCOMPONENTS:
 
@@ -734,4 +736,4 @@ see frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome
 The Lato font is available under OFL. For details
 see frameworks/projects/flatspark/src/flatspark/assets/fonts/lato
 
-------------------------------------------------------------------------------------------
+--------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/753a36cd/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index ca0b3ca..5aa5688 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,27 +1,28 @@
 Apache Flex
 Copyright 2014 The Apache Software Foundation
 
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
+This product includes software developed at The Apache Software Foundation
+(http://www.apache.org/).
 
-The Initial Developer of the Original Code, known as Adobe Flex, 
-is Adobe Systems Incorporated (http://www.adobe.com/).
+The Initial Developer of the Original Code, known as Adobe Flex, is Adobe
+Systems Incorporated (http://www.adobe.com/).
     Copyright 2003 - 2012 Adobe Systems Incorporated. All Rights Reserved.
 
 The asc compiler contains code written by Jeff Dyer at: 
     Copyright Mountain View Compiler Company (1998-2003).
 
-The easing equations in the mx tween class are based on code written by Robert Penner.
-    Copyright 2001 Robert Penner
-    All rights reserved.
+The easing equations in the mx tween class are based on code written by Robert
+Penner.
+    Copyright 2001 Robert Penner. All rights reserved.
 
-The Batik SVG toolkit source contains code from the World Wide Web Consortium (W3C) for
-     the Document Object Model API (DOM API) and SVG Document Type Definition (DTD).
+The Batik SVG toolkit source contains code from the World Wide Web Consortium
+(W3C) for the Document Object Model API (DOM API) and SVG Document Type
+Definition (DTD).
 
-The Batik SVG toolkit source contains code from the International Organisation for
-     Standardization for the definition of character entities used in the software's 
-     documentation.
+The Batik SVG toolkit source contains code from the International Organisation
+for Standardization for the definition of character entities used in the
+software's documentation.
 
-The Open Source Media Framework used by the video components is licensed under the 
-    Mozilla Public License Version 1.1.  The source code can be found here:
+The Open Source Media Framework used by the video components is licensed under
+the Mozilla Public License Version 1.1. The source code can be found here:
     http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip


[27/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Revert "Revert "Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)"" ; -)

Posted by bi...@apache.org.
Revert "Revert "Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)"" ;-)

This reverts commit ec86ff8db9c5b183318f8ef463e38e727b706cc0.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: e7e441db77171ee92c620768b385bb832338ee06
Parents: ec86ff8
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Nov 4 08:41:16 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Nov 4 08:41:16 2014 +0100

----------------------------------------------------------------------
 .../framework/src/mx/binding/Binding.as         | 74 ++++++++++----------
 .../framework/src/mx/binding/Watcher.as         | 56 +++++++--------
 .../framework/src/mx/managers/SystemManager.as  | 10 +--
 3 files changed, 68 insertions(+), 72 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e7e441db/frameworks/projects/framework/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Binding.as b/frameworks/projects/framework/src/mx/binding/Binding.as
index b2e0598..6122921 100644
--- a/frameworks/projects/framework/src/mx/binding/Binding.as
+++ b/frameworks/projects/framework/src/mx/binding/Binding.as
@@ -423,46 +423,44 @@ public class Binding
             wrappedFunctionSuccessful = true;
             return result;
         }
-        catch(itemPendingError:ItemPendingError)
-        {
-            itemPendingError.addResponder(new EvalBindingResponder(this, object));
-            if (BindingManager.debugDestinationStrings[destString])
-            {
-                trace("Binding: destString = " + destString + ", error = " + itemPendingError);
-            }
-        }
-        catch(rangeError:RangeError)
-        {
-            if (BindingManager.debugDestinationStrings[destString])
-            {
-                trace("Binding: destString = " + destString + ", error = " + rangeError);
-            }
-        }
         catch(error:Error)
         {
-            // Certain errors are normal when executing a srcFunc or destFunc,
-            // so we swallow them:
-            //   Error #1006: Call attempted on an object that is not a function.
-            //   Error #1009: null has no properties.
-            //   Error #1010: undefined has no properties.
-            //   Error #1055: - has no properties.
-            //   Error #1069: Property - not found on - and there is no default value
-            // We allow any other errors to be thrown.
-            if ((error.errorID != 1006) &&
-                (error.errorID != 1009) &&
-                (error.errorID != 1010) &&
-                (error.errorID != 1055) &&
-                (error.errorID != 1069))
-            {
-                throw error;
-            }
-            else
-            {
-                if (BindingManager.debugDestinationStrings[destString])
-                {
-                    trace("Binding: destString = " + destString + ", error = " + error);
-                }
-            }
+			if (error is ItemPendingError) {
+	            error.addResponder(new EvalBindingResponder(this, object));
+	            if (BindingManager.debugDestinationStrings[destString])
+	            {
+	                trace("Binding: destString = " + destString + ", error = " + error);
+	            }
+			} else if (error is RangeError) {
+	            if (BindingManager.debugDestinationStrings[destString])
+	            {
+	                trace("Binding: destString = " + destString + ", error = " + error);
+	            }
+			} else {
+	            // Certain errors are normal when executing a srcFunc or destFunc,
+	            // so we swallow them:
+	            //   Error #1006: Call attempted on an object that is not a function.
+	            //   Error #1009: null has no properties.
+	            //   Error #1010: undefined has no properties.
+	            //   Error #1055: - has no properties.
+	            //   Error #1069: Property - not found on - and there is no default value
+	            // We allow any other errors to be thrown.
+	            if ((error.errorID != 1006) &&
+	                (error.errorID != 1009) &&
+	                (error.errorID != 1010) &&
+	                (error.errorID != 1055) &&
+	                (error.errorID != 1069))
+	            {
+	                throw error;
+	            }
+	            else
+	            {
+	                if (BindingManager.debugDestinationStrings[destString])
+	                {
+	                    trace("Binding: destString = " + destString + ", error = " + error);
+	                }
+	            }
+			}
         }
 
         return null;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e7e441db/frameworks/projects/framework/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Watcher.as b/frameworks/projects/framework/src/mx/binding/Watcher.as
index ac35300..fef6ee3 100644
--- a/frameworks/projects/framework/src/mx/binding/Watcher.as
+++ b/frameworks/projects/framework/src/mx/binding/Watcher.as
@@ -199,37 +199,35 @@ public class Watcher
         {
             wrappedFunction.apply(this);
         }
-        catch(itemPendingError:ItemPendingError)
-        {
-            // The parent's value is not yet available.  This is being ignored for now -
-            // updateParent() will be called when the parent has a value.
-            value = null;
-        }
-        catch(rangeError:RangeError)
-        {
-            // The parent's value is not yet available.  This is being ignored for now -
-            // updateParent() will be called when the parent has a value.
-            value = null;
-        }
         catch(error:Error)
         {
-            // Certain errors are normal when executing an update, so we swallow them:
-            //   Error #1006: Call attempted on an object that is not a function.
-            //   Error #1009: null has no properties.
-            //   Error #1010: undefined has no properties.
-            //   Error #1055: - has no properties.
-            //   Error #1069: Property - not found on - and there is no default value
-            //   Error #1507: - invalid null argument.
-            // We allow any other errors to be thrown.
-            if ((error.errorID != 1006) &&
-                (error.errorID != 1009) &&
-                (error.errorID != 1010) &&
-                (error.errorID != 1055) &&
-                (error.errorID != 1069) &&
-                (error.errorID != 1507))
-            {
-                throw error;
-            }
+			if (error is ItemPendingError) {
+	            // The parent's value is not yet available.  This is being ignored for now -
+	            // updateParent() will be called when the parent has a value.
+	            value = null;
+			} else if (error is RangeError) {
+	            // The parent's value is not yet available.  This is being ignored for now -
+	            // updateParent() will be called when the parent has a value.
+	            value = null;
+			} else {
+	            // Certain errors are normal when executing an update, so we swallow them:
+	            //   Error #1006: Call attempted on an object that is not a function.
+	            //   Error #1009: null has no properties.
+	            //   Error #1010: undefined has no properties.
+	            //   Error #1055: - has no properties.
+	            //   Error #1069: Property - not found on - and there is no default value
+	            //   Error #1507: - invalid null argument.
+	            // We allow any other errors to be thrown.
+	            if ((error.errorID != 1006) &&
+	                (error.errorID != 1009) &&
+	                (error.errorID != 1010) &&
+	                (error.errorID != 1055) &&
+	                (error.errorID != 1069) &&
+	                (error.errorID != 1507))
+	            {
+	                throw error;
+	            }
+			}
         }
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e7e441db/frameworks/projects/framework/src/mx/managers/SystemManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/SystemManager.as b/frameworks/projects/framework/src/mx/managers/SystemManager.as
index 61d41ce..9eb9bea 100644
--- a/frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ b/frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1752,7 +1752,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes before the 
         // "added" event is dispatched.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
 
         var oldParent:DisplayObjectContainer = child.parent;
         if (oldParent)
@@ -1790,7 +1790,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex--;
+        noTopMostIndex = noTopMostIndex - 1;
 
         return rawChildren_removeChild(child);
     }
@@ -1802,7 +1802,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex--;
+        noTopMostIndex = noTopMostIndex - 1;
 
         return rawChildren_removeChildAt(applicationIndex + index);
     }
@@ -2658,7 +2658,7 @@ public class SystemManager extends MovieClip
         mouseCatcher.name = "mouseCatcher";
         // Must use addChildAt because a creationComplete handler can create a
         // dialog and insert it at 0.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
         super.addChildAt(mouseCatcher, 0);  
         resizeMouseCatcher();
         if (!topLevel)
@@ -2668,7 +2668,7 @@ public class SystemManager extends MovieClip
         }
 
         // Add the application as child 1.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
         super.addChildAt(DisplayObject(app), 1);
 
         CONFIG::performanceInstrumentation


[41/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Revert "Fixed FlatSpark theme font licensing issue (rat complained about missing license header ... )"

Posted by bi...@apache.org.
Revert "Fixed FlatSpark theme font licensing issue (rat complained about missing license header ... )"

This reverts commit ddb81e0b4833bb744c67132d84a7e639e364dba7.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 3ba3462f8031e137cb267e3b9e6ac396e500f3bf
Parents: ddb81e0
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 22:19:19 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 22:19:19 2014 +0100

----------------------------------------------------------------------
 LICENSE                                         | 92 -------------------
 NOTICE                                          |  8 --
 .../src/flatspark/assets/fonts/awesome/OFL.txt  | 94 ++++++++++++++++++++
 .../src/flatspark/assets/fonts/lato/OFL.txt     | 94 ++++++++++++++++++++
 4 files changed, 188 insertions(+), 100 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3ba3462f/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index ebfab9e..a661961 100644
--- a/LICENSE
+++ b/LICENSE
@@ -737,95 +737,3 @@ The Lato font is available under OFL. For details
 see frameworks/projects/flatspark/src/flatspark/assets/fonts/lato
 
 --------------------------------------------------------------------------------
-
-For all fonts in the FlatSpark theme, located in the
-frameworks/projects/flatspark/src/flatspark/assets/fonts directory:
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded, 
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.
-
---------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3ba3462f/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 315e6c4..5aa5688 100644
--- a/NOTICE
+++ b/NOTICE
@@ -26,11 +26,3 @@ software's documentation.
 The Open Source Media Framework used by the video components is licensed under
 the Mozilla Public License Version 1.1. The source code can be found here:
     http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip
-
-The "Font Awesome" and "Lato" fonts (Font Software) are licensed under the SIL
-Open Font License, Version 1.1.
-    Font Awesome: Copyright (c) 2014, Dave Gandy (http://fontawesome.io), with 
-        Reserved Font Name "Font Awesome".
-    Lato: Copyright (c) 2014, Łukasz Dziedzic 
-        (https://www.google.com/fonts/specimen/Lato), with Reserved Font Name 
-        "Lato".

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3ba3462f/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
new file mode 100644
index 0000000..d68a2c8
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
@@ -0,0 +1,94 @@
+Copyright (c) 2014, Dave Gandy (http://fontawesome.io),
+with Reserved Font Name "Font Awesome".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3ba3462f/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
new file mode 100644
index 0000000..303088c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
@@ -0,0 +1,94 @@
+Copyright (c) 2014, Łukasz Dziedzic (https://www.google.com/fonts/specimen/Lato),
+with Reserved Font Name "Lato".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.


[43/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34454 don't assume first modal has the blur

Posted by bi...@apache.org.
FLEX-34454 don't assume first modal has the blur


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

Branch: refs/heads/iso7skins
Commit: 27475c1c4499debba59020dfed2179bf478f8392
Parents: 8806faa
Author: Alex Harui <ah...@apache.org>
Authored: Mon Nov 3 10:34:02 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Nov 20 09:05:22 2014 -0800

----------------------------------------------------------------------
 .../src/mx/managers/PopUpManagerImpl.as          | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/27475c1c/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
index a6923a3..6d2061a 100644
--- a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -34,6 +34,7 @@ import flash.events.MouseEvent;
 import flash.geom.Point;
 import flash.geom.Rectangle;
 import flash.system.Capabilities;
+import flash.utils.Dictionary;
 
 import mx.automation.IAutomationObject;
 import mx.core.FlexGlobals;
@@ -176,6 +177,14 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
      *  An array of information about currently active popups
      */
     mx_internal var popupInfo:Array = [];
+    
+    /**
+     *  @private
+     *  The first popup to use a blur per systemManager.
+     *  We need to track that in order to know when to remove the blur
+     *  if stacks of modal popups are created and then taken down. 
+     */
+    private var blurOwners:Dictionary = new Dictionary(true);
 
     //--------------------------------------------------------------------------
     //
@@ -956,6 +965,9 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
             
             if (blurAmount)
             {
+                if (blurOwners[sm] == null)
+                    blurOwners[sm] = o.owner;
+                
                 // Ensure we blur the appropriate top level document.
                 if (DisplayObject(sm).parent is Stage)
                 {
@@ -1031,10 +1043,9 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
             fade.play();
             
             var sm:ISystemManager = o.systemManager;
-            var awm:IActiveWindowManager = 
-                IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
-            // don't remove blur unless this is the last modal window
-            if (awm.numModalWindows == 1)
+            
+            // don't remove blur unless this is the first modal window to put up the blur
+            if (blurOwners[sm] != null && blurOwners[sm] == o.owner)
             {
                 
                 // Blur effect on the application


[19/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34543 Added a unit test which reproduces the bug and thus prevents it from recurring.

Posted by bi...@apache.org.
FLEX-34543 Added a unit test which reproduces the bug and thus prevents it from recurring.


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

Branch: refs/heads/iso7skins
Commit: 332ec4305cc649724b7d48bcd438ab579780500f
Parents: f47b67f
Author: Mihai Chira <mi...@apache.org>
Authored: Thu Oct 23 17:20:13 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Thu Oct 23 17:21:27 2014 +0100

----------------------------------------------------------------------
 .../DataGridEditor_FLEX_34543_Test.as           | 85 ++++++++++++++++++++
 1 file changed, 85 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/332ec430/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as b/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
new file mode 100644
index 0000000..6572d40
--- /dev/null
+++ b/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
@@ -0,0 +1,85 @@
+package spark.components.gridClasses {
+    import mx.collections.ArrayCollection;
+    import mx.collections.ArrayList;
+    import mx.core.ClassFactory;
+    import mx.core.mx_internal;
+    import mx.managers.FocusManager;
+
+    import org.flexunit.asserts.assertEquals;
+    import org.flexunit.asserts.assertNotNull;
+    import org.fluint.uiImpersonation.UIImpersonator;
+
+    import spark.components.DataGrid;
+    import spark.events.GridItemEditorEvent;
+
+    public class DataGridEditor_FLEX_34543_Test
+    {
+        private var _dp:ArrayCollection;
+        private var _dg:DataGrid;
+        private var _sut:DataGridEditor;
+        private var _saveEvent:GridItemEditorEvent;
+
+        [Before]
+        public function setUp():void
+        {
+            _dp = new ArrayCollection([new FLEX_34543_DataNode("First"), new FLEX_34543_DataNode("Second")]);
+
+            _dg = new DataGrid();
+            _dg.editable = true;
+            _dg.dataProvider = _dp;
+
+            var nameColumn:GridColumn = new GridColumn();
+            nameColumn.dataField = "name";
+            nameColumn.itemEditor = new ClassFactory(DefaultGridItemEditor);
+            nameColumn.editable = true;
+            _dg.columns = new ArrayList([nameColumn]);
+
+            UIImpersonator.addChild(_dg);
+            _dg.focusManager = new FocusManager(_dg, false);
+
+            _sut = _dg.mx_internal::editor;
+        }
+
+        [After]
+        public function tearDown():void
+        {
+            _dg.removeEventListener(GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE, onGridEditorSave);
+            UIImpersonator.removeAllChildren();
+            _dg = null;
+            _dp = null;
+            _saveEvent = null;
+            _sut = null;
+        }
+
+        [Test]
+        public function testEndItemEditorSessionEventContainsCorrectIndex():void
+        {
+            //given
+            _dg.addEventListener(GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE, onGridEditorSave);
+            _dg.startItemEditorSession(1,0);
+
+            //when
+            _dp.removeItemAt(0);
+            _dg.endItemEditorSession();
+
+            //then
+            assertNotNull(_saveEvent);
+            assertEquals(0, _saveEvent.rowIndex);
+        }
+
+        private function onGridEditorSave(event:GridItemEditorEvent):void
+        {
+            _saveEvent = event;
+        }
+    }
+}
+
+class FLEX_34543_DataNode
+{
+    public var name:String;
+
+    public function FLEX_34543_DataNode(name:String)
+    {
+        this.name = name;
+    }
+}
\ No newline at end of file


[34/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Fix whitespace

Posted by bi...@apache.org.
Fix whitespace

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 6f971e3e340be5dcf9c27a1c2188b8f0c89cdafc
Parents: a50a8d0
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Nov 18 09:18:40 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Nov 18 09:18:40 2014 +0100

----------------------------------------------------------------------
 .../spark/src/spark/components/DataGroup.as       | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6f971e3e/frameworks/projects/spark/src/spark/components/DataGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/DataGroup.as b/frameworks/projects/spark/src/spark/components/DataGroup.as
index e946e30..21040c8 100644
--- a/frameworks/projects/spark/src/spark/components/DataGroup.as
+++ b/frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1761,15 +1761,15 @@ public class DataGroup extends GroupBase implements IItemRendererOwner
         
         if (oldRenderer)
         {
-        dispatchEvent(new RendererExistenceEvent(
-            RendererExistenceEvent.RENDERER_REMOVE, false, false, oldRenderer, index, item));
-        
-        if (oldRenderer is IDataRenderer && oldRenderer !== item)
-            IDataRenderer(oldRenderer).data = null;
-        
-        var child:DisplayObject = oldRenderer as DisplayObject;
-        if (child)
-            super.removeChild(child);
+            dispatchEvent(new RendererExistenceEvent(
+                RendererExistenceEvent.RENDERER_REMOVE, false, false, oldRenderer, index, item));
+            
+            if (oldRenderer is IDataRenderer && oldRenderer !== item)
+                IDataRenderer(oldRenderer).data = null;
+            
+            var child:DisplayObject = oldRenderer as DisplayObject;
+            if (child)
+                super.removeChild(child);
         }
         
         invalidateSize();


[02/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added FlatSpark project

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/AwesomeUtils.as b/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
new file mode 100644
index 0000000..717e5c1
--- /dev/null
+++ b/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
@@ -0,0 +1,399 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.utils
+{
+	public class AwesomeUtils
+	{
+		
+		public function AwesomeUtils() 
+		{
+			
+		}
+		
+		public static const fa_glass:String = "\uf000";
+		public static const fa_music:String = "\uf001";
+		public static const fa_search:String = "\uf002";
+		public static const fa_envelope_o:String = "\uf003";
+		public static const fa_heart:String = "\uf004";
+		public static const fa_star:String = "\uf005";
+		public static const fa_star_o:String = "\uf006";
+		public static const fa_user:String = "\uf007";
+		public static const fa_film:String = "\uf008";
+		public static const fa_th_large:String = "\uf009";
+		public static const fa_th:String = "\uf00a";
+		public static const fa_th_list:String = "\uf00b";
+		public static const fa_check:String = "\uf00c";
+		public static const fa_times:String = "\uf00d";
+		public static const fa_search_plus:String = "\uf00e";
+		public static const fa_search_minus:String = "\uf010";
+		public static const fa_power_off:String = "\uf011";
+		public static const fa_signal:String = "\uf012";
+		public static const fa_cog:String = "\uf013";
+		public static const fa_trash_o:String = "\uf014";
+		public static const fa_home:String = "\uf015";
+		public static const fa_file_o:String = "\uf016";
+		public static const fa_clock_o:String = "\uf017";
+		public static const fa_road:String = "\uf018";
+		public static const fa_download:String = "\uf019";
+		public static const fa_arrow_circle_o_down:String = "\uf01a";
+		public static const fa_arrow_circle_o_up:String = "\uf01b";
+		public static const fa_inbox:String = "\uf01c";
+		public static const fa_play_circle_o:String = "\uf01d";
+		public static const fa_repeat:String = "\uf01e";
+		public static const fa_refresh:String = "\uf021";
+		public static const fa_list_alt:String = "\uf022";
+		public static const fa_lock:String = "\uf023";
+		public static const fa_flag:String = "\uf024";
+		public static const fa_headphones:String = "\uf025";
+		public static const fa_volume_off:String = "\uf026";
+		public static const fa_volume_down:String = "\uf027";
+		public static const fa_volume_up:String = "\uf028";
+		public static const fa_qrcode:String = "\uf029";
+		public static const fa_barcode:String = "\uf02a";
+		public static const fa_tag:String = "\uf02b";
+		public static const fa_tags:String = "\uf02c";
+		public static const fa_book:String = "\uf02d";
+		public static const fa_bookmark:String = "\uf02e";
+		public static const fa_print:String = "\uf02f";
+		public static const fa_camera:String = "\uf030";
+		public static const fa_font:String = "\uf031";
+		public static const fa_bold:String = "\uf032";
+		public static const fa_italic:String = "\uf033";
+		public static const fa_text_height:String = "\uf034";
+		public static const fa_text_width:String = "\uf035";
+		public static const fa_align_left:String = "\uf036";
+		public static const fa_align_center:String = "\uf037";
+		public static const fa_align_right:String = "\uf038";
+		public static const fa_align_justify:String = "\uf039";
+		public static const fa_list:String = "\uf03a";
+		public static const fa_outdent:String = "\uf03b";
+		public static const fa_indent:String = "\uf03c";
+		public static const fa_video_camera:String = "\uf03d";
+		public static const fa_picture_o:String = "\uf03e";
+		public static const fa_pencil:String = "\uf040";
+		public static const fa_map_marker:String = "\uf041";
+		public static const fa_adjust:String = "\uf042";
+		public static const fa_tint:String = "\uf043";
+		public static const fa_pencil_square_o:String = "\uf044";
+		public static const fa_share_square_o:String = "\uf045";
+		public static const fa_check_square_o:String = "\uf046";
+		public static const fa_arrows:String = "\uf047";
+		public static const fa_step_backward:String = "\uf048";
+		public static const fa_fast_backward:String = "\uf049";
+		public static const fa_backward:String = "\uf04a";
+		public static const fa_play:String = "\uf04b";
+		public static const fa_pause:String = "\uf04c";
+		public static const fa_stop:String = "\uf04d";
+		public static const fa_forward:String = "\uf04e";
+		public static const fa_fast_forward:String = "\uf050";
+		public static const fa_step_forward:String = "\uf051";
+		public static const fa_eject:String = "\uf052";
+		public static const fa_chevron_left:String = "\uf053";
+		public static const fa_chevron_right:String = "\uf054";
+		public static const fa_plus_circle:String = "\uf055";
+		public static const fa_minus_circle:String = "\uf056";
+		public static const fa_times_circle:String = "\uf057";
+		public static const fa_check_circle:String = "\uf058";
+		public static const fa_question_circle:String = "\uf059";
+		public static const fa_info_circle:String = "\uf05a";
+		public static const fa_crosshairs:String = "\uf05b";
+		public static const fa_times_circle_o:String = "\uf05c";
+		public static const fa_check_circle_o:String = "\uf05d";
+		public static const fa_ban:String = "\uf05e";
+		public static const fa_arrow_left:String = "\uf060";
+		public static const fa_arrow_right:String = "\uf061";
+		public static const fa_arrow_up:String = "\uf062";
+		public static const fa_arrow_down:String = "\uf063";
+		public static const fa_share:String = "\uf064";
+		public static const fa_expand:String = "\uf065";
+		public static const fa_compress:String = "\uf066";
+		public static const fa_plus:String = "\uf067";
+		public static const fa_minus:String = "\uf068";
+		public static const fa_asterisk:String = "\uf069";
+		public static const fa_exclamation_circle:String = "\uf06a";
+		public static const fa_gift:String = "\uf06b";
+		public static const fa_leaf:String = "\uf06c";
+		public static const fa_fire:String = "\uf06d";
+		public static const fa_eye:String = "\uf06e";
+		public static const fa_eye_slash:String = "\uf070";
+		public static const fa_exclamation_triangle:String = "\uf071";
+		public static const fa_plane:String = "\uf072";
+		public static const fa_calendar:String = "\uf073";
+		public static const fa_random:String = "\uf074";
+		public static const fa_comment:String = "\uf075";
+		public static const fa_magnet:String = "\uf076";
+		public static const fa_chevron_up:String = "\uf077";
+		public static const fa_chevron_down:String = "\uf078";
+		public static const fa_retweet:String = "\uf079";
+		public static const fa_shopping_cart:String = "\uf07a";
+		public static const fa_folder:String = "\uf07b";
+		public static const fa_folder_open:String = "\uf07c";
+		public static const fa_arrows_v:String = "\uf07d";
+		public static const fa_arrows_h:String = "\uf07e";
+		public static const fa_bar_chart_o:String = "\uf080";
+		public static const fa_twitter_square:String = "\uf081";
+		public static const fa_facebook_square:String = "\uf082";
+		public static const fa_camera_retro:String = "\uf083";
+		public static const fa_key:String = "\uf084";
+		public static const fa_cogs:String = "\uf085";
+		public static const fa_comments:String = "\uf086";
+		public static const fa_thumbs_o_up:String = "\uf087";
+		public static const fa_thumbs_o_down:String = "\uf088";
+		public static const fa_star_half:String = "\uf089";
+		public static const fa_heart_o:String = "\uf08a";
+		public static const fa_sign_out:String = "\uf08b";
+		public static const fa_linkedin_square:String = "\uf08c";
+		public static const fa_thumb_tack:String = "\uf08d";
+		public static const fa_external_link:String = "\uf08e";
+		public static const fa_sign_in:String = "\uf090";
+		public static const fa_trophy:String = "\uf091";
+		public static const fa_github_square:String = "\uf092";
+		public static const fa_upload:String = "\uf093";
+		public static const fa_lemon_o:String = "\uf094";
+		public static const fa_phone:String = "\uf095";
+		public static const fa_square_o:String = "\uf096";
+		public static const fa_bookmark_o:String = "\uf097";
+		public static const fa_phone_square:String = "\uf098";
+		public static const fa_twitter:String = "\uf099";
+		public static const fa_facebook:String = "\uf09a";
+		public static const fa_github:String = "\uf09b";
+		public static const fa_unlock:String = "\uf09c";
+		public static const fa_credit_card:String = "\uf09d";
+		public static const fa_rss:String = "\uf09e";
+		public static const fa_hdd_o:String = "\uf0a0";
+		public static const fa_bullhorn:String = "\uf0a1";
+		public static const fa_bell:String = "\uf0f3";
+		public static const fa_certificate:String = "\uf0a3";
+		public static const fa_hand_o_right:String = "\uf0a4";
+		public static const fa_hand_o_left:String = "\uf0a5";
+		public static const fa_hand_o_up:String = "\uf0a6";
+		public static const fa_hand_o_down:String = "\uf0a7";
+		public static const fa_arrow_circle_left:String = "\uf0a8";
+		public static const fa_arrow_circle_right:String = "\uf0a9";
+		public static const fa_arrow_circle_up:String = "\uf0aa";
+		public static const fa_arrow_circle_down:String = "\uf0ab";
+		public static const fa_globe:String = "\uf0ac";
+		public static const fa_wrench:String = "\uf0ad";
+		public static const fa_tasks:String = "\uf0ae";
+		public static const fa_filter:String = "\uf0b0";
+		public static const fa_briefcase:String = "\uf0b1";
+		public static const fa_arrows_alt:String = "\uf0b2";
+		public static const fa_users:String = "\uf0c0";
+		public static const fa_link:String = "\uf0c1";
+		public static const fa_cloud:String = "\uf0c2";
+		public static const fa_flask:String = "\uf0c3";
+		public static const fa_scissors:String = "\uf0c4";
+		public static const fa_files_o:String = "\uf0c5";
+		public static const fa_paperclip:String = "\uf0c6";
+		public static const fa_floppy_o:String = "\uf0c7";
+		public static const fa_square:String = "\uf0c8";
+		public static const fa_bars:String = "\uf0c9";
+		public static const fa_list_ul:String = "\uf0ca";
+		public static const fa_list_ol:String = "\uf0cb";
+		public static const fa_strikethrough:String = "\uf0cc";
+		public static const fa_underline:String = "\uf0cd";
+		public static const fa_table:String = "\uf0ce";
+		public static const fa_magic:String = "\uf0d0";
+		public static const fa_truck:String = "\uf0d1";
+		public static const fa_pinterest:String = "\uf0d2";
+		public static const fa_pinterest_square:String = "\uf0d3";
+		public static const fa_google_plus_square:String = "\uf0d4";
+		public static const fa_google_plus:String = "\uf0d5";
+		public static const fa_money:String = "\uf0d6";
+		public static const fa_caret_down:String = "\uf0d7";
+		public static const fa_caret_up:String = "\uf0d8";
+		public static const fa_caret_left:String = "\uf0d9";
+		public static const fa_caret_right:String = "\uf0da";
+		public static const fa_columns:String = "\uf0db";
+		public static const fa_sort:String = "\uf0dc";
+		public static const fa_sort_asc:String = "\uf0dd";
+		public static const fa_sort_desc:String = "\uf0de";
+		public static const fa_envelope:String = "\uf0e0";
+		public static const fa_linkedin:String = "\uf0e1";
+		public static const fa_undo:String = "\uf0e2";
+		public static const fa_gavel:String = "\uf0e3";
+		public static const fa_tachometer:String = "\uf0e4";
+		public static const fa_comment_o:String = "\uf0e5";
+		public static const fa_comments_o:String = "\uf0e6";
+		public static const fa_bolt:String = "\uf0e7";
+		public static const fa_sitemap:String = "\uf0e8";
+		public static const fa_umbrella:String = "\uf0e9";
+		public static const fa_clipboard:String = "\uf0ea";
+		public static const fa_lightbulb_o:String = "\uf0eb";
+		public static const fa_exchange:String = "\uf0ec";
+		public static const fa_cloud_download:String = "\uf0ed";
+		public static const fa_cloud_upload:String = "\uf0ee";
+		public static const fa_user_md:String = "\uf0f0";
+		public static const fa_stethoscope:String = "\uf0f1";
+		public static const fa_suitcase:String = "\uf0f2";
+		public static const fa_bell_o:String = "\uf0a2";
+		public static const fa_coffee:String = "\uf0f4";
+		public static const fa_cutlery:String = "\uf0f5";
+		public static const fa_file_text_o:String = "\uf0f6";
+		public static const fa_building_o:String = "\uf0f7";
+		public static const fa_hospital_o:String = "\uf0f8";
+		public static const fa_ambulance:String = "\uf0f9";
+		public static const fa_medkit:String = "\uf0fa";
+		public static const fa_fighter_jet:String = "\uf0fb";
+		public static const fa_beer:String = "\uf0fc";
+		public static const fa_h_square:String = "\uf0fd";
+		public static const fa_plus_square:String = "\uf0fe";
+		public static const fa_angle_double_left:String = "\uf100";
+		public static const fa_angle_double_right:String = "\uf101";
+		public static const fa_angle_double_up:String = "\uf102";
+		public static const fa_angle_double_down:String = "\uf103";
+		public static const fa_angle_left:String = "\uf104";
+		public static const fa_angle_right:String = "\uf105";
+		public static const fa_angle_up:String = "\uf106";
+		public static const fa_angle_down:String = "\uf107";
+		public static const fa_desktop:String = "\uf108";
+		public static const fa_laptop:String = "\uf109";
+		public static const fa_tablet:String = "\uf10a";
+		public static const fa_mobile:String = "\uf10b";
+		public static const fa_circle_o:String = "\uf10c";
+		public static const fa_quote_left:String = "\uf10d";
+		public static const fa_quote_right:String = "\uf10e";
+		public static const fa_spinner:String = "\uf110";
+		public static const fa_circle:String = "\uf111";
+		public static const fa_reply:String = "\uf112";
+		public static const fa_github_alt:String = "\uf113";
+		public static const fa_folder_o:String = "\uf114";
+		public static const fa_folder_open_o:String = "\uf115";
+		public static const fa_smile_o:String = "\uf118";
+		public static const fa_frown_o:String = "\uf119";
+		public static const fa_meh_o:String = "\uf11a";
+		public static const fa_gamepad:String = "\uf11b";
+		public static const fa_keyboard_o:String = "\uf11c";
+		public static const fa_flag_o:String = "\uf11d";
+		public static const fa_flag_checkered:String = "\uf11e";
+		public static const fa_terminal:String = "\uf120";
+		public static const fa_code:String = "\uf121";
+		public static const fa_reply_all:String = "\uf122";
+		public static const fa_mail_reply_all:String = "\uf122";
+		public static const fa_star_half_o:String = "\uf123";
+		public static const fa_location_arrow:String = "\uf124";
+		public static const fa_crop:String = "\uf125";
+		public static const fa_code_fork:String = "\uf126";
+		public static const fa_chain_broken:String = "\uf127";
+		public static const fa_question:String = "\uf128";
+		public static const fa_info:String = "\uf129";
+		public static const fa_exclamation:String = "\uf12a";
+		public static const fa_superscript:String = "\uf12b";
+		public static const fa_subscript:String = "\uf12c";
+		public static const fa_eraser:String = "\uf12d";
+		public static const fa_puzzle_piece:String = "\uf12e";
+		public static const fa_microphone:String = "\uf130";
+		public static const fa_microphone_slash:String = "\uf131";
+		public static const fa_shield:String = "\uf132";
+		public static const fa_calendar_o:String = "\uf133";
+		public static const fa_fire_extinguisher:String = "\uf134";
+		public static const fa_rocket:String = "\uf135";
+		public static const fa_maxcdn:String = "\uf136";
+		public static const fa_chevron_circle_left:String = "\uf137";
+		public static const fa_chevron_circle_right:String = "\uf138";
+		public static const fa_chevron_circle_up:String = "\uf139";
+		public static const fa_chevron_circle_down:String = "\uf13a";
+		public static const fa_html5:String = "\uf13b";
+		public static const fa_css3:String = "\uf13c";
+		public static const fa_anchor:String = "\uf13d";
+		public static const fa_unlock_alt:String = "\uf13e";
+		public static const fa_bullseye:String = "\uf140";
+		public static const fa_ellipsis_h:String = "\uf141";
+		public static const fa_ellipsis_v:String = "\uf142";
+		public static const fa_rss_square:String = "\uf143";
+		public static const fa_play_circle:String = "\uf144";
+		public static const fa_ticket:String = "\uf145";
+		public static const fa_minus_square:String = "\uf146";
+		public static const fa_minus_square_o:String = "\uf147";
+		public static const fa_level_up:String = "\uf148";
+		public static const fa_level_down:String = "\uf149";
+		public static const fa_check_square:String = "\uf14a";
+		public static const fa_pencil_square:String = "\uf14b";
+		public static const fa_external_link_square:String = "\uf14c";
+		public static const fa_share_square:String = "\uf14d";
+		public static const fa_compass:String = "\uf14e";
+		public static const fa_caret_square_o_down:String = "\uf150";
+		public static const fa_caret_square_o_up:String = "\uf151";
+		public static const fa_caret_square_o_right:String = "\uf152";
+		public static const fa_eur:String = "\uf153";
+		public static const fa_gbp:String = "\uf154";
+		public static const fa_usd:String = "\uf155";
+		public static const fa_inr:String = "\uf156";
+		public static const fa_jpy:String = "\uf157";
+		public static const fa_rub:String = "\uf158";
+		public static const fa_krw:String = "\uf159";
+		public static const fa_btc:String = "\uf15a";
+		public static const fa_file:String = "\uf15b";
+		public static const fa_file_text:String = "\uf15c";
+		public static const fa_sort_alpha_asc:String = "\uf15d";
+		public static const fa_sort_alpha_desc:String = "\uf15e";
+		public static const fa_sort_amount_asc:String = "\uf160";
+		public static const fa_sort_amount_desc:String = "\uf161";
+		public static const fa_sort_numeric_asc:String = "\uf162";
+		public static const fa_sort_numeric_desc:String = "\uf163";
+		public static const fa_thumbs_up:String = "\uf164";
+		public static const fa_thumbs_down:String = "\uf165";
+		public static const fa_youtube_square:String = "\uf166";
+		public static const fa_youtube:String = "\uf167";
+		public static const fa_xing:String = "\uf168";
+		public static const fa_xing_square:String = "\uf169";
+		public static const fa_youtube_play:String = "\uf16a";
+		public static const fa_dropbox:String = "\uf16b";
+		public static const fa_stack_overflow:String = "\uf16c";
+		public static const fa_instagram:String = "\uf16d";
+		public static const fa_flickr:String = "\uf16e";
+		public static const fa_adn:String = "\uf170";
+		public static const fa_bitbucket:String = "\uf171";
+		public static const fa_bitbucket_square:String = "\uf172";
+		public static const fa_tumblr:String = "\uf173";
+		public static const fa_tumblr_square:String = "\uf174";
+		public static const fa_long_arrow_down:String = "\uf175";
+		public static const fa_long_arrow_up:String = "\uf176";
+		public static const fa_long_arrow_left:String = "\uf177";
+		public static const fa_long_arrow_right:String = "\uf178";
+		public static const fa_apple:String = "\uf179";
+		public static const fa_windows:String = "\uf17a";
+		public static const fa_android:String = "\uf17b";
+		public static const fa_linux:String = "\uf17c";
+		public static const fa_dribbble:String = "\uf17d";
+		public static const fa_skype:String = "\uf17e";
+		public static const fa_foursquare:String = "\uf180";
+		public static const fa_trello:String = "\uf181";
+		public static const fa_female:String = "\uf182";
+		public static const fa_male:String = "\uf183";
+		public static const fa_gittip:String = "\uf184";
+		public static const fa_sun_o:String = "\uf185";
+		public static const fa_moon_o:String = "\uf186";
+		public static const fa_archive:String = "\uf187";
+		public static const fa_bug:String = "\uf188";
+		public static const fa_vk:String = "\uf189";
+		public static const fa_weibo:String = "\uf18a";
+		public static const fa_renren:String = "\uf18b";
+		public static const fa_pagelines:String = "\uf18c";
+		public static const fa_stack_exchange:String = "\uf18d";
+		public static const fa_arrow_circle_o_right:String = "\uf18e";
+		public static const fa_arrow_circle_o_left:String = "\uf190";
+		public static const fa_caret_square_o_left:String = "\uf191";
+		public static const fa_dot_circle_o:String = "\uf192";
+		public static const fa_wheelchair:String = "\uf193";
+		public static const fa_vimeo_square:String = "\uf194";
+		public static const fa_try:String = "\uf195";
+		public static const fa_plus_square_o:String = "\uf196";
+
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/utils/ColorUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/ColorUtils.as b/frameworks/projects/flatspark/src/utils/ColorUtils.as
new file mode 100644
index 0000000..d8a3adb
--- /dev/null
+++ b/frameworks/projects/flatspark/src/utils/ColorUtils.as
@@ -0,0 +1,90 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.utils
+{
+	import mx.states.State;
+	
+	import flatSpark.enums.BrandColorEnum;
+	import flatSpark.enums.ButtonColorEnum;
+
+	public class ColorUtils
+	{	
+		public static const Turquoise:uint = 0x1ABC9C;
+		public static const GreenSea:uint = 0x16A085;
+		public static const Emerald:uint = 0x2ECC71;
+		public static const Nephritis:uint = 0x27AE60;
+		public static const PeterRiver:uint = 0x3498DB;
+		public static const BelizeHole:uint = 0x2980B9;
+		public static const Amethyst:uint = 0x9B59B6;
+		public static const Wisteria:uint = 0x8E44AD;
+		public static const WetAsphalt:uint = 0x34495E;
+		public static const MidnightBlue:uint = 0x2C3E50;
+		public static const SunFlower:uint = 0xF1C40F;
+		public static const Orange:uint = 0xF39C12;
+		public static const Carrot:uint = 0xE67E22;
+		public static const Pumpkin:uint = 0xD35400;
+		public static const Alizarin:uint = 0xE74C3C;
+		public static const Pomegranate:uint = 0xC0392B;
+		public static const Clouds:uint = 0xECF0F1;
+		public static const Silver:uint = 0xBDC3C7;
+		public static const Concrete:uint = 0x95A5A6;
+		public static const Asbestos:uint = 0x7F8C8D;
+		
+		public function ColorUtils()
+		{
+			
+		}		
+		
+		public static function ButtonColor(brand:int, estado:State):uint
+		{
+			// All the possible colors
+			var cores:Array = new Array(
+				ButtonColorEnum.PrimaryUp, ButtonColorEnum.PrimaryHover, ButtonColorEnum.PrimaryDown, ButtonColorEnum.PrimaryDisabled,
+				ButtonColorEnum.SuccessUp, ButtonColorEnum.SuccessHover, ButtonColorEnum.SuccessDown, ButtonColorEnum.SuccessDisabled,
+				ButtonColorEnum.WarningUp, ButtonColorEnum.WarningHover, ButtonColorEnum.WarningDown, ButtonColorEnum.WarningDisabled,
+				ButtonColorEnum.InverseUp, ButtonColorEnum.InverseHover, ButtonColorEnum.InverseDown, ButtonColorEnum.InverseDisabled,
+				ButtonColorEnum.DefaultUp, ButtonColorEnum.DefaultHover, ButtonColorEnum.DefaultDown, ButtonColorEnum.DefaultDisabled,
+				ButtonColorEnum.InfoUp, ButtonColorEnum.InfoHover, ButtonColorEnum.InfoDown, ButtonColorEnum.InfoDisabled,
+				ButtonColorEnum.DangerUp, ButtonColorEnum.DangerHover, ButtonColorEnum.DangerDown, ButtonColorEnum.DangerDisabled
+				);
+			
+			// Map all the allowed states
+			var numeroEstado:int = 1;
+			switch (estado.name)
+			{
+				case "up":
+					numeroEstado = 1;
+					break;
+				case "over":
+					numeroEstado = 2;
+					break;
+				case "down":
+					numeroEstado = 3;
+					break;
+				case "disabled":
+					numeroEstado = 3;
+					break;
+			}
+			
+			var posicao:int = 1;
+			posicao = 4 * (brand - 1) + (numeroEstado - 1); 
+			
+			return cores[posicao];
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/utils/ConfigSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/ConfigSkin.as b/frameworks/projects/flatspark/src/utils/ConfigSkin.as
new file mode 100644
index 0000000..b4ba4f3
--- /dev/null
+++ b/frameworks/projects/flatspark/src/utils/ConfigSkin.as
@@ -0,0 +1,44 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.utils
+{
+
+	import flatSpark.enums.ColorSwatchEnum;
+	import flatSpark.enums.SizeEnum;
+
+	public final class ConfigSkin
+	{
+
+		/*
+		*  Default size
+		*/
+		public static var sizeEnum:SizeEnum=new SizeEnum();
+
+		/*
+		*  Default color
+		*/
+		public static var colorSwatch:ColorSwatchEnum=new ColorSwatchEnum();
+
+
+		public function ConfigSkin()
+		{
+
+		}
+
+	}
+}


[16/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added build scripts and font licenses for FlatSpark

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml
new file mode 100644
index 0000000..cb8ab83
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark Button component.  
+
+@see spark.components.Button
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
+			 xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
+			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
+			 alpha.disabled="0.5">
+	<fx:Metadata>[HostComponent("flatspark.components.ButtonIcon")]</fx:Metadata>
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[         
+			import flatspark.enums.ButtonColorEnum;
+			import flatspark.enums.ButtonSizeEnum;
+			import flatspark.enums.TextInputSizeEnum;
+			import flatspark.utils.ColorUtils;
+
+			/* Define the skin elements that should not be colorized. 
+			For button, the graphics are colorized but the label is not. */
+			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+				super.initializationComplete();
+			}  
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{
+				var cr:Number = getStyle("cornerRadius");
+				
+				if (cornerRadius != cr)
+				{
+					cornerRadius = cr;
+					fill_up.radiusX = cornerRadius;
+					fill_over.radiusX = cornerRadius;
+					fill_down.radiusX = cornerRadius;
+					fill_disabled.radiusX = cornerRadius;
+				}
+				
+				/*var larguraIcone:int = 0;
+				if (iconFont.text != null && iconFont.text != "")
+				{
+					larguraIcone = 60;
+				}*/
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 2;
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 14;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 13;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 19;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 15;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>        
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" id="stateUp"/>
+		<s:State name="over" id="stateOver"/>
+		<s:State name="down" id="stateDown"/>
+		<s:State name="disabled" id="stateDisabled"/>
+	</s:states>
+	
+	
+	<!-- layer 2: fill -->
+	<!--- @private -->
+	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateUp)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateOver)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDown)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDisabled)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	
+	<!-- layer 8: text -->
+	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
+	<s:HGroup verticalAlign="middle" verticalCenter="0" horizontalAlign="center" horizontalCenter="0" left="10" right="10" top="2" bottom="2">
+		<s:Label id="iconFont" color="0xFFFFFF" color.disabled="0xE3E3E3" text="{hostComponent.iconFont}"
+				 textAlign="left" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome"
+				 maxDisplayedLines="1" includeInLayout="{hostComponent.iconFont != null}"
+				 horizontalCenter="0" verticalCenter="0" verticalAlign="middle">
+		</s:Label>
+		
+		<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3"
+				 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
+				 maxDisplayedLines="1"
+				 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
+		</s:Label>
+	</s:HGroup>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ButtonSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ButtonSkin.mxml
new file mode 100644
index 0000000..ce56543
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ButtonSkin.mxml
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark Button component.  
+
+@see spark.components.Button
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
+			 xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
+			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
+			 alpha.disabled="0.5">
+	<fx:Metadata>[HostComponent("spark.components.Button")]</fx:Metadata>
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[         
+			import flatspark.enums.BrandColorEnum;
+			import flatspark.enums.ButtonColorEnum;
+			import flatspark.enums.ButtonSizeEnum;
+			import flatspark.enums.TextInputSizeEnum;
+			import flatspark.utils.ColorUtils;
+
+			/* Define the skin elements that should not be colorized. 
+			For button, the graphics are colorized but the label is not. */
+			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+				super.initializationComplete();
+			}  
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{
+				var cr:Number = getStyle("cornerRadius");
+				
+				if (cornerRadius != cr)
+				{
+					cornerRadius = cr;
+					fill_up.radiusX = cornerRadius;
+					fill_over.radiusX = cornerRadius;
+					fill_down.radiusX = cornerRadius;
+					fill_disabled.radiusX = cornerRadius;
+				}
+				
+				/*var larguraIcone:int = 0;
+				if (iconFont.text != null && iconFont.text != "")
+				{
+					larguraIcone = 60;
+				}*/
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 2;
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 14;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 13;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 19;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 15;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>        
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" id="stateUp"/>
+		<s:State name="over" id="stateOver"/>
+		<s:State name="down" id="stateDown"/>
+		<s:State name="disabled" id="stateDisabled"/>
+	</s:states>
+	
+	
+	<!-- layer 2: fill -->
+	<!--- @private -->
+	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateUp)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateOver)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDown)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDisabled)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	
+	<!-- layer 8: text -->
+	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
+	<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3" right="10" left="10"
+			 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
+			 maxDisplayedLines="1"
+			 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
+	</s:Label>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/CheckBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/CheckBoxSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/CheckBoxSkin.mxml
new file mode 100644
index 0000000..504bf2d
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/CheckBoxSkin.mxml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<!--- The default skin class for the Spark CheckBox component.  
+
+      @see spark.components.CheckBox
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+             xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5" useHandCursor="true">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.CheckBox")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For button, the graphics are colorized but the label is not. */
+        static private const exclusions:Array = ["labelDisplay", "check"];
+
+       /** 
+        * @private 
+        */     
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
+        static private const symbols:Array = [];
+
+       /**
+        * @private 
+        */
+        override public function get symbolItems():Array {return symbols};
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+            /** 
+             * @private 
+             */     
+            private static const focusExclusions:Array = ["labelDisplay"];
+
+            /**
+             * @private
+             */
+            override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" stateGroups="overStates" />
+        <s:State name="down" stateGroups="downStates" />
+        <s:State name="disabled" stateGroups="disabledStates" />
+        <s:State name="upAndSelected" stateGroups="selectedStates" />
+        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
+        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
+        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
+    </s:states>
+    
+    <s:Group verticalCenter="0" width="22" height="22" layoutDirection="ltr">
+        <!-- fill -->
+        <s:Rect left="1" top="1" right="1" bottom="1" radiusX="6">
+            <s:fill>
+                <s:SolidColor color="{ColorUtils.Silver}"/>
+            </s:fill>
+        </s:Rect>
+		
+		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="overStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Asbestos}"/>
+			</s:fill>
+		</s:Rect>
+		
+		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="selectedStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}"/>
+			</s:fill>
+		</s:Rect>
+        
+		<!--<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="overStates"
+				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" alpha="0.75"
+				 />-->
+		
+		<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="selectedStates"
+				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0"
+				 />
+    </s:Group>
+
+    <!-- Label -->
+    <!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
+    <s:Label id="labelDisplay"
+             textAlign="start" color="{ColorUtils.WetAsphalt}"
+             verticalAlign="middle" fontSize="14"
+             maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
+             left="0" right="0" top="3" bottom="3" verticalCenter="2" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxButtonSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxButtonSkin.mxml
new file mode 100644
index 0000000..5ca63a7
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxButtonSkin.mxml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the anchor button on a Spark ComboBox component.  
+
+@see spark.components.ComboBox        
+@see spark.skins.spark.ComboBoxSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+			/* Define the skin elements that should not be colorized. 
+			For dropDownList buttons, the graphics are colorized but the arrow is not. */
+			static private const exclusions:Array = [];
+			
+			private var cornerRadius:Number = 4;
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+			static private const symbols:Array = [];
+			
+			/**
+			 * @private 
+			 */
+			override public function get symbolItems():Array {return symbols};
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				fill.bottomRightRadiusX = fill.topRightRadiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+		]]>
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- layer 1: fill -->
+	<!--- @private -->
+	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!--- The arrow graphic displayed in the anchor button. -->
+	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxSkin.mxml
new file mode 100644
index 0000000..c412365
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxSkin.mxml
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the Spark ComboBox component. 
+The skin for the anchor button for a ComboBox component 
+is defined by the ComboBoxButtonSkin class.  The skin for the text input
+is defined by the ComboBoxTextInputSkin class.
+
+@see spark.components.ComboBox        
+@see spark.skins.spark.ComboBoxButtonSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.ComboBox")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[       
+			import mx.events.FlexEvent;
+			
+			import flatspark.utils.ColorUtils;
+			private var paddingChanged:Boolean;
+			private var cornerRadiusChanged:Boolean;
+			private var cornerRadius:Number = 4;            
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			override public function get contentItems():Array {return contentFill; }
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="open" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!--- 
+	The PopUpAnchor control that opens the drop-down list. 
+	
+	<p>In a custom skin class that uses transitions, set the 
+	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
+	-->
+	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
+				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
+		
+		<!--- 
+		This includes borders, background colors, scrollers, and filters. 
+		@copy spark.components.supportClasses.DropDownListBase#dropDown
+		-->
+		<s:Group id="dropDown">
+			
+			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
+				<s:fill>
+					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
+				</s:fill>
+			</s:Path>
+			
+			<!-- fill -->
+			<!--- Defines the appearance of drop-down list's background fill. -->
+			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
+				<s:fill>
+					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
+				</s:fill>
+			</s:Rect>
+			<!--- @private -->
+			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatspark.skins.ScrollerSkin">
+				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
+				<s:DataGroup id="dataGroup" itemRenderer="flatspark.itemRenderers.DefaultItemRenderer">
+					<s:layout>
+						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
+					</s:layout>
+				</s:DataGroup> 
+			</s:Scroller>
+		</s:Group>
+	</s:PopUpAnchor>
+	
+	<!---  The default skin is ComboBoxButtonSkin. 
+	@copy spark.components.supportClasses.DropDownListBase#openButton
+	@see spark.skins.spark.ComboBoxButtonSkin -->
+	<s:Button id="openButton" width="29" right="0" top="0" bottom="0" focusEnabled="false"
+			  skinClass="flatspark.skins.ComboBoxButtonSkin" tabEnabled="false" />  
+	<!--- @copy spark.components.ComboBox#textInput -->
+	<s:TextInput id="textInput" enabled.disabled="false"
+				 left="0" right="29" top="0" bottom="0" 
+				 skinClass="flatspark.skins.ComboBoxTextInputSkin"/> 
+	
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxTextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxTextInputSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxTextInputSkin.mxml
new file mode 100644
index 0000000..92acf4f
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ComboBoxTextInputSkin.mxml
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the textInput of a Spark ComboBox component.  
+
+@see spark.components.ComboBox
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" 
+			 blendMode="normal">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.TextInput")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+			
+			private var paddingChanged:Boolean;
+			private var cornerRadius:Number = 4;
+			
+			/* Define the skin elements that should not be colorized. */
+			static private const exclusions:Array = ["background", "textDisplay", "promptDisplay"];
+			
+			/**
+			 * @private
+			 */   
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			/**
+			 *  @private
+			 */
+			override public function get contentItems():Array {return contentFill; }
+			
+			/**
+			 *  @private
+			 */
+			override protected function commitProperties():void
+			{
+				super.commitProperties();
+				
+				if (paddingChanged)
+				{
+					updatePadding();
+					paddingChanged = false;
+				}
+			}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				if (promptDisplay)
+				{
+					promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+					promptDisplay.setLayoutBoundsPosition(8, 0);
+				}
+				
+				background.bottomLeftRadiusX = background.topLeftRadiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			/**
+			 *  @private
+			 */
+			private function updatePadding():void
+			{
+				if (!textDisplay)
+					return;
+				
+				// Push padding styles into the textDisplay
+				var padding:Number;
+				
+				padding = getStyle("paddingLeft");
+				if (textDisplay.getStyle("paddingLeft") != padding)
+					textDisplay.setStyle("paddingLeft", padding);
+				
+				padding = getStyle("paddingTop");
+				if (textDisplay.getStyle("paddingTop") != padding)
+					textDisplay.setStyle("paddingTop", padding);
+				
+				padding = getStyle("paddingRight");
+				if (textDisplay.getStyle("paddingRight") != padding)
+					textDisplay.setStyle("paddingRight", padding);
+				
+				padding = getStyle("paddingBottom");
+				if (textDisplay.getStyle("paddingBottom") != padding)
+					textDisplay.setStyle("paddingBottom", padding);
+				
+				if (!promptDisplay)
+					return;
+				
+				padding = getStyle("paddingLeft");
+				if (promptDisplay.getStyle("paddingLeft") != padding)
+					promptDisplay.setStyle("paddingLeft", padding);
+				
+				padding = getStyle("paddingTop");
+				if (promptDisplay.getStyle("paddingTop") != padding)
+					promptDisplay.setStyle("paddingTop", padding);
+				
+				padding = getStyle("paddingRight");
+				if (promptDisplay.getStyle("paddingRight") != padding)
+					promptDisplay.setStyle("paddingRight", padding);
+				
+				padding = getStyle("paddingBottom");
+				if (promptDisplay.getStyle("paddingBottom") != padding)
+					promptDisplay.setStyle("paddingBottom", padding);
+			}
+			
+			/**
+			 *  @private
+			 */
+			override public function styleChanged(styleProp:String):void
+			{
+				var allStyles:Boolean = !styleProp || styleProp == "styleName";
+				
+				super.styleChanged(styleProp);
+				
+				if (allStyles || styleProp.indexOf("padding") == 0)
+				{
+					paddingChanged = true;
+					invalidateProperties();
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Script>
+		<![CDATA[
+			/** 
+			 * @private 
+			 */     
+			private static const focusExclusions:Array = ["textDisplay"];
+			
+			/**
+			 *  @private
+			 */
+			override public function get focusSkinExclusions():Array { return focusExclusions;};
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal"/>
+		<s:State name="disabled" stateGroups="disabledStates"/>
+		<s:State name="normalWithPrompt"/>
+		<s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+	</s:states>
+	
+	<!-- fill -->
+	<!--- Defines the appearance of the TextInput component's background. -->
+	<s:Rect id="background" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor id="bgFill" color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+	<!--	<s:RichEditableText id="textDisplay"
+	lineBreak="explicit"
+	widthInChars="10" verticalCenter="0"/>-->
+	<s:RichEditableText id="textDisplay" verticalAlign="middle" lineBreak="explicit" backgroundColor="{ColorUtils.Turquoise}"
+						widthInChars="10" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF"
+						left="8" right="8" top="8" bottom="8" fontSize="15" verticalCenter="0"/>
+	<!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+	<!--	<s:Label id="promptDisplay" maxDisplayedLines="1"
+	verticalAlign="middle"
+	mouseEnabled="false" mouseChildren="false"
+	includeIn="normalWithPrompt,disabledWithPrompt" 
+	includeInLayout="false"/>-->
+	<s:Label id="promptDisplay" maxDisplayedLines="1"
+			 verticalAlign="middle" fontFamily="Lato" fontSize="15" fontWeight="normal" fontStyle="italic" color="{ColorUtils.Clouds}"
+			 mouseEnabled="false" mouseChildren="false" left="8" right="8" top="8" bottom="8" verticalCenter="0"
+			 includeIn="normalWithPrompt,disabledWithPrompt" 
+			 includeInLayout="false"/>
+	
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/DropDownListButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/DropDownListButtonSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/DropDownListButtonSkin.mxml
new file mode 100644
index 0000000..2d284a4
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/DropDownListButtonSkin.mxml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the anchor button on a Spark DropDownList component.  
+
+@see spark.components.DropDownList        
+@see spark.skins.spark.DropDownListSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+			/* Define the skin elements that should not be colorized. 
+			For dropDownList buttons, the graphics are colorized but the arrow is not. */
+			static private const exclusions:Array = [];
+			
+			/**
+			 * @private
+			 */  
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+			static private const symbols:Array = [];
+			
+			/**
+			 * @private
+			 */
+			override public function get symbolItems():Array {return symbols};
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				fill.radiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 4;
+			
+		]]>
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- layer 1: fill -->
+	<!--- @private -->
+	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!--- The arrow graphic displayed in the anchor button. -->
+	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/DropDownListSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/DropDownListSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/DropDownListSkin.mxml
new file mode 100644
index 0000000..d0a0a5f
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/DropDownListSkin.mxml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the Spark DropDownList component. 
+The skin for the anchor button for a DropDownList component 
+is defined by the DropDownListButtonSkin class.  
+
+<p>In a custom skin class that uses transitions, set the 
+<code>itemDestructionPolicy</code> property to <code>never</code>
+for the PopUpAnchor defined by the popUp property.</p>      
+
+@see spark.components.DropDownList        
+@see spark.skins.spark.DropDownListButtonSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.DropDownList")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[            
+			import mx.events.FlexEvent;
+			
+			import flatspark.itemRenderers.DefaultItemRenderer;
+			import flatspark.utils.ColorUtils;
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			/**
+			 * @private
+			 */
+			override public function get contentItems():Array { return contentFill; }
+			
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{		
+				//background.bottomRightRadiusX = background.topRightRadiusX = cornerRadius;
+
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 4;
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="open" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!--- 
+	The PopUpAnchor control that opens the drop-down list. 
+	
+	<p>In a custom skin class that uses transitions, set the 
+	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
+	-->
+	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
+				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
+		
+		<!--- 
+		This includes borders, background colors, scrollers, and filters.
+		@copy spark.components.supportClasses.DropDownListBase#dropDown
+		-->
+		<s:Group id="dropDown">
+			
+			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
+				<s:fill>
+					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
+				</s:fill>
+			</s:Path>
+			
+			<!-- fill -->
+			<!--- Defines the appearance of drop-down list's background fill. -->
+			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
+				<s:fill>
+					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
+				</s:fill>
+			</s:Rect>
+			
+			<!--- @private -->
+			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatspark.skins.ScrollerSkin">
+				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
+				<s:DataGroup id="dataGroup" itemRenderer="flatspark.itemRenderers.DefaultItemRenderer">
+					<s:layout>
+						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
+					</s:layout>
+				</s:DataGroup> 
+			</s:Scroller>
+		</s:Group>
+	</s:PopUpAnchor>
+	
+	<!---  The default skin is DropDownListButtonSkin. 
+	@copy spark.components.supportClasses.DropDownListBase#openButton
+	@see spark.skins.spark.DropDownListButtonSkin -->
+	<s:Button id="openButton" width="29" left="0" right="0" top="0" bottom="0" focusEnabled="false" tabEnabled="false"
+			  skinClass="flatspark.skins.DropDownListButtonSkin" />  
+	
+	<!--- @copy spark.components.DropDownList#labelDisplay -->
+
+	<s:Label id="labelDisplay" verticalAlign="middle" maxDisplayedLines="1"  backgroundColor="{ColorUtils.Turquoise}"
+			 mouseEnabled="false" mouseChildren="false" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF" 
+			 left="10" right="37" top="8" bottom="8" fontSize="15" verticalCenter="0"></s:Label> 
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarSkin.mxml
new file mode 100644
index 0000000..9280a7d
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarSkin.mxml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark HScrollBar component. The thumb and track skins are defined by the
+HScrollBarThumbSkin and HScrollBarTrackSkin classes, respectively.  
+
+       @see spark.components.HScrollBar
+       @see spark.skins.spark.HScrollBarThumbSkin
+       @see spark.skins.spark.HScrollBarTrackSkin
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="35" minHeight="15" 
+    alpha.disabled="0.5" alpha.inactive="0.5">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.HScrollBar")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For scroll bar, the skin itself is colorized but the individual parts are not. */
+        static private const exclusions:Array = ["track", "thumb"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="inactive" />
+    </s:states>
+    
+    <!---  The default skin class is HScrollBarTrackSkin.    
+            @copy spark.components.supportClasses.TrackBase#track
+            @see spark.skins.spark.HScrollBarTrackSkin -->
+    <s:Button id="track" left="0" right="0" width="54" 
+              focusEnabled="false" tabEnabled="false"
+              skinClass="flatspark.skins.HScrollBarTrackSkin" />
+
+    <!---  The default skin class is HScrollBarThumbSkin. 
+            @copy spark.components.supportClasses.TrackBase#thumb
+            @see spark.skins.spark.HScrollBarThumbSkin -->
+    <s:Button id="thumb" 
+              focusEnabled="false" visible.inactive="false" tabEnabled="false"
+              skinClass="flatspark.skins.HScrollBarThumbSkin" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarThumbSkin.mxml
new file mode 100644
index 0000000..6c510d7
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarThumbSkin.mxml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the thumb of a Spark HScrollBar component.  
+
+@see spark.components.HScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- background -->
+	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
+		<s:stroke>
+			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
+		</s:stroke>
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Silver}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarTrackSkin.mxml
new file mode 100644
index 0000000..ef2c551
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/HScrollBarTrackSkin.mxml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the track on a Spark HScrollBar component.  
+
+@see spark.components.HScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="down" />
+		<s:State name="over" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- border/fill -->
+	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/PanelSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/PanelSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/PanelSkin.mxml
new file mode 100644
index 0000000..9df0ea7
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/PanelSkin.mxml
@@ -0,0 +1,253 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for a Spark Panel container.  
+
+    @see spark.components.Panel
+
+    @langversion 3.0
+    @playerversion Flash 10
+    @playerversion AIR 1.5
+    @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false" 
+    minWidth="131" minHeight="127" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+    
+    <fx:Metadata>
+        <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.Panel")]
+        ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatspark.utils.ColorUtils;
+		
+		/* Define the skin elements that should not be colorized. 
+        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
+        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup", "border"];
+			
+		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
+		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array 
+		{
+			// Since border is styleable via borderColor, no need to allow chromeColor to affect
+			// the border.  This is wrapped in a compatibility flag since this change was added  
+			// in Flex 4.5
+			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+			{
+				return exclusions_4_0;
+			}
+			
+			return exclusions;
+		}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         * @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {            
+			dropShadow.tlRadius = cornerRadius;
+			dropShadow.trRadius = cornerRadius;
+			dropShadow.blRadius = cornerRadius;
+			dropShadow.brRadius = cornerRadius;
+			
+			setPartCornerRadii(topMaskRect);  
+			setPartCornerRadii(background);  
+            
+			if (bottomMaskRect != null)
+			{
+				setPartCornerRadii(bottomMaskRect);
+			}
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+        
+        /**
+         * @private
+         */  
+        private function setPartCornerRadii(target:Rect):void
+        {            
+            target.topLeftRadiusX = cornerRadius;
+            target.topRightRadiusX = cornerRadius;
+            target.bottomLeftRadiusX = cornerRadius;
+            target.bottomRightRadiusX = cornerRadius;
+        }
+        
+		private var cornerRadius:Number=4;
+		]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="normalWithControlBar" stateGroups="withControls" />
+        <s:State name="disabledWithControlBar" stateGroups="withControls" />
+    </s:states>
+    
+    <!-- drop shadow can't be hittable so it stays sibling of other graphics -->
+    <!--- @private -->
+    <s:RectangularDropShadow id="dropShadow" blurX="4" distance="0" angle="90" alpha="1"
+                          color="{ColorUtils.Silver}" left="0" top="0" right="0" bottom="0"/>
+    
+    <!-- drop shadow can't be hittable so all other graphics go in this group -->
+    <s:Group left="0" right="0" top="0" bottom="0">
+        
+        <!-- top group mask -->
+        <!--- @private -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
+            <!--- @private -->
+            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!-- bottom group mask -->
+        <!--- @private -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask" 
+                 includeIn="normalWithControlBar, disabledWithControlBar">
+            <!--- @private -->
+            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!-- layer 2: background fill -->
+        <!--- Defines the appearance of the PanelSkin class's background. -->
+        <s:Rect id="background" left="0" top="0" right="0" bottom="0">
+            <s:fill>
+                <!--- @private
+                      Defines the  PanelSkin class's background fill. The default color is 0xFFFFFF. -->
+                <s:SolidColor id="backgroundFill" color="0xFFFFFF"/>
+            </s:fill>
+        </s:Rect>
+        
+        <!-- layer 3: contents -->
+        <!--- Contains the vertical stack of titlebar content and controlbar. -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="contents">
+            <s:layout>
+                <s:VerticalLayout gap="0" horizontalAlign="justify" />
+            </s:layout>
+            
+            <!--- @private -->
+            <s:Group id="topGroup" mask="{topGroupMask}">
+                
+                <!-- layer 0: title bar fill -->
+                <!--- @private -->
+                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 1: title bar highlight -->
+                <!--- @private -->
+                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 2: title bar divider -->
+                <!--- @private -->
+                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 3: text -->
+                <!--- @copy spark.components.Panel#titleDisplay -->
+				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
+						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
+						 verticalAlign="middle" fontWeight="bold" />
+            </s:Group>
+            
+            <!--
+                Note: setting the minimum size to 0 here so that changes to the host component's
+                size will not be thwarted by this skin part's minimum size.   This is a compromise,
+                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+            -->
+            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
+            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+            </s:Group>
+            
+            <!--- @private -->
+            <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+                     includeIn="normalWithControlBar, disabledWithControlBar" >
+                
+                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
+
+                    <!-- layer 0: control bar divider line -->
+                    <s:Rect left="0" right="0" top="0" height="1" alpha="0.5">
+                        <s:fill>
+							<s:SolidColor color="{ColorUtils.Silver}" />
+                        </s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 1: control bar highlight -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="{ColorUtils.Clouds}" />
+						</s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 2: control bar fill -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="{ColorUtils.Clouds}" />
+						</s:fill>
+                    </s:Rect>
+                </s:Group>
+                <!-- layer 3: control bar -->
+                <!--- @copy spark.components.Panel#controlBarGroup -->
+                <s:Group id="controlBarGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0">
+                    <s:layout>
+                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+                    </s:layout>
+                </s:Group>
+            </s:Group>
+        </s:Group>
+    </s:Group>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ProgressBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ProgressBarSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ProgressBarSkin.mxml
new file mode 100644
index 0000000..e9bcb45
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ProgressBarSkin.mxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark">
+	<fx:Metadata>
+		[HostComponent("spark.components.ProgressBar")]
+	</fx:Metadata>
+	
+	<fx:Script>
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+		]]>
+	</fx:Script>
+	<s:Rect left="0" minHeight="14" top="0" bottom="0" right="0" radiusX="4">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Clouds}" />
+		</s:fill>
+	</s:Rect>
+	<s:Group id="progressGroup" top="0" bottom="0"
+			 left="{hostComponent.direction=='left' ? 0 : NaN}"
+			 right="{hostComponent.direction=='right' ? 0 : NaN}">
+		<s:Rect left="0" top="0" bottom="0" right="0" radiusX="4">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}" />
+			</s:fill>
+		</s:Rect>
+		<!--
+		Variant #2 (looks nicer) - uncomment this and remove last Label declaration
+		<s:Label id="percentDisplay"
+		right="2" verticalCenter="0" verticalAlign="middle"
+		visible="{progressBox.width > percentDisplay.width + 4}"
+		includeInLayout="{progressBox.width > percentDisplay.width + 4}"/>
+		-->
+	</s:Group>
+	<s:Label id="percentDisplay" left="2" right="2" verticalCenter="0" verticalAlign="middle" color="{ColorUtils.WetAsphalt}" fontFamily="Lato" fontWeight="bold" fontSize="13" textAlign="center" />
+
+</s:Skin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/RadioButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/RadioButtonSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/RadioButtonSkin.mxml
new file mode 100644
index 0000000..97e2bb1
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/RadioButtonSkin.mxml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<!--- The default skin class for a Spark RadioButton component.  
+
+       @see spark.components.RadioButton
+       @see spark.components.RadioButtonGroup
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5">
+	<fx:Metadata>[HostComponent("spark.components.RadioButton")]</fx:Metadata>
+
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For button, the graphics are colorized but the label is not. */
+        static private const exclusions:Array = ["labelDisplay", "dot"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
+        static private const symbols:Array = [];
+        
+        /**
+         * @private
+         */
+        override public function get symbolItems():Array {return symbols};
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+			import flatspark.utils.ColorUtils;
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["labelDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" stateGroups="overStates" />
+        <s:State name="down" stateGroups="downStates" />
+        <s:State name="disabled" stateGroups="disabledStates" />
+        <s:State name="upAndSelected" stateGroups="selectedStates" />
+        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
+        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
+        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
+    </s:states>
+    
+	<s:Group verticalCenter="0" width="22" height="22">
+		<!-- fill -->
+		<s:Ellipse left="1" top="1" right="1" bottom="1">
+			<s:fill>
+				<s:SolidColor color="#FFFFFF" />
+			</s:fill>
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Silver}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="overStates">
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Asbestos}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="selectedStates">
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Turquoise}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="8" top="8" right="8" bottom="8" includeIn="selectedStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}" />
+			</s:fill>			
+		</s:Ellipse>
+		
+		
+	</s:Group>
+	
+	<!-- Label -->
+	<!---  @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
+	<s:Label id="labelDisplay"
+			 textAlign="start" color="{ColorUtils.WetAsphalt}"
+			 verticalAlign="middle" fontSize="14"
+			 maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
+			 left="0" right="0" top="3" bottom="3"/>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/ScrollerSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ScrollerSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ScrollerSkin.mxml
new file mode 100644
index 0000000..8852778
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/ScrollerSkin.mxml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--
+
+Scroller unconditionally sets its skin's layout to private layout
+implementation that handles the scroll policies.  Scroller skins can
+only provide replacement scrollbars.  The skin's layout and
+constraints or dimensions set on skin parts will not be honored.  To
+gain more control over the layout of a viewport and its scrollbars,
+instead of using Scroller, add them to a Group and use the ScrollBar component's
+viewport property to link them together.
+ 
+-->
+
+<!--- The default skin class for the Spark Scroller component. 
+
+     @see spark.components.Scroller
+    
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.Scroller")]
+    ]]>
+    </fx:Metadata> 
+
+    <fx:Script>
+    <![CDATA[    
+        /**
+         *  @private
+         */
+        override public function beginHighlightBitmapCapture() : Boolean
+        {
+            var needUpdate:Boolean = super.beginHighlightBitmapCapture();
+            
+            // Draw an opaque rect that fill our entire skin. Our background
+            // is transparent, but we don't want focus/error skins to
+            // poke through.  This is safe to do since we don't have any 
+            // graphic elements as direct children.
+            graphics.beginFill(0);
+            graphics.drawRect(0, 0, width, height);
+            graphics.endFill();
+
+            return needUpdate;
+        }
+        
+        /**
+         *  @private
+         */
+        override public function endHighlightBitmapCapture() : Boolean
+        {
+            var needUpdate:Boolean = super.endHighlightBitmapCapture();
+            
+            // Clear the rect we drew in beginBitmapCapture();
+            graphics.clear();
+
+            return needUpdate;
+        }
+    ]]>
+    </fx:Script>
+    
+    <fx:Declarations>
+        <!---  A vertical scrollbar that lets you control the portion of data that is displayed 
+        when there is too much data to fit vertically in a display area.
+        The Scroller determines whether the vertical ScrollBar is visible. -->
+        <fx:Component id="verticalScrollBarFactory">
+            <s:VScrollBar visible="false" skinClass="flatspark.skins.VScrollBarSkin" />
+        </fx:Component>
+        
+        <!---  A horizontal scrollbar that lets you control the portion of data that is displayed 
+        when there is too much data to fit horizontally in a display area.
+        The Scroller determines whether the horizontal ScrollBar is visible. -->
+        <fx:Component  id="horizontalScrollBarFactory">
+            <s:HScrollBar visible="false" skinClass="flatspark.skins.HScrollBarSkin" />
+        </fx:Component> 
+
+    </fx:Declarations>
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/TextInputIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/TextInputIconSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/TextInputIconSkin.mxml
new file mode 100644
index 0000000..a4b167a
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/TextInputIconSkin.mxml
@@ -0,0 +1,338 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for Spark TextInput component.  
+
+     @see spark.components.TextInput
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
+    alpha.disabledStates="0.5" blendMode="normal">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("flatspark.components.TextInputIcon")]
+    ]]>
+    </fx:Metadata> 
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
+		@namespace spark "spark.skins.spark.*";
+		
+		*
+		{
+			/*focusColor: #FFFFFF;
+			focusThickness: 1px;
+			focusAlpha: 1;*/
+			/*focusAlpha: 0;*/
+			errorColor: #E74C3C;
+		}
+	</fx:Style>
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatspark.enums.ButtonSizeEnum;
+			import flatspark.enums.TextInputSizeEnum;
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+        private var paddingChanged:Boolean;
+        
+        /* Define the skin elements that should not be colorized. */
+        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
+        
+        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
+        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
+        
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array 
+        {
+            // Since border is styleable via borderColor, no need to allow chromeColor to affect
+            // the border.  This is wrapped in a compatibility flag since this change was added  
+            // in Flex 4.5
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+            {
+                return exclusions_4_0;
+            }
+            
+            return exclusions;
+        }
+        
+        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+        static private const contentFill:Array = ["bgFill"];
+
+        /**
+         *  @private
+         */
+        override public function get contentItems():Array {return contentFill};
+        
+        /**
+         *  @private
+         */
+        override protected function commitProperties():void
+        {
+            super.commitProperties();
+            
+            if (paddingChanged)
+            {
+                updatePadding();
+                paddingChanged = false;
+            }
+        }
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         *  @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+            if (getStyle("borderVisible") == true)
+            {
+                border.visible = true;
+                background.left = background.top = background.right = background.bottom = 2;
+                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
+				textDisplay.right = 30;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
+                    promptDisplay.setLayoutBoundsPosition(5, 5);
+                }
+            }
+            else
+            {
+                border.visible = false;
+                background.left = background.top = background.right = background.bottom = 0;
+                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+                    promptDisplay.setLayoutBoundsPosition(0, 0);
+                }
+            }
+            
+            /*borderStroke.color = getStyle("borderColor");
+            borderStroke.alpha = getStyle("borderAlpha");*/
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+
+        /**
+         *  @private
+         */
+        private function updatePadding():void
+        {
+            if (!textDisplay)
+                return;
+            
+            // Push padding styles into the textDisplay
+            var padding:Number;
+            
+            padding = getStyle("paddingLeft");
+            if (textDisplay.getStyle("paddingLeft") != padding)
+                textDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (textDisplay.getStyle("paddingTop") != padding)
+                textDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (textDisplay.getStyle("paddingRight") != padding)
+                textDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (textDisplay.getStyle("paddingBottom") != padding)
+                textDisplay.setStyle("paddingBottom", padding);
+            
+            if (!promptDisplay)
+                return;
+            
+            padding = getStyle("paddingLeft");
+            if (promptDisplay.getStyle("paddingLeft") != padding)
+                promptDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (promptDisplay.getStyle("paddingTop") != padding)
+                promptDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (promptDisplay.getStyle("paddingRight") != padding)
+                promptDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (promptDisplay.getStyle("paddingBottom") != padding)
+                promptDisplay.setStyle("paddingBottom", padding);
+        }
+        
+        /**
+         *  @private
+         */
+        override public function styleChanged(styleProp:String):void
+        {
+            var allStyles:Boolean = !styleProp || styleProp == "styleName";
+
+            super.styleChanged(styleProp);
+            
+            if (allStyles || styleProp.indexOf("padding") == 0)
+            {
+                paddingChanged = true;
+                invalidateProperties();
+            }
+        }
+			
+			protected function textDisplay_focusInHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Asbestos;
+				iconFont.setStyle("color", ColorUtils.Asbestos);
+			}
+			
+			protected function textDisplay_focusOutHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Silver;
+				iconFont.setStyle("color", ColorUtils.Silver);
+			}
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 15;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 13;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 19;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 15;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["textDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal"/>
+        <s:State name="disabled" stateGroups="disabledStates"/>
+        <s:State name="normalWithPrompt"/>
+        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+    </s:states>
+    
+    <!-- border --> 
+    <!--- @private -->
+    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
+        <s:stroke>     
+            <!--- @private -->
+            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
+        </s:stroke>
+    </s:Rect>
+
+    <!-- fill -->
+    <!--- Defines the appearance of the TextInput component's background. -->
+    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
+        <s:fill>
+            <!--- @private Defines the background fill color. -->
+            <s:SolidColor id="bgFill" color="0xFFFFFF" />
+        </s:fill>
+    </s:Rect>
+	
+	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
+		<s:fill>
+			<s:SolidColor color="0xf4f6f6"/>
+		</s:fill>
+	</s:Rect>
+    
+    <!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+    <s:RichEditableText id="textDisplay"
+              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
+              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
+              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
+    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
+                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
+                mouseEnabled="false" mouseChildren="false"
+                includeIn="normalWithPrompt,disabledWithPrompt" 
+                includeInLayout="false"
+                />
+	<s:Label id="iconFont" color="{ColorUtils.Silver}" color.disabledStates="{ColorUtils.Silver}" text="{hostComponent.iconFont}"
+			 textAlign="right" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome" fontStyle="normal"
+			 maxDisplayedLines="1" mouseChildren="false" mouseEnabled="false"
+			 horizontalCenter="0" verticalCenter="0" verticalAlign="middle"
+			 left="8" right="8" top="2" bottom="2" includeInLayout="{iconFont != null}">
+	</s:Label>
+</s:SparkSkin>


[30/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Edits for new version

Posted by bi...@apache.org.
Edits for new version

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 1b2906ed1be33d36f20b1ded1f834b476def7904
Parents: 1a88f76
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 17 12:12:48 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 17 12:12:48 2014 +0100

----------------------------------------------------------------------
 README | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1b2906ed/README
----------------------------------------------------------------------
diff --git a/README b/README
index ef92014..809d5a3 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ Apache Flex (Flex)
 Apache Flex SDK is an application development framework for easily building
 Flash-based applications for mobile devices, web browsers, and desktops.
 
-Apache Flex 4.13.0 is a follow up release to Apache Flex 4.12.1. This version
+Apache Flex 4.14.0 is a follow up release to Apache Flex 4.13.0. This version
 adds new features and implements bug fixes that were unavailable in previous
 versions. It is compatible with most code written to target Adobe Flex 4.6.
 
@@ -98,7 +98,7 @@ For further information visit
 
 
 
-Building Apache Flex 4.13.0
+Building Apache Flex 4.14.0
 ===========================
 
 Apache Flex is a large project. It requires some build tools which must be
@@ -513,7 +513,7 @@ If you have an existing installation of Flash Builder run:
     /ide/constructFlexForIDE.sh (on Mac and Linux)
     /ide/constructFlexForIDE.bat (on Windows)
 
-This will create an Apache Flex 4.13.0 SDK that can be used with Flash Builder
+This will create an Apache Flex 4.14.0 SDK that can be used with Flash Builder
 by copying the required files from the Adobe Flex 4.6 SDK.
 
 To create an SDK for other IDE or if you want to use Adobe AIR 14.0
@@ -522,7 +522,7 @@ To create an SDK for other IDE or if you want to use Adobe AIR 14.0
     /ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
     /ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
 
-This will create an Apache Flex 4.13.0 SDK that can be used by an IDE by
+This will create an Apache Flex 4.14.0 SDK that can be used by an IDE by
 downloading Adobe Flex 4.6 SDK and Adobe AIR 14.0.
 
 


[38/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Add missing headers

Posted by bi...@apache.org.
Add missing headers

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 1323d9bc0fef710db1622c98b5289b0b981d5897
Parents: 66ed636
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 18:00:28 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 18:00:28 2014 +0100

----------------------------------------------------------------------
 frameworks/projects/flatspark/defaults.css       | 19 +++++++++++++++++++
 .../tests/unitTests/mx/collections/DataNode.as   | 19 +++++++++++++++++++
 ...erarchicalCollectionViewCursor_Basics_Test.as | 19 +++++++++++++++++++
 ...chicalCollectionViewCursor_FLEX_34119_Test.as | 19 +++++++++++++++++++
 ...chicalCollectionViewCursor_FLEX_34424_Test.as | 19 +++++++++++++++++++
 ...chicalCollectionViewCursor_FLEX_34440_Test.as | 19 +++++++++++++++++++
 ...chicalCollectionViewCursor_FLEX_34456_Test.as | 19 +++++++++++++++++++
 ...chicalCollectionViewCursor_FLEX_34458_Test.as | 19 +++++++++++++++++++
 .../HierarchicalCollectionViewTestUtils.as       | 19 +++++++++++++++++++
 9 files changed, 171 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/projects/flatspark/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/defaults.css b/frameworks/projects/flatspark/defaults.css
index cefa317..5771436 100644
--- a/frameworks/projects/flatspark/defaults.css
+++ b/frameworks/projects/flatspark/defaults.css
@@ -1,3 +1,22 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
 /* CSS file */
 @namespace s "library://ns.adobe.com/flex/spark";
 @namespace components "flatspark.components.*";

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/DataNode.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/DataNode.as b/frameworks/tests/unitTests/mx/collections/DataNode.as
index db0d35f..aef1829 100644
--- a/frameworks/tests/unitTests/mx/collections/DataNode.as
+++ b/frameworks/tests/unitTests/mx/collections/DataNode.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections {
 import mx.collections.ArrayCollection;
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_Basics_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_Basics_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_Basics_Test.as
index 6e3e34a..065e20f 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_Basics_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_Basics_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
     import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
index 8da8841..8666e99 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 	import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34424_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34424_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34424_Test.as
index 8c2469c..914403c 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34424_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34424_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34440_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34440_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34440_Test.as
index 1b5e81d..174a186 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34440_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34440_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
index 2127597..a866f47 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 	import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
index e875291..94befbb 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 import flash.events.UncaughtErrorEvent;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1323d9bc/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewTestUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewTestUtils.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewTestUtils.as
index 6eb443b..0e690eb 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewTestUtils.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewTestUtils.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.collections
 {
 	import com.adobe.utils.StringUtil;


[45/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added bug fix

Posted by bi...@apache.org.
Added bug fix

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 4ade4cc68981cb8b5c3aef239f44e569b90b9427
Parents: ae33a52
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Nov 21 11:34:58 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri Nov 21 11:35:12 2014 +0100

----------------------------------------------------------------------
 RELEASE_NOTES | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4ade4cc6/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index a39df77..07c05c9 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -53,6 +53,8 @@ bug and its fix will be included on the resulting page.
 
 JIRA Issue Number and Summary
 --------------------------------------------------------------------------------
+FLEX-34454  Setting modalTransparencyBlur to 0 gives blur when Alert ist shown
+            on top of modal Dialog
 FLEX-34373  spark.components.Alert should set a focus to defaultButton
 FLEX-34557  Platform.isBrowser does not work correctly
 FLEX-34213  Flex mobile list performance


[47/48] git commit: [flex-sdk] [refs/heads/iso7skins] - this test now needs some pixel tolerance

Posted by bi...@apache.org.
this test now needs some pixel tolerance


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

Branch: refs/heads/iso7skins
Commit: 27501dddc28e7e5e072dda7abc0ccfa5ba8b9e6c
Parents: 1f4b752
Author: Alex Harui <ah...@apache.org>
Authored: Fri Nov 21 09:41:15 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Nov 21 09:41:34 2014 -0800

----------------------------------------------------------------------
 .../tests/components/Alert/Properties/Alert_Properties_Spark.mxml  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/27501ddd/mustella/tests/components/Alert/Properties/Alert_Properties_Spark.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/Alert/Properties/Alert_Properties_Spark.mxml b/mustella/tests/components/Alert/Properties/Alert_Properties_Spark.mxml
index ba782b6..696f5c4 100644
--- a/mustella/tests/components/Alert/Properties/Alert_Properties_Spark.mxml
+++ b/mustella/tests/components/Alert/Properties/Alert_Properties_Spark.mxml
@@ -74,7 +74,7 @@
 			</setup>
 			<body>
                 <WaitForLayoutManager />
-				<CompareBitmap url="../Properties/baselines/$testID.png" target="curAlert"/>
+				<CompareBitmap url="../Properties/baselines/$testID.png" target="curAlert" numColorVariances="4" maxColorVariance="4" />
 				<DispatchKeyEvent key="SPACE" />
 			</body>
 		</TestCase>


[28/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-28291 Responding to dev review: converting tabs to spaces.

Posted by bi...@apache.org.
FLEX-28291 Responding to dev review: converting tabs to spaces.


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

Branch: refs/heads/iso7skins
Commit: c38dacdd680dac790e971f5adaa6bb60d04aca6f
Parents: e7e441d
Author: Mihai Chira <mi...@apache.org>
Authored: Mon Nov 10 10:33:07 2014 +0000
Committer: Mihai Chira <mi...@apache.org>
Committed: Mon Nov 10 10:33:07 2014 +0000

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as | 4 ++--
 frameworks/projects/spark/src/spark/layouts/VerticalLayout.as   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c38dacdd/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as b/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
index b526294..5b20ddc 100644
--- a/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ b/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -960,8 +960,8 @@ public class HorizontalLayout extends LayoutBase
         if (!g || (index < 0) || (index >= g.numElements) || !llv) 
             return null;
 
-		// We need a valid LLV for this function
-		updateLLV(g);
+        // We need a valid LLV for this function
+        updateLLV(g);
 		
         return llv.getBounds(index);
     }    

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c38dacdd/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as b/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
index 5dd34e1..20f84ef 100644
--- a/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ b/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -911,8 +911,8 @@ public class VerticalLayout extends LayoutBase
         if (!g || (index < 0) || (index >= g.numElements) || !llv) 
             return null;
 
-		// We need a valid LLV for this function
-		updateLLV(g);
+        // We need a valid LLV for this function
+        updateLLV(g);
 		
         return llv.getBounds(index);
     }


[15/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added build scripts and font licenses for FlatSpark

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/TextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/TextInputSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/TextInputSkin.mxml
new file mode 100644
index 0000000..54f71f0
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/TextInputSkin.mxml
@@ -0,0 +1,330 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for Spark TextInput component.  
+
+     @see spark.components.TextInput
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
+    alpha.disabledStates="0.5" blendMode="normal">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.TextInput")]
+    ]]>
+    </fx:Metadata> 
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
+		@namespace spark "spark.skins.spark.*";
+		
+		*
+		{
+			/*focusColor: #FFFFFF;
+			focusThickness: 1px;
+			focusAlpha: 1;*/
+			/*focusAlpha: 0;*/
+			errorColor: #E74C3C;
+		}
+	</fx:Style>
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatspark.enums.ButtonSizeEnum;
+			import flatspark.enums.TextInputSizeEnum;
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+        private var paddingChanged:Boolean;
+        
+        /* Define the skin elements that should not be colorized. */
+        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
+        
+        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
+        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
+        
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array 
+        {
+            // Since border is styleable via borderColor, no need to allow chromeColor to affect
+            // the border.  This is wrapped in a compatibility flag since this change was added  
+            // in Flex 4.5
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+            {
+                return exclusions_4_0;
+            }
+            
+            return exclusions;
+        }
+        
+        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+        static private const contentFill:Array = ["bgFill"];
+
+        /**
+         *  @private
+         */
+        override public function get contentItems():Array {return contentFill};
+        
+        /**
+         *  @private
+         */
+        override protected function commitProperties():void
+        {
+            super.commitProperties();
+            
+            if (paddingChanged)
+            {
+                updatePadding();
+                paddingChanged = false;
+            }
+        }
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         *  @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+            if (getStyle("borderVisible") == true)
+            {
+                border.visible = true;
+                background.left = background.top = background.right = background.bottom = 2;
+                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
+				textDisplay.right = 30;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
+                    promptDisplay.setLayoutBoundsPosition(5, 5);
+                }
+            }
+            else
+            {
+                border.visible = false;
+                background.left = background.top = background.right = background.bottom = 0;
+                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+                    promptDisplay.setLayoutBoundsPosition(0, 0);
+                }
+            }
+            
+            /*borderStroke.color = getStyle("borderColor");
+            borderStroke.alpha = getStyle("borderAlpha");*/
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+
+        /**
+         *  @private
+         */
+        private function updatePadding():void
+        {
+            if (!textDisplay)
+                return;
+            
+            // Push padding styles into the textDisplay
+            var padding:Number;
+            
+            padding = getStyle("paddingLeft");
+            if (textDisplay.getStyle("paddingLeft") != padding)
+                textDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (textDisplay.getStyle("paddingTop") != padding)
+                textDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (textDisplay.getStyle("paddingRight") != padding)
+                textDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (textDisplay.getStyle("paddingBottom") != padding)
+                textDisplay.setStyle("paddingBottom", padding);
+            
+            if (!promptDisplay)
+                return;
+            
+            padding = getStyle("paddingLeft");
+            if (promptDisplay.getStyle("paddingLeft") != padding)
+                promptDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (promptDisplay.getStyle("paddingTop") != padding)
+                promptDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (promptDisplay.getStyle("paddingRight") != padding)
+                promptDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (promptDisplay.getStyle("paddingBottom") != padding)
+                promptDisplay.setStyle("paddingBottom", padding);
+        }
+        
+        /**
+         *  @private
+         */
+        override public function styleChanged(styleProp:String):void
+        {
+            var allStyles:Boolean = !styleProp || styleProp == "styleName";
+
+            super.styleChanged(styleProp);
+            
+            if (allStyles || styleProp.indexOf("padding") == 0)
+            {
+                paddingChanged = true;
+                invalidateProperties();
+            }
+        }
+			
+			protected function textDisplay_focusInHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Asbestos;
+			}
+			
+			protected function textDisplay_focusOutHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Silver;
+			}
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 15;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 13;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 19;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 15;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["textDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal"/>
+        <s:State name="disabled" stateGroups="disabledStates"/>
+        <s:State name="normalWithPrompt"/>
+        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+    </s:states>
+    
+    <!-- border --> 
+    <!--- @private -->
+    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
+        <s:stroke>     
+            <!--- @private -->
+            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
+        </s:stroke>
+    </s:Rect>
+
+    <!-- fill -->
+    <!--- Defines the appearance of the TextInput component's background. -->
+    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
+        <s:fill>
+            <!--- @private Defines the background fill color. -->
+            <s:SolidColor id="bgFill" color="0xFFFFFF" />
+        </s:fill>
+    </s:Rect>
+	
+	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
+		<s:fill>
+			<s:SolidColor color="0xf4f6f6"/>
+		</s:fill>
+	</s:Rect>
+    
+    <!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+    <s:RichEditableText id="textDisplay"
+              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
+              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
+              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
+    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
+                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
+                mouseEnabled="false" mouseChildren="false"
+                includeIn="normalWithPrompt,disabledWithPrompt" 
+                includeInLayout="false"
+                />
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowCloseButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowCloseButtonSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowCloseButtonSkin.mxml
new file mode 100644
index 0000000..cfbfa7c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowCloseButtonSkin.mxml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the close button of the Spark TitleWindow component.  
+
+@see spark.skins.spark.TitleWindowSkin     
+@see spark.components.TitleWindow
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5" initialize="initializeHandler(event)">
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import flatspark.utils.AwesomeUtils;
+			import flatspark.utils.ColorUtils;
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<!--		<fx:Script fb:purpose="styling">
+	<![CDATA[
+	import flatspark.utils.AwesomeUtils;
+	]]>
+	/* Define the skin elements that should not be colorized. 
+	For closeButton, the graphics are colorized but the x is not. */
+	static private const exclusions:Array = ["xSymbol"];
+	
+	/** 
+	* @private
+	*/     
+	override public function get colorizeExclusions():Array {return exclusions;}
+	
+	/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+	static private const symbols:Array = ["xFill1", "xFill2"];
+	
+	/**
+	* @private
+	*/
+	override public function get symbolItems():Array {return symbols};
+	</fx:Script>-->
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over"/>
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="up">
+		<s:fill>
+			<s:SolidColor alpha="0" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="over">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="down">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.Clouds}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Label fontFamily="FontAwesome" fontSize="18" color="#FFFFFF" text="{AwesomeUtils.fa_times}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" />
+	
+
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowSkin.mxml
new file mode 100644
index 0000000..c4e4a94
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/TitleWindowSkin.mxml
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for a Spark TitleWindow container.  
+
+     @see spark.skins.spark.TitleWindowCloseButtonSkin
+     @see spark.components.TitleWindow
+
+     @langversion 3.0
+     @playerversion Flash 10
+     @playerversion AIR 1.5
+     @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
+    minWidth="76" minHeight="76" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+    
+    <fx:Metadata>
+        <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.TitleWindow")]
+        ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatspark.utils.ColorUtils;
+		
+		/* Define the skin elements that should not be colorized. 
+        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
+        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "border"];
+		
+		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
+		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array 
+		{
+			// Since border is styleable via borderColor, no need to allow chromeColor to affect
+			// the border.  This is wrapped in a compatibility flag since this change was added  
+			// in Flex 4.5
+			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+			{
+				return exclusions_4_0;
+			}
+			
+			return exclusions;
+		}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         * @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+			var withControls:Boolean = 
+				(currentState == "disabledWithControlBar" || 
+					currentState == "normalWithControlBar" ||
+					currentState == "inactiveWithControlBar");
+			
+			setPartCornerRadii(topMaskRect, withControls);  
+			setPartCornerRadii(background, withControls);
+			if (bottomMaskRect != null)
+			{
+				setPartCornerRadii(bottomMaskRect, withControls);
+			}
+			
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+        
+        /**
+         * @private
+         */  
+        private function setPartCornerRadii(target:Rect, includeBottom:Boolean):void
+        {            
+            target.topLeftRadiusX = cornerRadius;
+            target.topRightRadiusX = cornerRadius;
+            target.bottomLeftRadiusX = includeBottom ? cornerRadius : 0;
+            target.bottomRightRadiusX = includeBottom ? cornerRadius : 0;
+        }
+        
+        private var cornerRadius:Number=4;
+		]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="inactive" stateGroups="inactiveGroup" />
+        <s:State name="disabled" />
+        <s:State name="normalWithControlBar" stateGroups="withControls" />
+        <s:State name="inactiveWithControlBar" stateGroups="withControls, inactiveGroup" />
+        <s:State name="disabledWithControlBar" stateGroups="withControls" />
+    </s:states>
+    
+    <!--- drop shadow can't be hittable so all other graphics go in this group -->
+    <s:Group left="0" right="0" top="0" bottom="0">
+        
+        <!--- top group mask @private-->
+        <s:Group left="1" top="1" right="1" bottom="1" id="topGroupMask">
+            <!--- @private-->
+            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!--- bottom group mask @private-->
+        <s:Group left="1" top="1" right="1" bottom="1" id="bottomGroupMask" 
+                 includeIn="withControls">
+            <!--- @private-->
+            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        
+        <!-- layer 2: background fill -->
+        <!--- Defines the appearance of the TitleWindowSkin class's background. -->
+        <s:Rect id="background" left="1" top="1" right="1" bottom="1">
+            <s:fill>
+                <!--- Defines the TitleWindowSkin class's background fill. The default color is 0xFFFFFF. -->
+                <s:SolidColor id="backgroundFill" color="{ColorUtils.Clouds}"/>
+            </s:fill>
+        </s:Rect>
+        
+        <!-- layer 3: contents -->
+        <!--- Contains the vertical stack of title bar content and control bar. -->
+        <s:Group left="1" right="1" top="1" bottom="1" id="contents">
+            <s:layout>
+                <s:VerticalLayout gap="0" horizontalAlign="justify" />
+            </s:layout>
+            <!--- @private -->
+            <s:Group id="topGroup" mask="{topGroupMask}" height="56">
+                
+                <!--- layer 0: title bar fill @private -->
+                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+					</s:fill>
+                </s:Rect>
+                
+                <!--- layer 1: title bar highlight @private -->
+                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+					</s:fill>
+                </s:Rect>
+                
+                <!--- layer 2: title bar divider @private -->
+                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
+					</s:fill>
+					
+					<s:filters>
+						<s:DropShadowFilter distance="1" angle="90" color="{ColorUtils.Silver}"/>
+					</s:filters>
+                </s:Rect>
+                
+                <!-- layer 3: text -->
+                <!--- @copy spark.components.Panel#titleDisplay -->
+                <s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="21" fontStyle="normal" color="#FFFFFF"
+                         left="15" right="36" top="1" bottom="0" minHeight="56" height="56"
+                         verticalAlign="middle" fontWeight="bold" />
+                
+                <!-- layer 4: moveArea -->
+                <!--- @copy spark.components.TitleWindow#moveArea -->
+                <s:Group id="moveArea" left="0" right="0" top="0" bottom="0" />
+                
+                <!--- @copy spark.components.TitleWindow#closeButton -->
+                <s:Button id="closeButton" skinClass="flatspark.skins.TitleWindowCloseButtonSkin" 
+                         right="15" top="15" />
+            </s:Group>
+            
+            <!--
+                Note: setting the minimum size to 0 here so that changes to the host component's
+                size will not be thwarted by this skin part's minimum size.   This is a compromise,
+                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+            -->
+            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
+            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+            </s:Group>
+            
+            <!--- @private -->
+            <s:Group id="bottomGroup" minWidth="0" minHeight="0" 
+                     includeIn="withControls">  
+                
+                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}" height="65">
+
+                    <!-- layer 0: control bar divider line -->
+                    <s:Rect left="0" right="0" top="0" height="1">
+                        <s:fill>
+                            <s:SolidColor color="{ColorUtils.Silver}" />
+                        </s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 1: control bar highlight -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="0xFFFFFF" />
+						</s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 2: control bar fill -->
+                    <s:Rect left="1" right="1" top="2" bottom="1">
+						<s:fill>
+							<s:SolidColor color="0xFFFFFF" />
+						</s:fill>
+                    </s:Rect>
+                </s:Group>
+                
+                <!--- @copy spark.components.Panel#controlBarGroup -->
+                <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+                    <s:layout>
+                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+                    </s:layout>
+                </s:Group>
+            </s:Group>
+        </s:Group>
+    </s:Group>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarSkin.mxml
new file mode 100644
index 0000000..ef9f400
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarSkin.mxml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark VScrollBar component. The thumb and track skins are defined by the
+VScrollBarThumbSkin and VScrollBarTrackSkin classes, respectively.  
+
+       @see spark.components.VScrollBar
+       @see spark.skins.spark.VScrollBarThumbSkin
+       @see spark.skins.spark.VScrollBarTrackSkin
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="8" minHeight="35" 
+    alpha.disabled="0.5" alpha.inactive="0.5" >
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.VScrollBar")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For scroll bar, the skin itself is colorized but the individual parts are not. */
+        static private const exclusions:Array = ["track", "thumb"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+     
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="inactive" />
+    </s:states>
+   
+    <!---  The default skin class is VScrollBarTrackSkin.  
+            @copy spark.components.supportClasses.TrackBase#track 
+            @see spark.skins.spark.VScrollBarTrackSkin -->
+    <s:Button id="track" top="0" bottom="0" height="54"
+              focusEnabled="false" tabEnabled="false"
+              skinClass="flatspark.skins.VScrollBarTrackSkin" />
+    
+    <!--- The default skin class is VScrollBarThumbSkin.
+            @copy spark.components.supportClasses.TrackBase#thumb 
+            @see spark.skins.spark.VScrollBarThumbSkin -->
+    <s:Button id="thumb" 
+              focusEnabled="false" visible.inactive="false" tabEnabled="false"
+              skinClass="flatspark.skins.VScrollBarThumbSkin" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarThumbSkin.mxml
new file mode 100644
index 0000000..b732343
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarThumbSkin.mxml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the thumb of a Spark VScrollBar component.  
+
+@see spark.components.VScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- background -->
+	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
+		<s:stroke>
+			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
+		</s:stroke>
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Silver}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarTrackSkin.mxml
new file mode 100644
index 0000000..b7d504d
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/VScrollBarTrackSkin.mxml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the track of a Spark VScrollBar component.  
+
+@see spark.components.VScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatspark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="down" />
+		<s:State name="over" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- border/fill -->
+	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/utils/AwesomeUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/utils/AwesomeUtils.as b/frameworks/projects/flatspark/src/flatspark/utils/AwesomeUtils.as
new file mode 100644
index 0000000..99571b6
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/utils/AwesomeUtils.as
@@ -0,0 +1,399 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.utils
+{
+	public class AwesomeUtils
+	{
+		
+		public function AwesomeUtils() 
+		{
+			
+		}
+		
+		public static const fa_glass:String = "\uf000";
+		public static const fa_music:String = "\uf001";
+		public static const fa_search:String = "\uf002";
+		public static const fa_envelope_o:String = "\uf003";
+		public static const fa_heart:String = "\uf004";
+		public static const fa_star:String = "\uf005";
+		public static const fa_star_o:String = "\uf006";
+		public static const fa_user:String = "\uf007";
+		public static const fa_film:String = "\uf008";
+		public static const fa_th_large:String = "\uf009";
+		public static const fa_th:String = "\uf00a";
+		public static const fa_th_list:String = "\uf00b";
+		public static const fa_check:String = "\uf00c";
+		public static const fa_times:String = "\uf00d";
+		public static const fa_search_plus:String = "\uf00e";
+		public static const fa_search_minus:String = "\uf010";
+		public static const fa_power_off:String = "\uf011";
+		public static const fa_signal:String = "\uf012";
+		public static const fa_cog:String = "\uf013";
+		public static const fa_trash_o:String = "\uf014";
+		public static const fa_home:String = "\uf015";
+		public static const fa_file_o:String = "\uf016";
+		public static const fa_clock_o:String = "\uf017";
+		public static const fa_road:String = "\uf018";
+		public static const fa_download:String = "\uf019";
+		public static const fa_arrow_circle_o_down:String = "\uf01a";
+		public static const fa_arrow_circle_o_up:String = "\uf01b";
+		public static const fa_inbox:String = "\uf01c";
+		public static const fa_play_circle_o:String = "\uf01d";
+		public static const fa_repeat:String = "\uf01e";
+		public static const fa_refresh:String = "\uf021";
+		public static const fa_list_alt:String = "\uf022";
+		public static const fa_lock:String = "\uf023";
+		public static const fa_flag:String = "\uf024";
+		public static const fa_headphones:String = "\uf025";
+		public static const fa_volume_off:String = "\uf026";
+		public static const fa_volume_down:String = "\uf027";
+		public static const fa_volume_up:String = "\uf028";
+		public static const fa_qrcode:String = "\uf029";
+		public static const fa_barcode:String = "\uf02a";
+		public static const fa_tag:String = "\uf02b";
+		public static const fa_tags:String = "\uf02c";
+		public static const fa_book:String = "\uf02d";
+		public static const fa_bookmark:String = "\uf02e";
+		public static const fa_print:String = "\uf02f";
+		public static const fa_camera:String = "\uf030";
+		public static const fa_font:String = "\uf031";
+		public static const fa_bold:String = "\uf032";
+		public static const fa_italic:String = "\uf033";
+		public static const fa_text_height:String = "\uf034";
+		public static const fa_text_width:String = "\uf035";
+		public static const fa_align_left:String = "\uf036";
+		public static const fa_align_center:String = "\uf037";
+		public static const fa_align_right:String = "\uf038";
+		public static const fa_align_justify:String = "\uf039";
+		public static const fa_list:String = "\uf03a";
+		public static const fa_outdent:String = "\uf03b";
+		public static const fa_indent:String = "\uf03c";
+		public static const fa_video_camera:String = "\uf03d";
+		public static const fa_picture_o:String = "\uf03e";
+		public static const fa_pencil:String = "\uf040";
+		public static const fa_map_marker:String = "\uf041";
+		public static const fa_adjust:String = "\uf042";
+		public static const fa_tint:String = "\uf043";
+		public static const fa_pencil_square_o:String = "\uf044";
+		public static const fa_share_square_o:String = "\uf045";
+		public static const fa_check_square_o:String = "\uf046";
+		public static const fa_arrows:String = "\uf047";
+		public static const fa_step_backward:String = "\uf048";
+		public static const fa_fast_backward:String = "\uf049";
+		public static const fa_backward:String = "\uf04a";
+		public static const fa_play:String = "\uf04b";
+		public static const fa_pause:String = "\uf04c";
+		public static const fa_stop:String = "\uf04d";
+		public static const fa_forward:String = "\uf04e";
+		public static const fa_fast_forward:String = "\uf050";
+		public static const fa_step_forward:String = "\uf051";
+		public static const fa_eject:String = "\uf052";
+		public static const fa_chevron_left:String = "\uf053";
+		public static const fa_chevron_right:String = "\uf054";
+		public static const fa_plus_circle:String = "\uf055";
+		public static const fa_minus_circle:String = "\uf056";
+		public static const fa_times_circle:String = "\uf057";
+		public static const fa_check_circle:String = "\uf058";
+		public static const fa_question_circle:String = "\uf059";
+		public static const fa_info_circle:String = "\uf05a";
+		public static const fa_crosshairs:String = "\uf05b";
+		public static const fa_times_circle_o:String = "\uf05c";
+		public static const fa_check_circle_o:String = "\uf05d";
+		public static const fa_ban:String = "\uf05e";
+		public static const fa_arrow_left:String = "\uf060";
+		public static const fa_arrow_right:String = "\uf061";
+		public static const fa_arrow_up:String = "\uf062";
+		public static const fa_arrow_down:String = "\uf063";
+		public static const fa_share:String = "\uf064";
+		public static const fa_expand:String = "\uf065";
+		public static const fa_compress:String = "\uf066";
+		public static const fa_plus:String = "\uf067";
+		public static const fa_minus:String = "\uf068";
+		public static const fa_asterisk:String = "\uf069";
+		public static const fa_exclamation_circle:String = "\uf06a";
+		public static const fa_gift:String = "\uf06b";
+		public static const fa_leaf:String = "\uf06c";
+		public static const fa_fire:String = "\uf06d";
+		public static const fa_eye:String = "\uf06e";
+		public static const fa_eye_slash:String = "\uf070";
+		public static const fa_exclamation_triangle:String = "\uf071";
+		public static const fa_plane:String = "\uf072";
+		public static const fa_calendar:String = "\uf073";
+		public static const fa_random:String = "\uf074";
+		public static const fa_comment:String = "\uf075";
+		public static const fa_magnet:String = "\uf076";
+		public static const fa_chevron_up:String = "\uf077";
+		public static const fa_chevron_down:String = "\uf078";
+		public static const fa_retweet:String = "\uf079";
+		public static const fa_shopping_cart:String = "\uf07a";
+		public static const fa_folder:String = "\uf07b";
+		public static const fa_folder_open:String = "\uf07c";
+		public static const fa_arrows_v:String = "\uf07d";
+		public static const fa_arrows_h:String = "\uf07e";
+		public static const fa_bar_chart_o:String = "\uf080";
+		public static const fa_twitter_square:String = "\uf081";
+		public static const fa_facebook_square:String = "\uf082";
+		public static const fa_camera_retro:String = "\uf083";
+		public static const fa_key:String = "\uf084";
+		public static const fa_cogs:String = "\uf085";
+		public static const fa_comments:String = "\uf086";
+		public static const fa_thumbs_o_up:String = "\uf087";
+		public static const fa_thumbs_o_down:String = "\uf088";
+		public static const fa_star_half:String = "\uf089";
+		public static const fa_heart_o:String = "\uf08a";
+		public static const fa_sign_out:String = "\uf08b";
+		public static const fa_linkedin_square:String = "\uf08c";
+		public static const fa_thumb_tack:String = "\uf08d";
+		public static const fa_external_link:String = "\uf08e";
+		public static const fa_sign_in:String = "\uf090";
+		public static const fa_trophy:String = "\uf091";
+		public static const fa_github_square:String = "\uf092";
+		public static const fa_upload:String = "\uf093";
+		public static const fa_lemon_o:String = "\uf094";
+		public static const fa_phone:String = "\uf095";
+		public static const fa_square_o:String = "\uf096";
+		public static const fa_bookmark_o:String = "\uf097";
+		public static const fa_phone_square:String = "\uf098";
+		public static const fa_twitter:String = "\uf099";
+		public static const fa_facebook:String = "\uf09a";
+		public static const fa_github:String = "\uf09b";
+		public static const fa_unlock:String = "\uf09c";
+		public static const fa_credit_card:String = "\uf09d";
+		public static const fa_rss:String = "\uf09e";
+		public static const fa_hdd_o:String = "\uf0a0";
+		public static const fa_bullhorn:String = "\uf0a1";
+		public static const fa_bell:String = "\uf0f3";
+		public static const fa_certificate:String = "\uf0a3";
+		public static const fa_hand_o_right:String = "\uf0a4";
+		public static const fa_hand_o_left:String = "\uf0a5";
+		public static const fa_hand_o_up:String = "\uf0a6";
+		public static const fa_hand_o_down:String = "\uf0a7";
+		public static const fa_arrow_circle_left:String = "\uf0a8";
+		public static const fa_arrow_circle_right:String = "\uf0a9";
+		public static const fa_arrow_circle_up:String = "\uf0aa";
+		public static const fa_arrow_circle_down:String = "\uf0ab";
+		public static const fa_globe:String = "\uf0ac";
+		public static const fa_wrench:String = "\uf0ad";
+		public static const fa_tasks:String = "\uf0ae";
+		public static const fa_filter:String = "\uf0b0";
+		public static const fa_briefcase:String = "\uf0b1";
+		public static const fa_arrows_alt:String = "\uf0b2";
+		public static const fa_users:String = "\uf0c0";
+		public static const fa_link:String = "\uf0c1";
+		public static const fa_cloud:String = "\uf0c2";
+		public static const fa_flask:String = "\uf0c3";
+		public static const fa_scissors:String = "\uf0c4";
+		public static const fa_files_o:String = "\uf0c5";
+		public static const fa_paperclip:String = "\uf0c6";
+		public static const fa_floppy_o:String = "\uf0c7";
+		public static const fa_square:String = "\uf0c8";
+		public static const fa_bars:String = "\uf0c9";
+		public static const fa_list_ul:String = "\uf0ca";
+		public static const fa_list_ol:String = "\uf0cb";
+		public static const fa_strikethrough:String = "\uf0cc";
+		public static const fa_underline:String = "\uf0cd";
+		public static const fa_table:String = "\uf0ce";
+		public static const fa_magic:String = "\uf0d0";
+		public static const fa_truck:String = "\uf0d1";
+		public static const fa_pinterest:String = "\uf0d2";
+		public static const fa_pinterest_square:String = "\uf0d3";
+		public static const fa_google_plus_square:String = "\uf0d4";
+		public static const fa_google_plus:String = "\uf0d5";
+		public static const fa_money:String = "\uf0d6";
+		public static const fa_caret_down:String = "\uf0d7";
+		public static const fa_caret_up:String = "\uf0d8";
+		public static const fa_caret_left:String = "\uf0d9";
+		public static const fa_caret_right:String = "\uf0da";
+		public static const fa_columns:String = "\uf0db";
+		public static const fa_sort:String = "\uf0dc";
+		public static const fa_sort_asc:String = "\uf0dd";
+		public static const fa_sort_desc:String = "\uf0de";
+		public static const fa_envelope:String = "\uf0e0";
+		public static const fa_linkedin:String = "\uf0e1";
+		public static const fa_undo:String = "\uf0e2";
+		public static const fa_gavel:String = "\uf0e3";
+		public static const fa_tachometer:String = "\uf0e4";
+		public static const fa_comment_o:String = "\uf0e5";
+		public static const fa_comments_o:String = "\uf0e6";
+		public static const fa_bolt:String = "\uf0e7";
+		public static const fa_sitemap:String = "\uf0e8";
+		public static const fa_umbrella:String = "\uf0e9";
+		public static const fa_clipboard:String = "\uf0ea";
+		public static const fa_lightbulb_o:String = "\uf0eb";
+		public static const fa_exchange:String = "\uf0ec";
+		public static const fa_cloud_download:String = "\uf0ed";
+		public static const fa_cloud_upload:String = "\uf0ee";
+		public static const fa_user_md:String = "\uf0f0";
+		public static const fa_stethoscope:String = "\uf0f1";
+		public static const fa_suitcase:String = "\uf0f2";
+		public static const fa_bell_o:String = "\uf0a2";
+		public static const fa_coffee:String = "\uf0f4";
+		public static const fa_cutlery:String = "\uf0f5";
+		public static const fa_file_text_o:String = "\uf0f6";
+		public static const fa_building_o:String = "\uf0f7";
+		public static const fa_hospital_o:String = "\uf0f8";
+		public static const fa_ambulance:String = "\uf0f9";
+		public static const fa_medkit:String = "\uf0fa";
+		public static const fa_fighter_jet:String = "\uf0fb";
+		public static const fa_beer:String = "\uf0fc";
+		public static const fa_h_square:String = "\uf0fd";
+		public static const fa_plus_square:String = "\uf0fe";
+		public static const fa_angle_double_left:String = "\uf100";
+		public static const fa_angle_double_right:String = "\uf101";
+		public static const fa_angle_double_up:String = "\uf102";
+		public static const fa_angle_double_down:String = "\uf103";
+		public static const fa_angle_left:String = "\uf104";
+		public static const fa_angle_right:String = "\uf105";
+		public static const fa_angle_up:String = "\uf106";
+		public static const fa_angle_down:String = "\uf107";
+		public static const fa_desktop:String = "\uf108";
+		public static const fa_laptop:String = "\uf109";
+		public static const fa_tablet:String = "\uf10a";
+		public static const fa_mobile:String = "\uf10b";
+		public static const fa_circle_o:String = "\uf10c";
+		public static const fa_quote_left:String = "\uf10d";
+		public static const fa_quote_right:String = "\uf10e";
+		public static const fa_spinner:String = "\uf110";
+		public static const fa_circle:String = "\uf111";
+		public static const fa_reply:String = "\uf112";
+		public static const fa_github_alt:String = "\uf113";
+		public static const fa_folder_o:String = "\uf114";
+		public static const fa_folder_open_o:String = "\uf115";
+		public static const fa_smile_o:String = "\uf118";
+		public static const fa_frown_o:String = "\uf119";
+		public static const fa_meh_o:String = "\uf11a";
+		public static const fa_gamepad:String = "\uf11b";
+		public static const fa_keyboard_o:String = "\uf11c";
+		public static const fa_flag_o:String = "\uf11d";
+		public static const fa_flag_checkered:String = "\uf11e";
+		public static const fa_terminal:String = "\uf120";
+		public static const fa_code:String = "\uf121";
+		public static const fa_reply_all:String = "\uf122";
+		public static const fa_mail_reply_all:String = "\uf122";
+		public static const fa_star_half_o:String = "\uf123";
+		public static const fa_location_arrow:String = "\uf124";
+		public static const fa_crop:String = "\uf125";
+		public static const fa_code_fork:String = "\uf126";
+		public static const fa_chain_broken:String = "\uf127";
+		public static const fa_question:String = "\uf128";
+		public static const fa_info:String = "\uf129";
+		public static const fa_exclamation:String = "\uf12a";
+		public static const fa_superscript:String = "\uf12b";
+		public static const fa_subscript:String = "\uf12c";
+		public static const fa_eraser:String = "\uf12d";
+		public static const fa_puzzle_piece:String = "\uf12e";
+		public static const fa_microphone:String = "\uf130";
+		public static const fa_microphone_slash:String = "\uf131";
+		public static const fa_shield:String = "\uf132";
+		public static const fa_calendar_o:String = "\uf133";
+		public static const fa_fire_extinguisher:String = "\uf134";
+		public static const fa_rocket:String = "\uf135";
+		public static const fa_maxcdn:String = "\uf136";
+		public static const fa_chevron_circle_left:String = "\uf137";
+		public static const fa_chevron_circle_right:String = "\uf138";
+		public static const fa_chevron_circle_up:String = "\uf139";
+		public static const fa_chevron_circle_down:String = "\uf13a";
+		public static const fa_html5:String = "\uf13b";
+		public static const fa_css3:String = "\uf13c";
+		public static const fa_anchor:String = "\uf13d";
+		public static const fa_unlock_alt:String = "\uf13e";
+		public static const fa_bullseye:String = "\uf140";
+		public static const fa_ellipsis_h:String = "\uf141";
+		public static const fa_ellipsis_v:String = "\uf142";
+		public static const fa_rss_square:String = "\uf143";
+		public static const fa_play_circle:String = "\uf144";
+		public static const fa_ticket:String = "\uf145";
+		public static const fa_minus_square:String = "\uf146";
+		public static const fa_minus_square_o:String = "\uf147";
+		public static const fa_level_up:String = "\uf148";
+		public static const fa_level_down:String = "\uf149";
+		public static const fa_check_square:String = "\uf14a";
+		public static const fa_pencil_square:String = "\uf14b";
+		public static const fa_external_link_square:String = "\uf14c";
+		public static const fa_share_square:String = "\uf14d";
+		public static const fa_compass:String = "\uf14e";
+		public static const fa_caret_square_o_down:String = "\uf150";
+		public static const fa_caret_square_o_up:String = "\uf151";
+		public static const fa_caret_square_o_right:String = "\uf152";
+		public static const fa_eur:String = "\uf153";
+		public static const fa_gbp:String = "\uf154";
+		public static const fa_usd:String = "\uf155";
+		public static const fa_inr:String = "\uf156";
+		public static const fa_jpy:String = "\uf157";
+		public static const fa_rub:String = "\uf158";
+		public static const fa_krw:String = "\uf159";
+		public static const fa_btc:String = "\uf15a";
+		public static const fa_file:String = "\uf15b";
+		public static const fa_file_text:String = "\uf15c";
+		public static const fa_sort_alpha_asc:String = "\uf15d";
+		public static const fa_sort_alpha_desc:String = "\uf15e";
+		public static const fa_sort_amount_asc:String = "\uf160";
+		public static const fa_sort_amount_desc:String = "\uf161";
+		public static const fa_sort_numeric_asc:String = "\uf162";
+		public static const fa_sort_numeric_desc:String = "\uf163";
+		public static const fa_thumbs_up:String = "\uf164";
+		public static const fa_thumbs_down:String = "\uf165";
+		public static const fa_youtube_square:String = "\uf166";
+		public static const fa_youtube:String = "\uf167";
+		public static const fa_xing:String = "\uf168";
+		public static const fa_xing_square:String = "\uf169";
+		public static const fa_youtube_play:String = "\uf16a";
+		public static const fa_dropbox:String = "\uf16b";
+		public static const fa_stack_overflow:String = "\uf16c";
+		public static const fa_instagram:String = "\uf16d";
+		public static const fa_flickr:String = "\uf16e";
+		public static const fa_adn:String = "\uf170";
+		public static const fa_bitbucket:String = "\uf171";
+		public static const fa_bitbucket_square:String = "\uf172";
+		public static const fa_tumblr:String = "\uf173";
+		public static const fa_tumblr_square:String = "\uf174";
+		public static const fa_long_arrow_down:String = "\uf175";
+		public static const fa_long_arrow_up:String = "\uf176";
+		public static const fa_long_arrow_left:String = "\uf177";
+		public static const fa_long_arrow_right:String = "\uf178";
+		public static const fa_apple:String = "\uf179";
+		public static const fa_windows:String = "\uf17a";
+		public static const fa_android:String = "\uf17b";
+		public static const fa_linux:String = "\uf17c";
+		public static const fa_dribbble:String = "\uf17d";
+		public static const fa_skype:String = "\uf17e";
+		public static const fa_foursquare:String = "\uf180";
+		public static const fa_trello:String = "\uf181";
+		public static const fa_female:String = "\uf182";
+		public static const fa_male:String = "\uf183";
+		public static const fa_gittip:String = "\uf184";
+		public static const fa_sun_o:String = "\uf185";
+		public static const fa_moon_o:String = "\uf186";
+		public static const fa_archive:String = "\uf187";
+		public static const fa_bug:String = "\uf188";
+		public static const fa_vk:String = "\uf189";
+		public static const fa_weibo:String = "\uf18a";
+		public static const fa_renren:String = "\uf18b";
+		public static const fa_pagelines:String = "\uf18c";
+		public static const fa_stack_exchange:String = "\uf18d";
+		public static const fa_arrow_circle_o_right:String = "\uf18e";
+		public static const fa_arrow_circle_o_left:String = "\uf190";
+		public static const fa_caret_square_o_left:String = "\uf191";
+		public static const fa_dot_circle_o:String = "\uf192";
+		public static const fa_wheelchair:String = "\uf193";
+		public static const fa_vimeo_square:String = "\uf194";
+		public static const fa_try:String = "\uf195";
+		public static const fa_plus_square_o:String = "\uf196";
+
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/utils/ColorUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/utils/ColorUtils.as b/frameworks/projects/flatspark/src/flatspark/utils/ColorUtils.as
new file mode 100644
index 0000000..09f9cb2
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/utils/ColorUtils.as
@@ -0,0 +1,90 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.utils
+{
+	import mx.states.State;
+	
+	import flatspark.enums.BrandColorEnum;
+	import flatspark.enums.ButtonColorEnum;
+
+	public class ColorUtils
+	{	
+		public static const Turquoise:uint = 0x1ABC9C;
+		public static const GreenSea:uint = 0x16A085;
+		public static const Emerald:uint = 0x2ECC71;
+		public static const Nephritis:uint = 0x27AE60;
+		public static const PeterRiver:uint = 0x3498DB;
+		public static const BelizeHole:uint = 0x2980B9;
+		public static const Amethyst:uint = 0x9B59B6;
+		public static const Wisteria:uint = 0x8E44AD;
+		public static const WetAsphalt:uint = 0x34495E;
+		public static const MidnightBlue:uint = 0x2C3E50;
+		public static const SunFlower:uint = 0xF1C40F;
+		public static const Orange:uint = 0xF39C12;
+		public static const Carrot:uint = 0xE67E22;
+		public static const Pumpkin:uint = 0xD35400;
+		public static const Alizarin:uint = 0xE74C3C;
+		public static const Pomegranate:uint = 0xC0392B;
+		public static const Clouds:uint = 0xECF0F1;
+		public static const Silver:uint = 0xBDC3C7;
+		public static const Concrete:uint = 0x95A5A6;
+		public static const Asbestos:uint = 0x7F8C8D;
+		
+		public function ColorUtils()
+		{
+			
+		}		
+		
+		public static function ButtonColor(brand:int, estado:State):uint
+		{
+			// All the possible colors
+			var cores:Array = new Array(
+				ButtonColorEnum.PrimaryUp, ButtonColorEnum.PrimaryHover, ButtonColorEnum.PrimaryDown, ButtonColorEnum.PrimaryDisabled,
+				ButtonColorEnum.SuccessUp, ButtonColorEnum.SuccessHover, ButtonColorEnum.SuccessDown, ButtonColorEnum.SuccessDisabled,
+				ButtonColorEnum.WarningUp, ButtonColorEnum.WarningHover, ButtonColorEnum.WarningDown, ButtonColorEnum.WarningDisabled,
+				ButtonColorEnum.InverseUp, ButtonColorEnum.InverseHover, ButtonColorEnum.InverseDown, ButtonColorEnum.InverseDisabled,
+				ButtonColorEnum.DefaultUp, ButtonColorEnum.DefaultHover, ButtonColorEnum.DefaultDown, ButtonColorEnum.DefaultDisabled,
+				ButtonColorEnum.InfoUp, ButtonColorEnum.InfoHover, ButtonColorEnum.InfoDown, ButtonColorEnum.InfoDisabled,
+				ButtonColorEnum.DangerUp, ButtonColorEnum.DangerHover, ButtonColorEnum.DangerDown, ButtonColorEnum.DangerDisabled
+				);
+			
+			// Map all the allowed states
+			var numeroEstado:int = 1;
+			switch (estado.name)
+			{
+				case "up":
+					numeroEstado = 1;
+					break;
+				case "over":
+					numeroEstado = 2;
+					break;
+				case "down":
+					numeroEstado = 3;
+					break;
+				case "disabled":
+					numeroEstado = 3;
+					break;
+			}
+			
+			var posicao:int = 1;
+			posicao = 4 * (brand - 1) + (numeroEstado - 1); 
+			
+			return cores[posicao];
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/utils/ConfigSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/utils/ConfigSkin.as b/frameworks/projects/flatspark/src/flatspark/utils/ConfigSkin.as
new file mode 100644
index 0000000..5889da1
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/utils/ConfigSkin.as
@@ -0,0 +1,44 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.utils
+{
+
+	import flatspark.enums.ColorSwatchEnum;
+	import flatspark.enums.SizeEnum;
+
+	public final class ConfigSkin
+	{
+
+		/*
+		*  Default size
+		*/
+		public static var sizeEnum:SizeEnum=new SizeEnum();
+
+		/*
+		*  Default color
+		*/
+		public static var colorSwatch:ColorSwatchEnum=new ColorSwatchEnum();
+
+
+		public function ConfigSkin()
+		{
+
+		}
+
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml b/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
deleted file mode 100644
index ddada4e..0000000
--- a/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
-				xmlns:s="library://ns.adobe.com/flex/spark"
-				autoDrawBackground="false" height="32">
-	<s:states>
-		<s:State name="normal" />
-		<s:State name="hovered" />
-		<s:State name="selected" />
-	</s:states>
-	<fx:Script>
-		<![CDATA[
-			
-			import flatSpark.utils.ColorUtils;
-			
-		]]>
-	</fx:Script>
-	
-	<s:Rect id="bgFill"
-			radiusX="4"
-			includeIn="hovered,selected"
-			left="0" right="0" top="0" bottom="0">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.MidnightBlue}"
-						  color.selected="{ColorUtils.Turquoise}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Label id="labelDisplay" paddingRight="4" paddingTop="1" paddingBottom="1" paddingLeft="4" 
-			 verticalAlign="middle" height="100%" fontFamily="Lato" fontSize="15" fontWeight="normal" 
-			 fontStyle="normal" color="{ColorUtils.Clouds}" color.hovered="{ColorUtils.Silver}"/>
-	
-</s:ItemRenderer>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/AlertSkin.mxml b/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
deleted file mode 100644
index b42abdf..0000000
--- a/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
+++ /dev/null
@@ -1,230 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
-			 minWidth="131" minHeight="30" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
-	<fx:Metadata>
-		<![CDATA[
-		[HostComponent("spark.components.Alert")]
-		]]>
-	</fx:Metadata>
-	
-		<fx:Script fb:purpose="styling">
-			<![CDATA[
-				import flatSpark.utils.ColorUtils;
-
-		/* Define the skin elements that should not be colorized.
-		For panel, border and title background are skinned, but the content area and title text are not. */
-		static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
-		
-		/**
-		 * @private
-		 */
-		override public function get colorizeExclusions():Array {return exclusions;}
-		
-		/**
-		 * @private
-		 */
-		override protected function initializationComplete():void
-		{
-			useChromeColor = true;
-			super.initializationComplete();
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-		{
-				setPartCornerRadii(topMaskRect);
-				setPartCornerRadii(background);
-			
-			if (bottomMaskRect) setPartCornerRadii(bottomMaskRect);
-			
-			super.updateDisplayList(unscaledWidth, unscaledHeight);
-		}
-		
-		/**
-		 * @private
-		 */
-		private function setPartCornerRadii(target:Rect):void
-		{
-			target.topLeftRadiusX = cornerRadius;
-			target.topRightRadiusX = cornerRadius;
-			target.bottomLeftRadiusX = cornerRadius;
-			target.bottomRightRadiusX = cornerRadius;
-		}
-		
-		private var cornerRadius:Number=4;
-				
-			]]>
-	</fx:Script>
-	
-	<fx:Declarations>
-		<s:Group id="contentGroup" />
-	</fx:Declarations>
-	
-	<s:states>
-		<s:State name="normal" />
-		<s:State name="disabled" />
-		<s:State name="normalWithControlBar" stateGroups="withControls" />
-		<s:State name="disabledWithControlBar" stateGroups="withControls" />
-	</s:states>
-	
-	<!-- drop shadow can't be hittable so all other graphics go in this group -->
-	<s:Group left="0" right="0" top="0" bottom="0">
-		
-		<!-- top group mask -->
-		<!--- @private -->
-		<s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
-			<!--- @private -->
-			<s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
-				<s:fill>
-					<s:SolidColor alpha="0"/>
-				</s:fill>
-			</s:Rect>
-		</s:Group>
-		
-		<!-- bottom group mask -->
-		<!--- @private -->
-		<s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask"
-				 includeIn="normalWithControlBar, disabledWithControlBar">
-			<!--- @private -->
-			<s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
-				<s:fill>
-					<s:SolidColor alpha="0"/>
-				</s:fill>
-			</s:Rect>
-		</s:Group>
-		
-		<!-- layer 2: background fill -->
-		<!--- Defines the appearance of the PanelSkin class's background. -->
-		<s:Rect id="background" left="0" top="0" right="0" bottom="0">
-			<s:fill>
-				<s:SolidColor id="backgroundFill" color="#FFFFFF"/>
-			</s:fill>
-		</s:Rect>
-		
-		<!-- layer 3: contents -->
-		<!--- Contains the vertical stack of titlebar content and controlbar. -->
-		<s:Group left="0" top="0" right="0" bottom="0" id="contents">
-			<s:layout>
-				<s:VerticalLayout gap="0" horizontalAlign="justify" />
-			</s:layout>
-			
-			<!--- @private -->
-			<s:Group id="topGroup" mask="{topGroupMask}">
-				
-				<!-- layer 0: title bar fill -->
-				<!--- @private -->
-				<s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.Concrete}"/>
-					</s:fill>
-				</s:Rect>
-				
-				<!-- layer 1: title bar highlight -->
-				<!--- @private -->
-				<s:Rect id="tbHilite" left="0" right="0" top="0" bottom="1">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.Concrete}"/>
-					</s:fill>
-				</s:Rect>
-				
-				<!-- layer 2: title bar divider -->
-				<!--- @private -->
-				<s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.Asbestos}"/>
-					</s:fill>
-				</s:Rect>
-				
-				<!-- layer 3: text -->
-				<!--- @copy spark.components.Panel#titleDisplay -->
-				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
-						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
-						 verticalAlign="middle" fontWeight="bold" />
-			</s:Group>
-			
-			<!--
-			Note: setting the minimum size to 0 here so that changes to the host component's
-			size will not be thwarted by this skin part's minimum size.   This is a compromise,
-			more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
-			-->
-			<!--- @copy spark.components.SkinnableContainer#contentGroup -->
-			<!--<s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
-			</s:Group>-->
-			<s:HGroup width="100%" height="100%" verticalAlign="middle" horizontalAlign="center" paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20">
-				<s:Group id="iconGroup" height="100%">
-					
-				</s:Group>
-				<s:VGroup width="100%" height="100%" paddingLeft="5" paddingRight="5" paddingBottom="5" gap="20"
-						  verticalAlign="middle" horizontalAlign="center">
-					<s:RichText id="messageDisplay"  fontFamily="Lato" fontSize="14" fontStyle="normal" color="0x000000" lineHeight="160%"
-								left="9" right="3" top="1" bottom="0" minHeight="30" maxWidth="400"
-								verticalAlign="middle"/>
-					
-					<!--
-					To-do: Need to adjust the styles for buttons
-					-->
-					<s:HGroup id="buttonGroup" width="100%" minWidth="0" minHeight="0" gap="8"
-							  horizontalAlign="center"/>
-				</s:VGroup>
-			</s:HGroup>
-			
-			
-			<!--- @private -->
-			<s:Group id="bottomGroup" minWidth="0" minHeight="0"
-					 includeIn="normalWithControlBar, disabledWithControlBar" >
-				
-				<s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
-					
-					<!-- layer 0: control bar divider line -->
-					<s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
-						<s:fill>
-							<s:SolidColor  color="#FFFFFF"/>
-						</s:fill>
-					</s:Rect>
-					
-					<!-- layer 1: control bar highlight -->
-					<s:Rect left="0" right="0" top="1" bottom="0">
-						<s:fill>
-							<s:SolidColor  color="#FFFFFF"/>
-						</s:fill>
-					</s:Rect>
-					
-					<!-- layer 2: control bar fill -->
-					<s:Rect left="1" right="1" top="2" bottom="1">
-						<s:fill>
-							<s:SolidColor  color="#FFFFFF"/>
-						</s:fill>
-					</s:Rect>
-				</s:Group>
-				<!-- layer 3: control bar -->
-				<!--- @copy spark.components.Panel#controlBarGroup -->
-				<s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
-					<s:layout>
-						<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
-					</s:layout>
-				</s:Group>
-			</s:Group>
-		</s:Group>
-	</s:Group>
-</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml b/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
deleted file mode 100644
index f009956..0000000
--- a/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
+++ /dev/null
@@ -1,191 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the Spark Button component.  
-
-@see spark.components.Button
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
-			 xmlns:s="library://ns.adobe.com/flex/spark" 
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
-			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
-			 alpha.disabled="0.5">
-	<fx:Metadata>[HostComponent("flatSpark.components.ButtonIcon")]</fx:Metadata>
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[         
-			import flatSpark.enums.ButtonColorEnum;
-			import flatSpark.enums.ButtonSizeEnum;
-			import flatSpark.enums.TextInputSizeEnum;
-			import flatSpark.utils.ColorUtils;
-
-			/* Define the skin elements that should not be colorized. 
-			For button, the graphics are colorized but the label is not. */
-			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
-			
-			/** 
-			 * @private
-			 */     
-			override public function get colorizeExclusions():Array {return exclusions;}
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				hostComponent.useHandCursor=true;
-				hostComponent.buttonMode=true;
-				super.initializationComplete();
-			}  
-			
-			/**
-			 *  @private
-			 */
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{
-				var cr:Number = getStyle("cornerRadius");
-				
-				if (cornerRadius != cr)
-				{
-					cornerRadius = cr;
-					fill_up.radiusX = cornerRadius;
-					fill_over.radiusX = cornerRadius;
-					fill_down.radiusX = cornerRadius;
-					fill_disabled.radiusX = cornerRadius;
-				}
-				
-				/*var larguraIcone:int = 0;
-				if (iconFont.text != null && iconFont.text != "")
-				{
-					larguraIcone = 60;
-				}*/
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			private var cornerRadius:Number = 2;
-			
-			private static function getFontSize(height:int):int
-			{
-				var altura:int = 15;
-				
-				switch (height)
-				{
-					case ButtonSizeEnum.Large:
-						altura = 17;
-						break;
-					case ButtonSizeEnum.Normal:
-						altura = 14;
-						break;
-					case ButtonSizeEnum.Small:
-						altura = 13;
-						break;
-					case ButtonSizeEnum.ExtraSmall:
-						altura = 12;
-						break;
-				}
-				
-				return altura;
-			}
-			
-			private static function getIconSize(height:int):int
-			{
-				var altura:int = 17;
-				
-				switch (height)
-				{
-					case ButtonSizeEnum.Large:
-						altura = 19;
-						break;
-					case ButtonSizeEnum.Normal:
-						altura = 17;
-						break;
-					case ButtonSizeEnum.Small:
-						altura = 15;
-						break;
-					case ButtonSizeEnum.ExtraSmall:
-						altura = 12;
-						break;
-				}
-				
-				return altura;
-			}
-			
-		]]>        
-	</fx:Script>
-	
-	<!-- states -->
-	<s:states>
-		<s:State name="up" id="stateUp"/>
-		<s:State name="over" id="stateOver"/>
-		<s:State name="down" id="stateDown"/>
-		<s:State name="disabled" id="stateDisabled"/>
-	</s:states>
-	
-	
-	<!-- layer 2: fill -->
-	<!--- @private -->
-	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateUp)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateOver)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDown)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDisabled)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	
-	<!-- layer 8: text -->
-	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
-	<s:HGroup verticalAlign="middle" verticalCenter="0" horizontalAlign="center" horizontalCenter="0" left="10" right="10" top="2" bottom="2">
-		<s:Label id="iconFont" color="0xFFFFFF" color.disabled="0xE3E3E3" text="{hostComponent.iconFont}"
-				 textAlign="left" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome"
-				 maxDisplayedLines="1" includeInLayout="{hostComponent.iconFont != null}"
-				 horizontalCenter="0" verticalCenter="0" verticalAlign="middle">
-		</s:Label>
-		
-		<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3"
-				 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
-				 maxDisplayedLines="1"
-				 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
-		</s:Label>
-	</s:HGroup>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
deleted file mode 100644
index aa0f9c5..0000000
--- a/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the Spark Button component.  
-
-@see spark.components.Button
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
-			 xmlns:s="library://ns.adobe.com/flex/spark" 
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
-			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
-			 alpha.disabled="0.5">
-	<fx:Metadata>[HostComponent("spark.components.Button")]</fx:Metadata>
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[         
-			import flatSpark.enums.BrandColorEnum;
-			import flatSpark.enums.ButtonColorEnum;
-			import flatSpark.enums.ButtonSizeEnum;
-			import flatSpark.enums.TextInputSizeEnum;
-			import flatSpark.utils.ColorUtils;
-
-			/* Define the skin elements that should not be colorized. 
-			For button, the graphics are colorized but the label is not. */
-			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
-			
-			/** 
-			 * @private
-			 */     
-			override public function get colorizeExclusions():Array {return exclusions;}
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				hostComponent.useHandCursor=true;
-				hostComponent.buttonMode=true;
-				super.initializationComplete();
-			}  
-			
-			/**
-			 *  @private
-			 */
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{
-				var cr:Number = getStyle("cornerRadius");
-				
-				if (cornerRadius != cr)
-				{
-					cornerRadius = cr;
-					fill_up.radiusX = cornerRadius;
-					fill_over.radiusX = cornerRadius;
-					fill_down.radiusX = cornerRadius;
-					fill_disabled.radiusX = cornerRadius;
-				}
-				
-				/*var larguraIcone:int = 0;
-				if (iconFont.text != null && iconFont.text != "")
-				{
-					larguraIcone = 60;
-				}*/
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			private var cornerRadius:Number = 2;
-			
-			private static function getFontSize(height:int):int
-			{
-				var altura:int = 15;
-				
-				switch (height)
-				{
-					case ButtonSizeEnum.Large:
-						altura = 17;
-						break;
-					case ButtonSizeEnum.Normal:
-						altura = 14;
-						break;
-					case ButtonSizeEnum.Small:
-						altura = 13;
-						break;
-					case ButtonSizeEnum.ExtraSmall:
-						altura = 12;
-						break;
-				}
-				
-				return altura;
-			}
-			
-			private static function getIconSize(height:int):int
-			{
-				var altura:int = 17;
-				
-				switch (height)
-				{
-					case ButtonSizeEnum.Large:
-						altura = 19;
-						break;
-					case ButtonSizeEnum.Normal:
-						altura = 17;
-						break;
-					case ButtonSizeEnum.Small:
-						altura = 15;
-						break;
-					case ButtonSizeEnum.ExtraSmall:
-						altura = 12;
-						break;
-				}
-				
-				return altura;
-			}
-			
-		]]>        
-	</fx:Script>
-	
-	<!-- states -->
-	<s:states>
-		<s:State name="up" id="stateUp"/>
-		<s:State name="over" id="stateOver"/>
-		<s:State name="down" id="stateDown"/>
-		<s:State name="disabled" id="stateDisabled"/>
-	</s:states>
-	
-	
-	<!-- layer 2: fill -->
-	<!--- @private -->
-	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateUp)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateOver)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDown)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDisabled)}"/>
-		</s:fill>
-	</s:Rect>
-	
-	
-	<!-- layer 8: text -->
-	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
-	<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3" right="10" left="10"
-			 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
-			 maxDisplayedLines="1"
-			 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
-	</s:Label>
-</s:SparkSkin>


[25/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Revert "Increment and counterpart don't work with FlexJS '_get()' and '_set()'"

Posted by bi...@apache.org.
Revert "Increment and counterpart don't work with FlexJS '_get()' and '_set()'"

This reverts commit af2dc0d8f6712c0003264cea966ef8afd159878c.


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

Branch: refs/heads/iso7skins
Commit: dc8ead62f228f42feba36c1071740200e11fab57
Parents: 7a968cc
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 3 20:41:26 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 3 20:41:26 2014 +0100

----------------------------------------------------------------------
 .../projects/framework/src/mx/managers/SystemManager.as   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/dc8ead62/frameworks/projects/framework/src/mx/managers/SystemManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/SystemManager.as b/frameworks/projects/framework/src/mx/managers/SystemManager.as
index 9eb9bea..61d41ce 100644
--- a/frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ b/frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1752,7 +1752,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes before the 
         // "added" event is dispatched.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
 
         var oldParent:DisplayObjectContainer = child.parent;
         if (oldParent)
@@ -1790,7 +1790,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex = noTopMostIndex - 1;
+        noTopMostIndex--;
 
         return rawChildren_removeChild(child);
     }
@@ -1802,7 +1802,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex = noTopMostIndex - 1;
+        noTopMostIndex--;
 
         return rawChildren_removeChildAt(applicationIndex + index);
     }
@@ -2658,7 +2658,7 @@ public class SystemManager extends MovieClip
         mouseCatcher.name = "mouseCatcher";
         // Must use addChildAt because a creationComplete handler can create a
         // dialog and insert it at 0.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
         super.addChildAt(mouseCatcher, 0);  
         resizeMouseCatcher();
         if (!topLevel)
@@ -2668,7 +2668,7 @@ public class SystemManager extends MovieClip
         }
 
         // Add the application as child 1.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
         super.addChildAt(DisplayObject(app), 1);
 
         CONFIG::performanceInstrumentation


[08/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34538 - create some whitespace at the top of Spark Alert

Posted by bi...@apache.org.
FLEX-34538 - create some whitespace at the top of Spark Alert

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 3e7a1b46a6e86a624c9673cc2d038709852e44f1
Parents: 0de450f
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 9 12:04:07 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 9 12:04:07 2014 +0200

----------------------------------------------------------------------
 frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3e7a1b46/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml b/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml
index 67afe58..f4882ee 100644
--- a/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml
+++ b/frameworks/projects/experimental/src/spark/skins/AlertSkin.mxml
@@ -232,6 +232,7 @@
 
 				</s:Group>
 				<s:VGroup width="100%" height="100%" paddingLeft="5" paddingRight="5" paddingBottom="5"
+						  paddingTop="5"
 						  verticalAlign="middle" horizontalAlign="center">
 					<s:RichText id="messageDisplay"
 							 left="9" right="3" top="1" bottom="0" minHeight="30" maxWidth="400"


[17/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added build scripts and font licenses for FlatSpark

Posted by bi...@apache.org.
Added build scripts and font licenses for FlatSpark


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

Branch: refs/heads/iso7skins
Commit: 2fc9a8d5b95c407763383e8e069109cb87922f4e
Parents: 201d563
Author: Mahmoud Ali <ak...@apache.org>
Authored: Wed Oct 15 21:32:35 2014 -0400
Committer: Mahmoud Ali <ak...@apache.org>
Committed: Wed Oct 15 21:34:11 2014 -0400

----------------------------------------------------------------------
 frameworks/projects/flatspark/build.xml         | 114 ++++++
 .../projects/flatspark/compile-config.xml       | 108 +++++
 frameworks/projects/flatspark/defaults.css      |  28 +-
 .../flatspark/src/FlatSparkSkinsClasses.as      |  49 +++
 .../src/assets/fonts/awesome/FontAwesome.otf    | Bin 62856 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Black.otf        | Bin 47436 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Black_Italic.otf | Bin 46100 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Bold.otf         | Bin 48800 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Bold_Italic.otf  | Bin 47364 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Hairline.otf     | Bin 46852 -> 0 bytes
 .../assets/fonts/lato/Lato_Hairline_Italic.otf  | Bin 46568 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Light.otf        | Bin 47040 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Light_Italic.otf | Bin 47060 -> 0 bytes
 .../src/assets/fonts/lato/Lato_Regular.otf      | Bin 47088 -> 0 bytes
 .../assets/fonts/lato/Lato_Regular_Italic.otf   | Bin 47356 -> 0 bytes
 .../flatspark/src/components/ButtonIcon.as      |  41 --
 .../flatspark/src/components/TextInputIcon.as   |  35 --
 .../flatspark/src/enums/BrandColorEnum.as       |  30 --
 .../flatspark/src/enums/ButtonColorEnum.as      |  59 ---
 .../flatspark/src/enums/ButtonSizeEnum.as       |  31 --
 .../flatspark/src/enums/ColorSwatchEnum.as      |  40 --
 .../projects/flatspark/src/enums/SizeEnum.as    |  32 --
 .../flatspark/src/enums/TextInputSizeEnum.as    |  30 --
 .../assets/fonts/awesome/FontAwesome.otf        | Bin 0 -> 62856 bytes
 .../src/flatspark/assets/fonts/awesome/OFL.txt  |  94 +++++
 .../flatspark/assets/fonts/lato/Lato_Black.otf  | Bin 0 -> 47436 bytes
 .../assets/fonts/lato/Lato_Black_Italic.otf     | Bin 0 -> 46100 bytes
 .../flatspark/assets/fonts/lato/Lato_Bold.otf   | Bin 0 -> 48800 bytes
 .../assets/fonts/lato/Lato_Bold_Italic.otf      | Bin 0 -> 47364 bytes
 .../assets/fonts/lato/Lato_Hairline.otf         | Bin 0 -> 46852 bytes
 .../assets/fonts/lato/Lato_Hairline_Italic.otf  | Bin 0 -> 46568 bytes
 .../flatspark/assets/fonts/lato/Lato_Light.otf  | Bin 0 -> 47040 bytes
 .../assets/fonts/lato/Lato_Light_Italic.otf     | Bin 0 -> 47060 bytes
 .../assets/fonts/lato/Lato_Regular.otf          | Bin 0 -> 47088 bytes
 .../assets/fonts/lato/Lato_Regular_Italic.otf   | Bin 0 -> 47356 bytes
 .../src/flatspark/assets/fonts/lato/OFL.txt     |  94 +++++
 .../src/flatspark/components/ButtonIcon.as      |  41 ++
 .../src/flatspark/components/TextInputIcon.as   |  35 ++
 .../src/flatspark/enums/BrandColorEnum.as       |  30 ++
 .../src/flatspark/enums/ButtonColorEnum.as      |  59 +++
 .../src/flatspark/enums/ButtonSizeEnum.as       |  31 ++
 .../src/flatspark/enums/ColorSwatchEnum.as      |  40 ++
 .../flatspark/src/flatspark/enums/SizeEnum.as   |  32 ++
 .../src/flatspark/enums/TextInputSizeEnum.as    |  30 ++
 .../itemRenderers/DefaultItemRenderer.mxml      |  51 +++
 .../src/flatspark/skins/AlertSkin.mxml          | 230 +++++++++++
 .../src/flatspark/skins/ButtonIconSkin.mxml     | 191 +++++++++
 .../src/flatspark/skins/ButtonSkin.mxml         | 184 +++++++++
 .../src/flatspark/skins/CheckBoxSkin.mxml       | 136 +++++++
 .../src/flatspark/skins/ComboBoxButtonSkin.mxml | 108 +++++
 .../src/flatspark/skins/ComboBoxSkin.mxml       | 127 ++++++
 .../flatspark/skins/ComboBoxTextInputSkin.mxml  | 218 ++++++++++
 .../flatspark/skins/DropDownListButtonSkin.mxml | 109 +++++
 .../src/flatspark/skins/DropDownListSkin.mxml   | 143 +++++++
 .../src/flatspark/skins/HScrollBarSkin.mxml     |  87 ++++
 .../flatspark/skins/HScrollBarThumbSkin.mxml    |  74 ++++
 .../flatspark/skins/HScrollBarTrackSkin.mxml    |  71 ++++
 .../src/flatspark/skins/PanelSkin.mxml          | 253 ++++++++++++
 .../src/flatspark/skins/ProgressBarSkin.mxml    |  54 +++
 .../src/flatspark/skins/RadioButtonSkin.mxml    | 129 ++++++
 .../src/flatspark/skins/ScrollerSkin.mxml       | 106 +++++
 .../src/flatspark/skins/TextInputIconSkin.mxml  | 338 ++++++++++++++++
 .../src/flatspark/skins/TextInputSkin.mxml      | 330 +++++++++++++++
 .../skins/TitleWindowCloseButtonSkin.mxml       | 118 ++++++
 .../src/flatspark/skins/TitleWindowSkin.mxml    | 256 ++++++++++++
 .../src/flatspark/skins/VScrollBarSkin.mxml     |  87 ++++
 .../flatspark/skins/VScrollBarThumbSkin.mxml    |  74 ++++
 .../flatspark/skins/VScrollBarTrackSkin.mxml    |  71 ++++
 .../src/flatspark/utils/AwesomeUtils.as         | 399 +++++++++++++++++++
 .../flatspark/src/flatspark/utils/ColorUtils.as |  90 +++++
 .../flatspark/src/flatspark/utils/ConfigSkin.as |  44 ++
 .../src/itemRenderers/DefaultItemRenderer.mxml  |  51 ---
 .../projects/flatspark/src/skins/AlertSkin.mxml | 230 -----------
 .../flatspark/src/skins/ButtonIconSkin.mxml     | 191 ---------
 .../flatspark/src/skins/ButtonSkin.mxml         | 184 ---------
 .../flatspark/src/skins/CheckBoxSkin.mxml       | 136 -------
 .../flatspark/src/skins/ComboBoxButtonSkin.mxml | 108 -----
 .../flatspark/src/skins/ComboBoxSkin.mxml       | 127 ------
 .../src/skins/ComboBoxTextInputSkin.mxml        | 218 ----------
 .../src/skins/DropDownListButtonSkin.mxml       | 109 -----
 .../flatspark/src/skins/DropDownListSkin.mxml   | 143 -------
 .../flatspark/src/skins/HScrollBarSkin.mxml     |  87 ----
 .../src/skins/HScrollBarThumbSkin.mxml          |  74 ----
 .../src/skins/HScrollBarTrackSkin.mxml          |  71 ----
 .../projects/flatspark/src/skins/PanelSkin.mxml | 253 ------------
 .../flatspark/src/skins/ProgressBarSkin.mxml    |  54 ---
 .../flatspark/src/skins/RadioButtonSkin.mxml    | 129 ------
 .../flatspark/src/skins/ScrollerSkin.mxml       | 106 -----
 .../flatspark/src/skins/TextInputIconSkin.mxml  | 338 ----------------
 .../flatspark/src/skins/TextInputSkin.mxml      | 330 ---------------
 .../src/skins/TitleWindowCloseButtonSkin.mxml   | 118 ------
 .../flatspark/src/skins/TitleWindowSkin.mxml    | 256 ------------
 .../flatspark/src/skins/VScrollBarSkin.mxml     |  87 ----
 .../src/skins/VScrollBarThumbSkin.mxml          |  74 ----
 .../src/skins/VScrollBarTrackSkin.mxml          |  71 ----
 .../flatspark/src/utils/AwesomeUtils.as         | 399 -------------------
 .../projects/flatspark/src/utils/ColorUtils.as  |  90 -----
 .../projects/flatspark/src/utils/ConfigSkin.as  |  44 --
 98 files changed, 4849 insertions(+), 4390 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/build.xml b/frameworks/projects/flatspark/build.xml
new file mode 100644
index 0000000..38f9c46
--- /dev/null
+++ b/frameworks/projects/flatspark/build.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<project name="flatspark" default="main" basedir=".">
+
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
+    
+    <property file="${FLEX_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEX_HOME}/build.properties"/>
+
+    <target name="main" depends="clean,compile" description="Clean build of flatspark.swc"/>
+
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset file="${basedir}/bundles.properties"/>
+            <fileset dir="${FLEX_HOME}/frameworks/libs">
+                <include name="flatspark.swc"/>
+                <include name="flatspark.swc.incr"/>
+            </fileset>
+        </delete>
+    </target>
+
+    <target name="compile" description="Compiles flatspark.swc">
+        <echo message="Compiling frameworks/libs/flatspark.swc"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            This project builds a theme SWC containing skin classes.
+            It has no MXML tags and therefore no manifest.
+            Link in the classes (and their dependencies)
+            listed in SparkSkinsClasses.as.
+            Compile against framework.swc, but don't link it into flatspark.swc.
+            Link in accessibility support.
+            Include various CSS and asset files in the SWC.
+            Don't put any resources into the SWC. (The classes don't require any.)
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+            (This should be an empty list.)
+        -->
+        <compc fork="true" 
+               output="${FLEX_HOME}/frameworks/libs/flatspark.swc">
+            <jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+        </compc>
+    </target>
+
+    <target name="doc" depends="clean-temp-docs" description="updates flatspark.swc with asdoc xml">
+        <!-- Load the <asdoc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+
+        <condition property="asdoc.jvm.args" value="-Xmx384m">
+            <os family="windows"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="mac"/>
+        </condition>
+
+        <condition property="asdoc.jvm.args" value="-Xmx512m">
+            <os family="unix"/>
+        </condition>
+
+        <!-- Call asdoc to generate dita xml files -->
+        <asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" >
+            <compiler.source-path path-element="${basedir}/src"/>
+            <external-library-path dir="${env.PLAYERGLOBAL_HOME}">
+                <include name="${playerglobal.version}/playerglobal.swc"/>
+            </external-library-path>
+            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
+                <include name="framework.swc" />
+                <include name="spark.swc" />
+            </external-library-path>
+            <jvmarg line="${asdoc.jvm.args}"/>
+        </asdoc>
+
+        <!-- updates flatspark.swc with asdoc xml -->
+        <zip destfile="${FLEX_HOME}/frameworks/libs/flatspark.swc" update="true">
+            <zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
+                <include name="*.*"/>
+                <exclude name="ASDoc_Config.xml"/>
+                <exclude name="overviews.xml"/>
+            </zipfileset>
+        </zip>
+    </target>
+
+    <target name="clean-temp-docs">
+        <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/compile-config.xml b/frameworks/projects/flatspark/compile-config.xml
new file mode 100644
index 0000000..8e84de4
--- /dev/null
+++ b/frameworks/projects/flatspark/compile-config.xml
@@ -0,0 +1,108 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<flex-config>
+
+    <compiler>
+
+        <accessible>true</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+            <path-element>../../libs/framework.swc</path-element>
+            <path-element>../../libs/spark.swc</path-element>
+            <path-element>../../libs/textLayout.swc</path-element>
+        </external-library-path>
+        
+        <locale/>
+        
+        <library-path/>
+
+        <namespaces>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/spark</uri>
+                <manifest>../../spark-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+
+    </compiler>
+	
+	<include-classes>
+		<class>FlatSparkSkinsClasses</class>
+	</include-classes>
+	
+	<include-file>
+        <name>defaults.css</name>
+        <path>defaults.css</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/awesome/FontAwesome.otf</name>
+        <path>src/flatspark/assets/fonts/awesome/FontAwesome.otf</path>
+    </include-file>
+    <include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Black.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Black.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Black_Italic.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Black_Italic.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Bold.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Bold.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Bold_Italic.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Bold_Italic.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Hairline.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Hairline.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Light.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Light.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Light_Italic.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Light_Italic.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Regular.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Regular.otf</path>
+    </include-file>
+	<include-file>
+        <name>flatspark/assets/fonts/lato/Lato_Regular_Italic.otf</name>
+        <path>src/flatspark/assets/fonts/lato/Lato_Regular_Italic.otf</path>
+    </include-file>
+    
+    <resource-bundle-list>bundles.properties</resource-bundle-list>
+    
+    <target-player>${playerglobal.version}</target-player>
+
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/defaults.css b/frameworks/projects/flatspark/defaults.css
index 5c4783b..cefa317 100644
--- a/frameworks/projects/flatspark/defaults.css
+++ b/frameworks/projects/flatspark/defaults.css
@@ -1,37 +1,37 @@
 /* CSS file */
 @namespace s "library://ns.adobe.com/flex/spark";
-@namespace components "flatSpark.components.*";
+@namespace components "flatspark.components.*";
 @namespace ns "http://flex.apache.org/experimental/ns";
 
 
 @font-face { 
-	src: url("flatSpark/assets/fonts/awesome/FontAwesome.otf"); 
+	src: url("flatspark/assets/fonts/awesome/FontAwesome.otf"); 
 	fontFamily: FontAwesome;
 	embedAsCFF: true;
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Regular.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Regular.otf");
 	fontFamily: Lato; 
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Regular_Italic.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Regular_Italic.otf");
 	fontFamily: Lato;
 	fontStyle: italic;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Bold.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Bold.otf");
 	fontFamily: Lato;
 	fontWeight: bold;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Bold_Italic.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Bold_Italic.otf");
 	fontFamily: Lato;
 	fontStyle: italic;
 	fontWeight: bold;
@@ -39,39 +39,39 @@
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Light.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Light.otf");
 	fontFamily: LatoLight;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Light_Italic.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Light_Italic.otf");
 	fontFamily: LatoLight;
 	fontStyle: italic;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Hairline.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Hairline.otf");
 	fontFamily: LatoHairline;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Hairline_Italic.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf");
 	fontFamily: LatoHairline;
 	fontStyle: italic;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Black.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Black.otf");
 	fontFamily: LatoBlack;
 	embedAsCFF: true; 
 }
 
 @font-face {
-	src:url("flatSpark/assets/fonts/lato/Lato_Black_Italic.otf");
+	src:url("flatspark/assets/fonts/lato/Lato_Black_Italic.otf");
 	fontFamily: LatoBlack;
 	fontStyle: italic;
 	embedAsCFF: true; 
@@ -89,9 +89,9 @@ s|Application {
 }
 
 components|ButtonIcon {
-	skinClass: ClassReference("flatSpark.skins.ButtonIconSkin");
+	skinClass: ClassReference("flatspark.skins.ButtonIconSkin");
 }
 
 components|TextInputIcon {
-	skinClass: ClassReference("flatSpark.skins.TextInputIconSkin");
+	skinClass: ClassReference("flatspark.skins.TextInputIconSkin");
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as b/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
new file mode 100644
index 0000000..841f803
--- /dev/null
+++ b/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
@@ -0,0 +1,49 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package
+{
+
+/**
+ *  @private
+ *  This class is used to link additional classes into framework.swc
+ *  beyond those that are found by dependecy analysis starting
+ *  from the classes specified in manifest.xml.
+ *  For example, Button does not have a reference to ButtonSkin,
+ *  but ButtonSkin needs to be in framework.swc along with Button.
+ */
+internal class FlatSparkSkinsClasses
+{
+	// skins
+    import flatspark.skins.ButtonSkin; ButtonSkin;
+	import flatspark.skins.ButtonIconSkin; ButtonIconSkin;
+	import flatspark.skins.CheckBoxSkin; CheckBoxSkin;
+	import flatspark.skins.ComboBoxSkin; ComboBoxSkin;
+	import flatspark.skins.ScrollerSkin; ScrollerSkin;
+	import flatspark.skins.DropDownListSkin; DropDownListSkin;
+	import flatspark.skins.PanelSkin; PanelSkin;
+	import flatspark.skins.RadioButtonSkin; RadioButtonSkin;
+	import flatspark.skins.TextInputSkin; TextInputSkin;
+	import flatspark.skins.TextInputIconSkin; TextInputIconSkin;
+	import flatspark.skins.TitleWindowSkin; TitleWindowSkin;
+	// Maintain alphabetical order
+}
+
+}
+

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf b/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf
deleted file mode 100644
index 8b0f54e..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf
deleted file mode 100644
index 237ffb7..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf
deleted file mode 100644
index 97f1b93..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf
deleted file mode 100644
index 7f0a3d3..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf
deleted file mode 100644
index 4eb4518..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf
deleted file mode 100644
index 4edb976..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf
deleted file mode 100644
index 50b82a2..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf
deleted file mode 100644
index 3226cb9..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf
deleted file mode 100644
index d7557b0..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf
deleted file mode 100644
index 1f94789..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf
deleted file mode 100644
index 6341374..0000000
Binary files a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/components/ButtonIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/components/ButtonIcon.as b/frameworks/projects/flatspark/src/components/ButtonIcon.as
deleted file mode 100644
index 96e1221..0000000
--- a/frameworks/projects/flatspark/src/components/ButtonIcon.as
+++ /dev/null
@@ -1,41 +0,0 @@
-/**	
-	  Licensed to the Apache Software Foundation (ASF) under one or more
-	  contributor license agreements.  See the NOTICE file distributed with
-	  this work for additional information regarding copyright ownership.
-	  The ASF licenses this file to You under the Apache License, Version 2.0
-	  (the "License"); you may not use this file except in compliance with
-	  the License.  You may obtain a copy of the License at
-	
-		  http://www.apache.org/licenses/LICENSE-2.0
-	
-	  Unless required by applicable law or agreed to in writing, software
-	  distributed under the License is distributed on an "AS IS" BASIS,
-	  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-	  See the License for the specific language governing permissions and
-	  limitations under the License.	
-*/
-
-package flatSpark.components
-{
-
-	import spark.components.Button;
-	
-	import flatSpark.enums.BrandColorEnum;
-
-	public class ButtonIcon extends spark.components.Button
-	{
-
-		[Bindable]
-		public var iconFont:String;
-		
-		[Bindable]
-		public var brand:int = BrandColorEnum.Default;
-
-
-		public function ButtonIcon()
-		{
-			super();
-		}
-
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/components/TextInputIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/components/TextInputIcon.as b/frameworks/projects/flatspark/src/components/TextInputIcon.as
deleted file mode 100644
index 73caada..0000000
--- a/frameworks/projects/flatspark/src/components/TextInputIcon.as
+++ /dev/null
@@ -1,35 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.components
-{
-	import flash.events.FocusEvent;
-	
-	import spark.components.TextInput;
-	
-	public class TextInputIcon extends spark.components.TextInput
-	{
-		[Bindable]
-		public var iconFont:String;
-		
-		public function TextInputIcon()
-		{
-			super();
-		}
-		
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/BrandColorEnum.as b/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
deleted file mode 100644
index 9be14b2..0000000
--- a/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
+++ /dev/null
@@ -1,30 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	public class BrandColorEnum
-	{
-		public static const Primary:int = 1;
-		public static const Success:int = 2;
-		public static const Warning:int = 3;
-		public static const Inverse:int = 4;
-		public static const Default:int = 5;
-		public static const Info:int = 6;
-		public static const Danger:int = 7;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as b/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
deleted file mode 100644
index 48d1a55..0000000
--- a/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
+++ /dev/null
@@ -1,59 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	import flatSpark.utils.ColorUtils;
-
-	public class ButtonColorEnum
-	{
-		public static const PrimaryUp:uint = ColorUtils.Turquoise;
-		public static const PrimaryHover:uint = 0x48C9B0;
-		public static const PrimaryDown:uint = 0x16A085;
-		public static const PrimaryDisabled:uint = ColorUtils.Turquoise;
-		
-		public static const SuccessUp:uint = ColorUtils.Emerald;
-		public static const SuccessHover:uint = 0x58D68D;
-		public static const SuccessDown:uint = 0x27AD60;
-		public static const SuccessDisabled:uint = ColorUtils.Emerald;
-		
-		public static const WarningUp:uint = ColorUtils.SunFlower;
-		public static const WarningHover:uint = 0xF5D313;
-		public static const WarningDown:uint = 0xCDA70D;
-		public static const WarningDisabled:uint = ColorUtils.SunFlower;
-		
-		public static const InverseUp:uint = ColorUtils.WetAsphalt;
-		public static const InverseHover:uint = 0x415B76;
-		public static const InverseDown:uint = 0x2C3E50;
-		public static const InverseDisabled:uint = ColorUtils.WetAsphalt;
-		
-		public static const DefaultUp:uint = ColorUtils.Silver;
-		public static const DefaultHover:uint = 0xCACFD2;
-		public static const DefaultDown:uint = 0xA1A6A9;
-		public static const DefaultDisabled:uint = ColorUtils.Silver;
-		
-		public static const InfoUp:uint = ColorUtils.PeterRiver;
-		public static const InfoHover:uint = 0x5DADE2;
-		public static const InfoDown:uint = 0x2C81BA;
-		public static const InfoDisabled:uint = ColorUtils.PeterRiver;
-		
-		public static const DangerUp:uint = ColorUtils.Alizarin;
-		public static const DangerHover:uint = 0xEC7063;
-		public static const DangerDown:uint = 0xC44133;
-		public static const DangerDisabled:uint = ColorUtils.Alizarin;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as b/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
deleted file mode 100644
index bb210fc..0000000
--- a/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
+++ /dev/null
@@ -1,31 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	public class ButtonSizeEnum
-	{
-		public static const Large:int = 43;
-		public static const Normal:int = 32;
-		public static const Small:int = 28;
-		public static const ExtraSmall:int = 20;
-		
-		public function ButtonSizeEnum()
-		{
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as b/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
deleted file mode 100644
index a1a2769..0000000
--- a/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
+++ /dev/null
@@ -1,40 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	public class ColorSwatchEnum
-	{
-		public static const Turquoise_GreenSea:int = 1;
-		public static const Emerald_Nephritis:int = 2;
-		public static const PeterRiver_BelizeHole:int = 3;
-		public static const Amethyst_Wisteria:int = 4;
-		public static const WetAsphalt_MidnightBlue:int = 5;
-		public static const SunFlower_Orange:int = 6;
-		public static const Carrot_Pumpkin:int = 7;
-		public static const Alizarin_Pomegranate:int = 8;
-		public static const Clouds_Silver:int = 9;
-		public static const Concrete_Asbestos:int = 10;
-		
-		
-		private var _colorSwatch:int;
-		
-		public function ColorSwatchEnum(colorSwatch:int = 3) {
-			_colorSwatch = colorSwatch;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/SizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/SizeEnum.as b/frameworks/projects/flatspark/src/enums/SizeEnum.as
deleted file mode 100644
index 83600fa..0000000
--- a/frameworks/projects/flatspark/src/enums/SizeEnum.as
+++ /dev/null
@@ -1,32 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	public class SizeEnum
-	{
-		public static const Small:int = 10;
-		public static const Medium:int = 12;
-		public static const Large:int = 14;
-
-		private var _size:int;
-		
-		public function SizeEnum(size:int = 12) {
-			_size = size;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as b/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
deleted file mode 100644
index e7c38be..0000000
--- a/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
+++ /dev/null
@@ -1,30 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.enums
-{
-	public class TextInputSizeEnum
-	{
-		public static const Large:int = 41;
-		public static const Normal:int = 38;
-		public static const Small:int = 31;
-		
-		public function TextInputSizeEnum()
-		{
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/FontAwesome.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/FontAwesome.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/FontAwesome.otf
new file mode 100644
index 0000000..8b0f54e
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/FontAwesome.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
new file mode 100644
index 0000000..d68a2c8
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
@@ -0,0 +1,94 @@
+Copyright (c) 2014, Dave Gandy (http://fontawesome.io),
+with Reserved Font Name "Font Awesome".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black.otf
new file mode 100644
index 0000000..237ffb7
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black_Italic.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black_Italic.otf
new file mode 100644
index 0000000..97f1b93
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Black_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold.otf
new file mode 100644
index 0000000..7f0a3d3
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold_Italic.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold_Italic.otf
new file mode 100644
index 0000000..4eb4518
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Bold_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline.otf
new file mode 100644
index 0000000..4edb976
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf
new file mode 100644
index 0000000..50b82a2
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light.otf
new file mode 100644
index 0000000..3226cb9
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light_Italic.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light_Italic.otf
new file mode 100644
index 0000000..d7557b0
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Light_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular.otf
new file mode 100644
index 0000000..1f94789
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular_Italic.otf b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular_Italic.otf
new file mode 100644
index 0000000..6341374
Binary files /dev/null and b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/Lato_Regular_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
new file mode 100644
index 0000000..303088c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
@@ -0,0 +1,94 @@
+Copyright (c) 2014, Łukasz Dziedzic (https://www.google.com/fonts/specimen/Lato),
+with Reserved Font Name "Lato".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as b/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as
new file mode 100644
index 0000000..d14c53f
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as
@@ -0,0 +1,41 @@
+/**	
+	  Licensed to the Apache Software Foundation (ASF) under one or more
+	  contributor license agreements.  See the NOTICE file distributed with
+	  this work for additional information regarding copyright ownership.
+	  The ASF licenses this file to You under the Apache License, Version 2.0
+	  (the "License"); you may not use this file except in compliance with
+	  the License.  You may obtain a copy of the License at
+	
+		  http://www.apache.org/licenses/LICENSE-2.0
+	
+	  Unless required by applicable law or agreed to in writing, software
+	  distributed under the License is distributed on an "AS IS" BASIS,
+	  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	  See the License for the specific language governing permissions and
+	  limitations under the License.	
+*/
+
+package flatspark.components
+{
+
+	import spark.components.Button;
+	
+	import flatspark.enums.BrandColorEnum;
+
+	public class ButtonIcon extends spark.components.Button
+	{
+
+		[Bindable]
+		public var iconFont:String;
+		
+		[Bindable]
+		public var brand:int = BrandColorEnum.Default;
+
+
+		public function ButtonIcon()
+		{
+			super();
+		}
+
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/components/TextInputIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/components/TextInputIcon.as b/frameworks/projects/flatspark/src/flatspark/components/TextInputIcon.as
new file mode 100644
index 0000000..98b6a9c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/components/TextInputIcon.as
@@ -0,0 +1,35 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.components
+{
+	import flash.events.FocusEvent;
+	
+	import spark.components.TextInput;
+	
+	public class TextInputIcon extends spark.components.TextInput
+	{
+		[Bindable]
+		public var iconFont:String;
+		
+		public function TextInputIcon()
+		{
+			super();
+		}
+		
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/BrandColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/BrandColorEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/BrandColorEnum.as
new file mode 100644
index 0000000..93742ee
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/BrandColorEnum.as
@@ -0,0 +1,30 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	public class BrandColorEnum
+	{
+		public static const Primary:int = 1;
+		public static const Success:int = 2;
+		public static const Warning:int = 3;
+		public static const Inverse:int = 4;
+		public static const Default:int = 5;
+		public static const Info:int = 6;
+		public static const Danger:int = 7;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/ButtonColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/ButtonColorEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/ButtonColorEnum.as
new file mode 100644
index 0000000..5eae405
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/ButtonColorEnum.as
@@ -0,0 +1,59 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	import flatspark.utils.ColorUtils;
+
+	public class ButtonColorEnum
+	{
+		public static const PrimaryUp:uint = ColorUtils.Turquoise;
+		public static const PrimaryHover:uint = 0x48C9B0;
+		public static const PrimaryDown:uint = 0x16A085;
+		public static const PrimaryDisabled:uint = ColorUtils.Turquoise;
+		
+		public static const SuccessUp:uint = ColorUtils.Emerald;
+		public static const SuccessHover:uint = 0x58D68D;
+		public static const SuccessDown:uint = 0x27AD60;
+		public static const SuccessDisabled:uint = ColorUtils.Emerald;
+		
+		public static const WarningUp:uint = ColorUtils.SunFlower;
+		public static const WarningHover:uint = 0xF5D313;
+		public static const WarningDown:uint = 0xCDA70D;
+		public static const WarningDisabled:uint = ColorUtils.SunFlower;
+		
+		public static const InverseUp:uint = ColorUtils.WetAsphalt;
+		public static const InverseHover:uint = 0x415B76;
+		public static const InverseDown:uint = 0x2C3E50;
+		public static const InverseDisabled:uint = ColorUtils.WetAsphalt;
+		
+		public static const DefaultUp:uint = ColorUtils.Silver;
+		public static const DefaultHover:uint = 0xCACFD2;
+		public static const DefaultDown:uint = 0xA1A6A9;
+		public static const DefaultDisabled:uint = ColorUtils.Silver;
+		
+		public static const InfoUp:uint = ColorUtils.PeterRiver;
+		public static const InfoHover:uint = 0x5DADE2;
+		public static const InfoDown:uint = 0x2C81BA;
+		public static const InfoDisabled:uint = ColorUtils.PeterRiver;
+		
+		public static const DangerUp:uint = ColorUtils.Alizarin;
+		public static const DangerHover:uint = 0xEC7063;
+		public static const DangerDown:uint = 0xC44133;
+		public static const DangerDisabled:uint = ColorUtils.Alizarin;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/ButtonSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/ButtonSizeEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/ButtonSizeEnum.as
new file mode 100644
index 0000000..63b6f2c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/ButtonSizeEnum.as
@@ -0,0 +1,31 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	public class ButtonSizeEnum
+	{
+		public static const Large:int = 43;
+		public static const Normal:int = 32;
+		public static const Small:int = 28;
+		public static const ExtraSmall:int = 20;
+		
+		public function ButtonSizeEnum()
+		{
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/ColorSwatchEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/ColorSwatchEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/ColorSwatchEnum.as
new file mode 100644
index 0000000..f497f62
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/ColorSwatchEnum.as
@@ -0,0 +1,40 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	public class ColorSwatchEnum
+	{
+		public static const Turquoise_GreenSea:int = 1;
+		public static const Emerald_Nephritis:int = 2;
+		public static const PeterRiver_BelizeHole:int = 3;
+		public static const Amethyst_Wisteria:int = 4;
+		public static const WetAsphalt_MidnightBlue:int = 5;
+		public static const SunFlower_Orange:int = 6;
+		public static const Carrot_Pumpkin:int = 7;
+		public static const Alizarin_Pomegranate:int = 8;
+		public static const Clouds_Silver:int = 9;
+		public static const Concrete_Asbestos:int = 10;
+		
+		
+		private var _colorSwatch:int;
+		
+		public function ColorSwatchEnum(colorSwatch:int = 3) {
+			_colorSwatch = colorSwatch;
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/SizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/SizeEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/SizeEnum.as
new file mode 100644
index 0000000..fd68aee
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/SizeEnum.as
@@ -0,0 +1,32 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	public class SizeEnum
+	{
+		public static const Small:int = 10;
+		public static const Medium:int = 12;
+		public static const Large:int = 14;
+
+		private var _size:int;
+		
+		public function SizeEnum(size:int = 12) {
+			_size = size;
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/enums/TextInputSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/enums/TextInputSizeEnum.as b/frameworks/projects/flatspark/src/flatspark/enums/TextInputSizeEnum.as
new file mode 100644
index 0000000..2b2568e
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/enums/TextInputSizeEnum.as
@@ -0,0 +1,30 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatspark.enums
+{
+	public class TextInputSizeEnum
+	{
+		public static const Large:int = 41;
+		public static const Normal:int = 38;
+		public static const Small:int = 31;
+		
+		public function TextInputSizeEnum()
+		{
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/itemRenderers/DefaultItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/itemRenderers/DefaultItemRenderer.mxml b/frameworks/projects/flatspark/src/flatspark/itemRenderers/DefaultItemRenderer.mxml
new file mode 100644
index 0000000..7b2a914
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/itemRenderers/DefaultItemRenderer.mxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
+				xmlns:s="library://ns.adobe.com/flex/spark"
+				autoDrawBackground="false" height="32">
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="hovered" />
+		<s:State name="selected" />
+	</s:states>
+	<fx:Script>
+		<![CDATA[
+			
+			import flatspark.utils.ColorUtils;
+			
+		]]>
+	</fx:Script>
+	
+	<s:Rect id="bgFill"
+			radiusX="4"
+			includeIn="hovered,selected"
+			left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}"
+						  color.selected="{ColorUtils.Turquoise}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Label id="labelDisplay" paddingRight="4" paddingTop="1" paddingBottom="1" paddingLeft="4" 
+			 verticalAlign="middle" height="100%" fontFamily="Lato" fontSize="15" fontWeight="normal" 
+			 fontStyle="normal" color="{ColorUtils.Clouds}" color.hovered="{ColorUtils.Silver}"/>
+	
+</s:ItemRenderer>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/flatspark/skins/AlertSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/skins/AlertSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/AlertSkin.mxml
new file mode 100644
index 0000000..0e9a104
--- /dev/null
+++ b/frameworks/projects/flatspark/src/flatspark/skins/AlertSkin.mxml
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
+			 minWidth="131" minHeight="30" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+	<fx:Metadata>
+		<![CDATA[
+		[HostComponent("spark.components.Alert")]
+		]]>
+	</fx:Metadata>
+	
+		<fx:Script fb:purpose="styling">
+			<![CDATA[
+				import flatspark.utils.ColorUtils;
+
+		/* Define the skin elements that should not be colorized.
+		For panel, border and title background are skinned, but the content area and title text are not. */
+		static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array {return exclusions;}
+		
+		/**
+		 * @private
+		 */
+		override protected function initializationComplete():void
+		{
+			useChromeColor = true;
+			super.initializationComplete();
+		}
+		
+		/**
+		 * @private
+		 */
+		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+		{
+				setPartCornerRadii(topMaskRect);
+				setPartCornerRadii(background);
+			
+			if (bottomMaskRect) setPartCornerRadii(bottomMaskRect);
+			
+			super.updateDisplayList(unscaledWidth, unscaledHeight);
+		}
+		
+		/**
+		 * @private
+		 */
+		private function setPartCornerRadii(target:Rect):void
+		{
+			target.topLeftRadiusX = cornerRadius;
+			target.topRightRadiusX = cornerRadius;
+			target.bottomLeftRadiusX = cornerRadius;
+			target.bottomRightRadiusX = cornerRadius;
+		}
+		
+		private var cornerRadius:Number=4;
+				
+			]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:Group id="contentGroup" />
+	</fx:Declarations>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="disabled" />
+		<s:State name="normalWithControlBar" stateGroups="withControls" />
+		<s:State name="disabledWithControlBar" stateGroups="withControls" />
+	</s:states>
+	
+	<!-- drop shadow can't be hittable so all other graphics go in this group -->
+	<s:Group left="0" right="0" top="0" bottom="0">
+		
+		<!-- top group mask -->
+		<!--- @private -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
+			<!--- @private -->
+			<s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- bottom group mask -->
+		<!--- @private -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask"
+				 includeIn="normalWithControlBar, disabledWithControlBar">
+			<!--- @private -->
+			<s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- layer 2: background fill -->
+		<!--- Defines the appearance of the PanelSkin class's background. -->
+		<s:Rect id="background" left="0" top="0" right="0" bottom="0">
+			<s:fill>
+				<s:SolidColor id="backgroundFill" color="#FFFFFF"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- layer 3: contents -->
+		<!--- Contains the vertical stack of titlebar content and controlbar. -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="contents">
+			<s:layout>
+				<s:VerticalLayout gap="0" horizontalAlign="justify" />
+			</s:layout>
+			
+			<!--- @private -->
+			<s:Group id="topGroup" mask="{topGroupMask}">
+				
+				<!-- layer 0: title bar fill -->
+				<!--- @private -->
+				<s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Concrete}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 1: title bar highlight -->
+				<!--- @private -->
+				<s:Rect id="tbHilite" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Concrete}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 2: title bar divider -->
+				<!--- @private -->
+				<s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Asbestos}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 3: text -->
+				<!--- @copy spark.components.Panel#titleDisplay -->
+				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
+						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
+						 verticalAlign="middle" fontWeight="bold" />
+			</s:Group>
+			
+			<!--
+			Note: setting the minimum size to 0 here so that changes to the host component's
+			size will not be thwarted by this skin part's minimum size.   This is a compromise,
+			more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+			-->
+			<!--- @copy spark.components.SkinnableContainer#contentGroup -->
+			<!--<s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+			</s:Group>-->
+			<s:HGroup width="100%" height="100%" verticalAlign="middle" horizontalAlign="center" paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20">
+				<s:Group id="iconGroup" height="100%">
+					
+				</s:Group>
+				<s:VGroup width="100%" height="100%" paddingLeft="5" paddingRight="5" paddingBottom="5" gap="20"
+						  verticalAlign="middle" horizontalAlign="center">
+					<s:RichText id="messageDisplay"  fontFamily="Lato" fontSize="14" fontStyle="normal" color="0x000000" lineHeight="160%"
+								left="9" right="3" top="1" bottom="0" minHeight="30" maxWidth="400"
+								verticalAlign="middle"/>
+					
+					<!--
+					To-do: Need to adjust the styles for buttons
+					-->
+					<s:HGroup id="buttonGroup" width="100%" minWidth="0" minHeight="0" gap="8"
+							  horizontalAlign="center"/>
+				</s:VGroup>
+			</s:HGroup>
+			
+			
+			<!--- @private -->
+			<s:Group id="bottomGroup" minWidth="0" minHeight="0"
+					 includeIn="normalWithControlBar, disabledWithControlBar" >
+				
+				<s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
+					
+					<!-- layer 0: control bar divider line -->
+					<s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+					
+					<!-- layer 1: control bar highlight -->
+					<s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+					
+					<!-- layer 2: control bar fill -->
+					<s:Rect left="1" right="1" top="2" bottom="1">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+				</s:Group>
+				<!-- layer 3: control bar -->
+				<!--- @copy spark.components.Panel#controlBarGroup -->
+				<s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+					<s:layout>
+						<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+					</s:layout>
+				</s:Group>
+			</s:Group>
+		</s:Group>
+	</s:Group>
+</s:SparkSkin>
\ No newline at end of file


[03/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added FlatSpark project

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/PanelSkin.mxml b/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
new file mode 100644
index 0000000..3304b48
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
@@ -0,0 +1,253 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for a Spark Panel container.  
+
+    @see spark.components.Panel
+
+    @langversion 3.0
+    @playerversion Flash 10
+    @playerversion AIR 1.5
+    @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false" 
+    minWidth="131" minHeight="127" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+    
+    <fx:Metadata>
+        <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.Panel")]
+        ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatSpark.utils.ColorUtils;
+		
+		/* Define the skin elements that should not be colorized. 
+        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
+        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup", "border"];
+			
+		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
+		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array 
+		{
+			// Since border is styleable via borderColor, no need to allow chromeColor to affect
+			// the border.  This is wrapped in a compatibility flag since this change was added  
+			// in Flex 4.5
+			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+			{
+				return exclusions_4_0;
+			}
+			
+			return exclusions;
+		}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         * @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {            
+			dropShadow.tlRadius = cornerRadius;
+			dropShadow.trRadius = cornerRadius;
+			dropShadow.blRadius = cornerRadius;
+			dropShadow.brRadius = cornerRadius;
+			
+			setPartCornerRadii(topMaskRect);  
+			setPartCornerRadii(background);  
+            
+			if (bottomMaskRect != null)
+			{
+				setPartCornerRadii(bottomMaskRect);
+			}
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+        
+        /**
+         * @private
+         */  
+        private function setPartCornerRadii(target:Rect):void
+        {            
+            target.topLeftRadiusX = cornerRadius;
+            target.topRightRadiusX = cornerRadius;
+            target.bottomLeftRadiusX = cornerRadius;
+            target.bottomRightRadiusX = cornerRadius;
+        }
+        
+		private var cornerRadius:Number=4;
+		]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="normalWithControlBar" stateGroups="withControls" />
+        <s:State name="disabledWithControlBar" stateGroups="withControls" />
+    </s:states>
+    
+    <!-- drop shadow can't be hittable so it stays sibling of other graphics -->
+    <!--- @private -->
+    <s:RectangularDropShadow id="dropShadow" blurX="4" distance="0" angle="90" alpha="1"
+                          color="{ColorUtils.Silver}" left="0" top="0" right="0" bottom="0"/>
+    
+    <!-- drop shadow can't be hittable so all other graphics go in this group -->
+    <s:Group left="0" right="0" top="0" bottom="0">
+        
+        <!-- top group mask -->
+        <!--- @private -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
+            <!--- @private -->
+            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!-- bottom group mask -->
+        <!--- @private -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask" 
+                 includeIn="normalWithControlBar, disabledWithControlBar">
+            <!--- @private -->
+            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!-- layer 2: background fill -->
+        <!--- Defines the appearance of the PanelSkin class's background. -->
+        <s:Rect id="background" left="0" top="0" right="0" bottom="0">
+            <s:fill>
+                <!--- @private
+                      Defines the  PanelSkin class's background fill. The default color is 0xFFFFFF. -->
+                <s:SolidColor id="backgroundFill" color="0xFFFFFF"/>
+            </s:fill>
+        </s:Rect>
+        
+        <!-- layer 3: contents -->
+        <!--- Contains the vertical stack of titlebar content and controlbar. -->
+        <s:Group left="0" top="0" right="0" bottom="0" id="contents">
+            <s:layout>
+                <s:VerticalLayout gap="0" horizontalAlign="justify" />
+            </s:layout>
+            
+            <!--- @private -->
+            <s:Group id="topGroup" mask="{topGroupMask}">
+                
+                <!-- layer 0: title bar fill -->
+                <!--- @private -->
+                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 1: title bar highlight -->
+                <!--- @private -->
+                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 2: title bar divider -->
+                <!--- @private -->
+                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+                    <s:fill>
+						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <!-- layer 3: text -->
+                <!--- @copy spark.components.Panel#titleDisplay -->
+				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
+						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
+						 verticalAlign="middle" fontWeight="bold" />
+            </s:Group>
+            
+            <!--
+                Note: setting the minimum size to 0 here so that changes to the host component's
+                size will not be thwarted by this skin part's minimum size.   This is a compromise,
+                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+            -->
+            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
+            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+            </s:Group>
+            
+            <!--- @private -->
+            <s:Group id="bottomGroup" minWidth="0" minHeight="0"
+                     includeIn="normalWithControlBar, disabledWithControlBar" >
+                
+                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
+
+                    <!-- layer 0: control bar divider line -->
+                    <s:Rect left="0" right="0" top="0" height="1" alpha="0.5">
+                        <s:fill>
+							<s:SolidColor color="{ColorUtils.Silver}" />
+                        </s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 1: control bar highlight -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="{ColorUtils.Clouds}" />
+						</s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 2: control bar fill -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="{ColorUtils.Clouds}" />
+						</s:fill>
+                    </s:Rect>
+                </s:Group>
+                <!-- layer 3: control bar -->
+                <!--- @copy spark.components.Panel#controlBarGroup -->
+                <s:Group id="controlBarGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0">
+                    <s:layout>
+                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+                    </s:layout>
+                </s:Group>
+            </s:Group>
+        </s:Group>
+    </s:Group>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml b/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
new file mode 100644
index 0000000..3a0ad79
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark">
+	<fx:Metadata>
+		[HostComponent("spark.components.ProgressBar")]
+	</fx:Metadata>
+	
+	<fx:Script>
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+		]]>
+	</fx:Script>
+	<s:Rect left="0" minHeight="14" top="0" bottom="0" right="0" radiusX="4">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Clouds}" />
+		</s:fill>
+	</s:Rect>
+	<s:Group id="progressGroup" top="0" bottom="0"
+			 left="{hostComponent.direction=='left' ? 0 : NaN}"
+			 right="{hostComponent.direction=='right' ? 0 : NaN}">
+		<s:Rect left="0" top="0" bottom="0" right="0" radiusX="4">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}" />
+			</s:fill>
+		</s:Rect>
+		<!--
+		Variant #2 (looks nicer) - uncomment this and remove last Label declaration
+		<s:Label id="percentDisplay"
+		right="2" verticalCenter="0" verticalAlign="middle"
+		visible="{progressBox.width > percentDisplay.width + 4}"
+		includeInLayout="{progressBox.width > percentDisplay.width + 4}"/>
+		-->
+	</s:Group>
+	<s:Label id="percentDisplay" left="2" right="2" verticalCenter="0" verticalAlign="middle" color="{ColorUtils.WetAsphalt}" fontFamily="Lato" fontWeight="bold" fontSize="13" textAlign="center" />
+
+</s:Skin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
new file mode 100644
index 0000000..0f7a11f
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<!--- The default skin class for a Spark RadioButton component.  
+
+       @see spark.components.RadioButton
+       @see spark.components.RadioButtonGroup
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5">
+	<fx:Metadata>[HostComponent("spark.components.RadioButton")]</fx:Metadata>
+
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For button, the graphics are colorized but the label is not. */
+        static private const exclusions:Array = ["labelDisplay", "dot"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
+        static private const symbols:Array = [];
+        
+        /**
+         * @private
+         */
+        override public function get symbolItems():Array {return symbols};
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+			import flatSpark.utils.ColorUtils;
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["labelDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" stateGroups="overStates" />
+        <s:State name="down" stateGroups="downStates" />
+        <s:State name="disabled" stateGroups="disabledStates" />
+        <s:State name="upAndSelected" stateGroups="selectedStates" />
+        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
+        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
+        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
+    </s:states>
+    
+	<s:Group verticalCenter="0" width="22" height="22">
+		<!-- fill -->
+		<s:Ellipse left="1" top="1" right="1" bottom="1">
+			<s:fill>
+				<s:SolidColor color="#FFFFFF" />
+			</s:fill>
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Silver}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="overStates">
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Asbestos}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="selectedStates">
+			<s:stroke>
+				<s:SolidColorStroke color="{ColorUtils.Turquoise}" weight="4"/>
+			</s:stroke>
+		</s:Ellipse>
+		
+		<s:Ellipse left="8" top="8" right="8" bottom="8" includeIn="selectedStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}" />
+			</s:fill>			
+		</s:Ellipse>
+		
+		
+	</s:Group>
+	
+	<!-- Label -->
+	<!---  @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
+	<s:Label id="labelDisplay"
+			 textAlign="start" color="{ColorUtils.WetAsphalt}"
+			 verticalAlign="middle" fontSize="14"
+			 maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
+			 left="0" right="0" top="3" bottom="3"/>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml b/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
new file mode 100644
index 0000000..4729d05
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--
+
+Scroller unconditionally sets its skin's layout to private layout
+implementation that handles the scroll policies.  Scroller skins can
+only provide replacement scrollbars.  The skin's layout and
+constraints or dimensions set on skin parts will not be honored.  To
+gain more control over the layout of a viewport and its scrollbars,
+instead of using Scroller, add them to a Group and use the ScrollBar component's
+viewport property to link them together.
+ 
+-->
+
+<!--- The default skin class for the Spark Scroller component. 
+
+     @see spark.components.Scroller
+    
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.Scroller")]
+    ]]>
+    </fx:Metadata> 
+
+    <fx:Script>
+    <![CDATA[    
+        /**
+         *  @private
+         */
+        override public function beginHighlightBitmapCapture() : Boolean
+        {
+            var needUpdate:Boolean = super.beginHighlightBitmapCapture();
+            
+            // Draw an opaque rect that fill our entire skin. Our background
+            // is transparent, but we don't want focus/error skins to
+            // poke through.  This is safe to do since we don't have any 
+            // graphic elements as direct children.
+            graphics.beginFill(0);
+            graphics.drawRect(0, 0, width, height);
+            graphics.endFill();
+
+            return needUpdate;
+        }
+        
+        /**
+         *  @private
+         */
+        override public function endHighlightBitmapCapture() : Boolean
+        {
+            var needUpdate:Boolean = super.endHighlightBitmapCapture();
+            
+            // Clear the rect we drew in beginBitmapCapture();
+            graphics.clear();
+
+            return needUpdate;
+        }
+    ]]>
+    </fx:Script>
+    
+    <fx:Declarations>
+        <!---  A vertical scrollbar that lets you control the portion of data that is displayed 
+        when there is too much data to fit vertically in a display area.
+        The Scroller determines whether the vertical ScrollBar is visible. -->
+        <fx:Component id="verticalScrollBarFactory">
+            <s:VScrollBar visible="false" skinClass="flatSpark.skins.VScrollBarSkin" />
+        </fx:Component>
+        
+        <!---  A horizontal scrollbar that lets you control the portion of data that is displayed 
+        when there is too much data to fit horizontally in a display area.
+        The Scroller determines whether the horizontal ScrollBar is visible. -->
+        <fx:Component  id="horizontalScrollBarFactory">
+            <s:HScrollBar visible="false" skinClass="flatSpark.skins.HScrollBarSkin" />
+        </fx:Component> 
+
+    </fx:Declarations>
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml b/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
new file mode 100644
index 0000000..8578223
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
@@ -0,0 +1,338 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for Spark TextInput component.  
+
+     @see spark.components.TextInput
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
+    alpha.disabledStates="0.5" blendMode="normal">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("flatSpark.components.TextInputIcon")]
+    ]]>
+    </fx:Metadata> 
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
+		@namespace spark "spark.skins.spark.*";
+		
+		*
+		{
+			/*focusColor: #FFFFFF;
+			focusThickness: 1px;
+			focusAlpha: 1;*/
+			/*focusAlpha: 0;*/
+			errorColor: #E74C3C;
+		}
+	</fx:Style>
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatSpark.enums.ButtonSizeEnum;
+			import flatSpark.enums.TextInputSizeEnum;
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+        private var paddingChanged:Boolean;
+        
+        /* Define the skin elements that should not be colorized. */
+        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
+        
+        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
+        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
+        
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array 
+        {
+            // Since border is styleable via borderColor, no need to allow chromeColor to affect
+            // the border.  This is wrapped in a compatibility flag since this change was added  
+            // in Flex 4.5
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+            {
+                return exclusions_4_0;
+            }
+            
+            return exclusions;
+        }
+        
+        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+        static private const contentFill:Array = ["bgFill"];
+
+        /**
+         *  @private
+         */
+        override public function get contentItems():Array {return contentFill};
+        
+        /**
+         *  @private
+         */
+        override protected function commitProperties():void
+        {
+            super.commitProperties();
+            
+            if (paddingChanged)
+            {
+                updatePadding();
+                paddingChanged = false;
+            }
+        }
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         *  @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+            if (getStyle("borderVisible") == true)
+            {
+                border.visible = true;
+                background.left = background.top = background.right = background.bottom = 2;
+                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
+				textDisplay.right = 30;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
+                    promptDisplay.setLayoutBoundsPosition(5, 5);
+                }
+            }
+            else
+            {
+                border.visible = false;
+                background.left = background.top = background.right = background.bottom = 0;
+                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+                    promptDisplay.setLayoutBoundsPosition(0, 0);
+                }
+            }
+            
+            /*borderStroke.color = getStyle("borderColor");
+            borderStroke.alpha = getStyle("borderAlpha");*/
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+
+        /**
+         *  @private
+         */
+        private function updatePadding():void
+        {
+            if (!textDisplay)
+                return;
+            
+            // Push padding styles into the textDisplay
+            var padding:Number;
+            
+            padding = getStyle("paddingLeft");
+            if (textDisplay.getStyle("paddingLeft") != padding)
+                textDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (textDisplay.getStyle("paddingTop") != padding)
+                textDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (textDisplay.getStyle("paddingRight") != padding)
+                textDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (textDisplay.getStyle("paddingBottom") != padding)
+                textDisplay.setStyle("paddingBottom", padding);
+            
+            if (!promptDisplay)
+                return;
+            
+            padding = getStyle("paddingLeft");
+            if (promptDisplay.getStyle("paddingLeft") != padding)
+                promptDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (promptDisplay.getStyle("paddingTop") != padding)
+                promptDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (promptDisplay.getStyle("paddingRight") != padding)
+                promptDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (promptDisplay.getStyle("paddingBottom") != padding)
+                promptDisplay.setStyle("paddingBottom", padding);
+        }
+        
+        /**
+         *  @private
+         */
+        override public function styleChanged(styleProp:String):void
+        {
+            var allStyles:Boolean = !styleProp || styleProp == "styleName";
+
+            super.styleChanged(styleProp);
+            
+            if (allStyles || styleProp.indexOf("padding") == 0)
+            {
+                paddingChanged = true;
+                invalidateProperties();
+            }
+        }
+			
+			protected function textDisplay_focusInHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Asbestos;
+				iconFont.setStyle("color", ColorUtils.Asbestos);
+			}
+			
+			protected function textDisplay_focusOutHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Silver;
+				iconFont.setStyle("color", ColorUtils.Silver);
+			}
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 15;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 13;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 19;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 15;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["textDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal"/>
+        <s:State name="disabled" stateGroups="disabledStates"/>
+        <s:State name="normalWithPrompt"/>
+        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+    </s:states>
+    
+    <!-- border --> 
+    <!--- @private -->
+    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
+        <s:stroke>     
+            <!--- @private -->
+            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
+        </s:stroke>
+    </s:Rect>
+
+    <!-- fill -->
+    <!--- Defines the appearance of the TextInput component's background. -->
+    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
+        <s:fill>
+            <!--- @private Defines the background fill color. -->
+            <s:SolidColor id="bgFill" color="0xFFFFFF" />
+        </s:fill>
+    </s:Rect>
+	
+	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
+		<s:fill>
+			<s:SolidColor color="0xf4f6f6"/>
+		</s:fill>
+	</s:Rect>
+    
+    <!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+    <s:RichEditableText id="textDisplay"
+              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
+              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
+              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
+    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
+                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
+                mouseEnabled="false" mouseChildren="false"
+                includeIn="normalWithPrompt,disabledWithPrompt" 
+                includeInLayout="false"
+                />
+	<s:Label id="iconFont" color="{ColorUtils.Silver}" color.disabledStates="{ColorUtils.Silver}" text="{hostComponent.iconFont}"
+			 textAlign="right" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome" fontStyle="normal"
+			 maxDisplayedLines="1" mouseChildren="false" mouseEnabled="false"
+			 horizontalCenter="0" verticalCenter="0" verticalAlign="middle"
+			 left="8" right="8" top="2" bottom="2" includeInLayout="{iconFont != null}">
+	</s:Label>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml b/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
new file mode 100644
index 0000000..9c1facb
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
@@ -0,0 +1,330 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for Spark TextInput component.  
+
+     @see spark.components.TextInput
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
+    alpha.disabledStates="0.5" blendMode="normal">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.TextInput")]
+    ]]>
+    </fx:Metadata> 
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
+		@namespace spark "spark.skins.spark.*";
+		
+		*
+		{
+			/*focusColor: #FFFFFF;
+			focusThickness: 1px;
+			focusAlpha: 1;*/
+			/*focusAlpha: 0;*/
+			errorColor: #E74C3C;
+		}
+	</fx:Style>
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatSpark.enums.ButtonSizeEnum;
+			import flatSpark.enums.TextInputSizeEnum;
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+        private var paddingChanged:Boolean;
+        
+        /* Define the skin elements that should not be colorized. */
+        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
+        
+        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
+        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
+        
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array 
+        {
+            // Since border is styleable via borderColor, no need to allow chromeColor to affect
+            // the border.  This is wrapped in a compatibility flag since this change was added  
+            // in Flex 4.5
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+            {
+                return exclusions_4_0;
+            }
+            
+            return exclusions;
+        }
+        
+        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+        static private const contentFill:Array = ["bgFill"];
+
+        /**
+         *  @private
+         */
+        override public function get contentItems():Array {return contentFill};
+        
+        /**
+         *  @private
+         */
+        override protected function commitProperties():void
+        {
+            super.commitProperties();
+            
+            if (paddingChanged)
+            {
+                updatePadding();
+                paddingChanged = false;
+            }
+        }
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         *  @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+            if (getStyle("borderVisible") == true)
+            {
+                border.visible = true;
+                background.left = background.top = background.right = background.bottom = 2;
+                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
+				textDisplay.right = 30;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
+                    promptDisplay.setLayoutBoundsPosition(5, 5);
+                }
+            }
+            else
+            {
+                border.visible = false;
+                background.left = background.top = background.right = background.bottom = 0;
+                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
+                if (promptDisplay)
+                {
+                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+                    promptDisplay.setLayoutBoundsPosition(0, 0);
+                }
+            }
+            
+            /*borderStroke.color = getStyle("borderColor");
+            borderStroke.alpha = getStyle("borderAlpha");*/
+            
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+
+        /**
+         *  @private
+         */
+        private function updatePadding():void
+        {
+            if (!textDisplay)
+                return;
+            
+            // Push padding styles into the textDisplay
+            var padding:Number;
+            
+            padding = getStyle("paddingLeft");
+            if (textDisplay.getStyle("paddingLeft") != padding)
+                textDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (textDisplay.getStyle("paddingTop") != padding)
+                textDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (textDisplay.getStyle("paddingRight") != padding)
+                textDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (textDisplay.getStyle("paddingBottom") != padding)
+                textDisplay.setStyle("paddingBottom", padding);
+            
+            if (!promptDisplay)
+                return;
+            
+            padding = getStyle("paddingLeft");
+            if (promptDisplay.getStyle("paddingLeft") != padding)
+                promptDisplay.setStyle("paddingLeft", padding);
+            
+            padding = getStyle("paddingTop");
+            if (promptDisplay.getStyle("paddingTop") != padding)
+                promptDisplay.setStyle("paddingTop", padding);
+            
+            padding = getStyle("paddingRight");
+            if (promptDisplay.getStyle("paddingRight") != padding)
+                promptDisplay.setStyle("paddingRight", padding);
+            
+            padding = getStyle("paddingBottom");
+            if (promptDisplay.getStyle("paddingBottom") != padding)
+                promptDisplay.setStyle("paddingBottom", padding);
+        }
+        
+        /**
+         *  @private
+         */
+        override public function styleChanged(styleProp:String):void
+        {
+            var allStyles:Boolean = !styleProp || styleProp == "styleName";
+
+            super.styleChanged(styleProp);
+            
+            if (allStyles || styleProp.indexOf("padding") == 0)
+            {
+                paddingChanged = true;
+                invalidateProperties();
+            }
+        }
+			
+			protected function textDisplay_focusInHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Asbestos;
+			}
+			
+			protected function textDisplay_focusOutHandler(event:FocusEvent):void
+			{
+				borderStroke.color = ColorUtils.Silver;
+			}
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 15;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 13;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case TextInputSizeEnum.Large:
+						altura = 19;
+						break;
+					case TextInputSizeEnum.Normal:
+						altura = 17;
+						break;
+					case TextInputSizeEnum.Small:
+						altura = 15;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+        /** 
+         * @private 
+         */     
+        private static const focusExclusions:Array = ["textDisplay"];
+
+        /**
+         *  @private
+         */
+        override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal"/>
+        <s:State name="disabled" stateGroups="disabledStates"/>
+        <s:State name="normalWithPrompt"/>
+        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+    </s:states>
+    
+    <!-- border --> 
+    <!--- @private -->
+    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
+        <s:stroke>     
+            <!--- @private -->
+            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
+        </s:stroke>
+    </s:Rect>
+
+    <!-- fill -->
+    <!--- Defines the appearance of the TextInput component's background. -->
+    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
+        <s:fill>
+            <!--- @private Defines the background fill color. -->
+            <s:SolidColor id="bgFill" color="0xFFFFFF" />
+        </s:fill>
+    </s:Rect>
+	
+	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
+		<s:fill>
+			<s:SolidColor color="0xf4f6f6"/>
+		</s:fill>
+	</s:Rect>
+    
+    <!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+    <s:RichEditableText id="textDisplay"
+              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
+              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
+              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
+    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
+                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
+                mouseEnabled="false" mouseChildren="false"
+                includeIn="normalWithPrompt,disabledWithPrompt" 
+                includeInLayout="false"
+                />
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
new file mode 100644
index 0000000..635b924
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the close button of the Spark TitleWindow component.  
+
+@see spark.skins.spark.TitleWindowSkin     
+@see spark.components.TitleWindow
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5" initialize="initializeHandler(event)">
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<!--		<fx:Script fb:purpose="styling">
+	<![CDATA[
+	import flatSpark.utils.AwesomeUtils;
+	]]>
+	/* Define the skin elements that should not be colorized. 
+	For closeButton, the graphics are colorized but the x is not. */
+	static private const exclusions:Array = ["xSymbol"];
+	
+	/** 
+	* @private
+	*/     
+	override public function get colorizeExclusions():Array {return exclusions;}
+	
+	/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+	static private const symbols:Array = ["xFill1", "xFill2"];
+	
+	/**
+	* @private
+	*/
+	override public function get symbolItems():Array {return symbols};
+	</fx:Script>-->
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over"/>
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="up">
+		<s:fill>
+			<s:SolidColor alpha="0" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="over">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="down">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor alpha="1" color="{ColorUtils.Clouds}" />
+		</s:fill>
+	</s:Rect>
+	
+	<s:Label fontFamily="FontAwesome" fontSize="18" color="#FFFFFF" text="{AwesomeUtils.fa_times}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" />
+	
+
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml b/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
new file mode 100644
index 0000000..5180756
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for a Spark TitleWindow container.  
+
+     @see spark.skins.spark.TitleWindowCloseButtonSkin
+     @see spark.components.TitleWindow
+
+     @langversion 3.0
+     @playerversion Flash 10
+     @playerversion AIR 1.5
+     @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
+    minWidth="76" minHeight="76" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+    
+    <fx:Metadata>
+        <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.TitleWindow")]
+        ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        <![CDATA[
+			import mx.core.FlexVersion;
+			
+			import flatSpark.utils.ColorUtils;
+		
+		/* Define the skin elements that should not be colorized. 
+        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
+        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "border"];
+		
+		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
+		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array 
+		{
+			// Since border is styleable via borderColor, no need to allow chromeColor to affect
+			// the border.  This is wrapped in a compatibility flag since this change was added  
+			// in Flex 4.5
+			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
+			{
+				return exclusions_4_0;
+			}
+			
+			return exclusions;
+		}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+        
+        /**
+         * @private
+         */
+        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+			var withControls:Boolean = 
+				(currentState == "disabledWithControlBar" || 
+					currentState == "normalWithControlBar" ||
+					currentState == "inactiveWithControlBar");
+			
+			setPartCornerRadii(topMaskRect, withControls);  
+			setPartCornerRadii(background, withControls);
+			if (bottomMaskRect != null)
+			{
+				setPartCornerRadii(bottomMaskRect, withControls);
+			}
+			
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+        }
+        
+        /**
+         * @private
+         */  
+        private function setPartCornerRadii(target:Rect, includeBottom:Boolean):void
+        {            
+            target.topLeftRadiusX = cornerRadius;
+            target.topRightRadiusX = cornerRadius;
+            target.bottomLeftRadiusX = includeBottom ? cornerRadius : 0;
+            target.bottomRightRadiusX = includeBottom ? cornerRadius : 0;
+        }
+        
+        private var cornerRadius:Number=4;
+		]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="inactive" stateGroups="inactiveGroup" />
+        <s:State name="disabled" />
+        <s:State name="normalWithControlBar" stateGroups="withControls" />
+        <s:State name="inactiveWithControlBar" stateGroups="withControls, inactiveGroup" />
+        <s:State name="disabledWithControlBar" stateGroups="withControls" />
+    </s:states>
+    
+    <!--- drop shadow can't be hittable so all other graphics go in this group -->
+    <s:Group left="0" right="0" top="0" bottom="0">
+        
+        <!--- top group mask @private-->
+        <s:Group left="1" top="1" right="1" bottom="1" id="topGroupMask">
+            <!--- @private-->
+            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        <!--- bottom group mask @private-->
+        <s:Group left="1" top="1" right="1" bottom="1" id="bottomGroupMask" 
+                 includeIn="withControls">
+            <!--- @private-->
+            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+                <s:fill>
+                    <s:SolidColor alpha="0"/>
+                </s:fill>
+            </s:Rect>
+        </s:Group>
+        
+        
+        <!-- layer 2: background fill -->
+        <!--- Defines the appearance of the TitleWindowSkin class's background. -->
+        <s:Rect id="background" left="1" top="1" right="1" bottom="1">
+            <s:fill>
+                <!--- Defines the TitleWindowSkin class's background fill. The default color is 0xFFFFFF. -->
+                <s:SolidColor id="backgroundFill" color="{ColorUtils.Clouds}"/>
+            </s:fill>
+        </s:Rect>
+        
+        <!-- layer 3: contents -->
+        <!--- Contains the vertical stack of title bar content and control bar. -->
+        <s:Group left="1" right="1" top="1" bottom="1" id="contents">
+            <s:layout>
+                <s:VerticalLayout gap="0" horizontalAlign="justify" />
+            </s:layout>
+            <!--- @private -->
+            <s:Group id="topGroup" mask="{topGroupMask}" height="56">
+                
+                <!--- layer 0: title bar fill @private -->
+                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+					</s:fill>
+                </s:Rect>
+                
+                <!--- layer 1: title bar highlight @private -->
+                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
+					</s:fill>
+                </s:Rect>
+                
+                <!--- layer 2: title bar divider @private -->
+                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
+					</s:fill>
+					
+					<s:filters>
+						<s:DropShadowFilter distance="1" angle="90" color="{ColorUtils.Silver}"/>
+					</s:filters>
+                </s:Rect>
+                
+                <!-- layer 3: text -->
+                <!--- @copy spark.components.Panel#titleDisplay -->
+                <s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="21" fontStyle="normal" color="#FFFFFF"
+                         left="15" right="36" top="1" bottom="0" minHeight="56" height="56"
+                         verticalAlign="middle" fontWeight="bold" />
+                
+                <!-- layer 4: moveArea -->
+                <!--- @copy spark.components.TitleWindow#moveArea -->
+                <s:Group id="moveArea" left="0" right="0" top="0" bottom="0" />
+                
+                <!--- @copy spark.components.TitleWindow#closeButton -->
+                <s:Button id="closeButton" skinClass="flatSpark.skins.TitleWindowCloseButtonSkin" 
+                         right="15" top="15" />
+            </s:Group>
+            
+            <!--
+                Note: setting the minimum size to 0 here so that changes to the host component's
+                size will not be thwarted by this skin part's minimum size.   This is a compromise,
+                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+            -->
+            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
+            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+            </s:Group>
+            
+            <!--- @private -->
+            <s:Group id="bottomGroup" minWidth="0" minHeight="0" 
+                     includeIn="withControls">  
+                
+                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}" height="65">
+
+                    <!-- layer 0: control bar divider line -->
+                    <s:Rect left="0" right="0" top="0" height="1">
+                        <s:fill>
+                            <s:SolidColor color="{ColorUtils.Silver}" />
+                        </s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 1: control bar highlight -->
+                    <s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor color="0xFFFFFF" />
+						</s:fill>
+                    </s:Rect>
+                    
+                    <!-- layer 2: control bar fill -->
+                    <s:Rect left="1" right="1" top="2" bottom="1">
+						<s:fill>
+							<s:SolidColor color="0xFFFFFF" />
+						</s:fill>
+                    </s:Rect>
+                </s:Group>
+                
+                <!--- @copy spark.components.Panel#controlBarGroup -->
+                <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+                    <s:layout>
+                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+                    </s:layout>
+                </s:Group>
+            </s:Group>
+        </s:Group>
+    </s:Group>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
new file mode 100644
index 0000000..82e8d14
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark VScrollBar component. The thumb and track skins are defined by the
+VScrollBarThumbSkin and VScrollBarTrackSkin classes, respectively.  
+
+       @see spark.components.VScrollBar
+       @see spark.skins.spark.VScrollBarThumbSkin
+       @see spark.skins.spark.VScrollBarTrackSkin
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="8" minHeight="35" 
+    alpha.disabled="0.5" alpha.inactive="0.5" >
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.VScrollBar")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For scroll bar, the skin itself is colorized but the individual parts are not. */
+        static private const exclusions:Array = ["track", "thumb"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+     
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="inactive" />
+    </s:states>
+   
+    <!---  The default skin class is VScrollBarTrackSkin.  
+            @copy spark.components.supportClasses.TrackBase#track 
+            @see spark.skins.spark.VScrollBarTrackSkin -->
+    <s:Button id="track" top="0" bottom="0" height="54"
+              focusEnabled="false" tabEnabled="false"
+              skinClass="flatSpark.skins.VScrollBarTrackSkin" />
+    
+    <!--- The default skin class is VScrollBarThumbSkin.
+            @copy spark.components.supportClasses.TrackBase#thumb 
+            @see spark.skins.spark.VScrollBarThumbSkin -->
+    <s:Button id="thumb" 
+              focusEnabled="false" visible.inactive="false" tabEnabled="false"
+              skinClass="flatSpark.skins.VScrollBarThumbSkin" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
new file mode 100644
index 0000000..24fc159
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the thumb of a Spark VScrollBar component.  
+
+@see spark.components.VScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- background -->
+	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
+		<s:stroke>
+			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
+		</s:stroke>
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Silver}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
new file mode 100644
index 0000000..1f1fc08
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the track of a Spark VScrollBar component.  
+
+@see spark.components.VScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="down" />
+		<s:State name="over" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- border/fill -->
+	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>


[23/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Final adjustments for FlatSpark integration

Posted by bi...@apache.org.
Final adjustments for FlatSpark integration

Adds missing FlatSpark experimental components
Adds top-level license mentioning fonts OFL licenses for FontAwesome and Lato


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

Branch: refs/heads/iso7skins
Commit: 634b0983bdfa4fdbf97bef0517346cbbc5a92281
Parents: af2dc0d
Author: Mahmoud Ali <ak...@apache.org>
Authored: Sun Oct 26 14:50:27 2014 -0300
Committer: Mahmoud Ali <ak...@apache.org>
Committed: Sun Oct 26 14:55:08 2014 -0300

----------------------------------------------------------------------
 frameworks/projects/flatspark/LICENSE.txt       | 186 +++++++++++++++++++
 .../projects/flatspark/compile-config.xml       |   1 +
 .../flatspark/src/FlatSparkSkinsClasses.as      |   2 +
 3 files changed, 189 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/634b0983/frameworks/projects/flatspark/LICENSE.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/LICENSE.txt b/frameworks/projects/flatspark/LICENSE.txt
new file mode 100644
index 0000000..54ed854
--- /dev/null
+++ b/frameworks/projects/flatspark/LICENSE.txt
@@ -0,0 +1,186 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+----------------
+
+This product bundles Font Awesome, which is available under an
+�OFL" license.  For details, see
+frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome.
+
+This product bundles Lato, which is available under an
+�OFL" license.  For details, see
+frameworks/projects/flatspark/src/flatspark/assets/fonts/lato.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/634b0983/frameworks/projects/flatspark/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/compile-config.xml b/frameworks/projects/flatspark/compile-config.xml
index 8e84de4..5b24081 100644
--- a/frameworks/projects/flatspark/compile-config.xml
+++ b/frameworks/projects/flatspark/compile-config.xml
@@ -26,6 +26,7 @@
             <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
             <path-element>../../libs/framework.swc</path-element>
             <path-element>../../libs/spark.swc</path-element>
+			<path-element>../../libs/experimental.swc</path-element>
             <path-element>../../libs/textLayout.swc</path-element>
         </external-library-path>
         

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/634b0983/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as b/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
index 841f803..24c3a81 100644
--- a/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
+++ b/frameworks/projects/flatspark/src/FlatSparkSkinsClasses.as
@@ -31,6 +31,7 @@ package
 internal class FlatSparkSkinsClasses
 {
 	// skins
+	import flatspark.skins.AlertSkin; AlertSkin;
     import flatspark.skins.ButtonSkin; ButtonSkin;
 	import flatspark.skins.ButtonIconSkin; ButtonIconSkin;
 	import flatspark.skins.CheckBoxSkin; CheckBoxSkin;
@@ -38,6 +39,7 @@ internal class FlatSparkSkinsClasses
 	import flatspark.skins.ScrollerSkin; ScrollerSkin;
 	import flatspark.skins.DropDownListSkin; DropDownListSkin;
 	import flatspark.skins.PanelSkin; PanelSkin;
+	import flatspark.skins.ProgressBarSkin; ProgressBarSkin;
 	import flatspark.skins.RadioButtonSkin; RadioButtonSkin;
 	import flatspark.skins.TextInputSkin; TextInputSkin;
 	import flatspark.skins.TextInputIconSkin; TextInputIconSkin;


[29/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Clean up whitespace and (minor) layout changes

Posted by bi...@apache.org.
Clean up whitespace and (minor) layout changes

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 1a88f7606b20e04e0dcd247e8ab5ae035fe399fa
Parents: c38dacd
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 17 12:09:22 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 17 12:09:22 2014 +0100

----------------------------------------------------------------------
 README | 855 +++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 440 insertions(+), 415 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1a88f760/README
----------------------------------------------------------------------
diff --git a/README b/README
index a3e70b3..ef92014 100644
--- a/README
+++ b/README
@@ -1,602 +1,627 @@
 Apache Flex (Flex)
 ==================
 
-    Apache Flex SDK is an application development framework for easily building
-    Flash-based applications for mobile devices, web browsers, and desktops.
+Apache Flex SDK is an application development framework for easily building
+Flash-based applications for mobile devices, web browsers, and desktops.
 
-    Apache Flex 4.13.0 is a follow up release to Apache Flex 4.12.1. This version
-    adds new features and implements bug fixes that were unavailable in previous
-    versions.  It is compatible with most code written to target Adobe Flex 4.6.
+Apache Flex 4.13.0 is a follow up release to Apache Flex 4.12.1. This version
+adds new features and implements bug fixes that were unavailable in previous
+versions. It is compatible with most code written to target Adobe Flex 4.6.
+
+For detailed information about Apache Flex please visit:
 
-    For detailed information about Apache Flex please visit
     http://flex.apache.org/
 
-    Apache Flex is a large project with many pieces.  The framework is
-    implemented in ActionScript and the compiler is implemented in Java.
+Apache Flex is a large project with many pieces. The framework is implemented
+in ActionScript and the compiler is implemented in Java.
+
+Currently supported platforms include:
 
-    Currently supported platforms include:
+    Microsoft Windows
+    Mac OS X
+    Apple iOS
+    Google Android
+    RIM BlackBerry
+    Linux
 
-        Microsoft Windows
-        Mac OS X
-        Apple iOS
-        Google Android
-        RIM BlackBerry
-        Linux
+Apache Flex is the software evolution of the popular Adobe Flex SDK project.
 
-    Apache Flex is the software evolution of the popular Adobe Flex SDK project.
+The community surrounding Flex is vast, diverse, distributed globally, and with
+all levels of proficiency in software development.
 
-    The community surrounding Flex is vast, diverse, distributed globally, and
-    with all levels of proficiency in software development.
+There has been more that 30,000 installs of Apache Flex. The Apache Flex web
+site gets 3 quarters of a million page views a year and more than 250,000
+unique visitors a year.
 
-    There has been more that 30,000 installs of Apache Flex. The Apache Flex web
-    site gets 3 quarters of a million page views a year and more than 250,000
-    unique visitors a year.
 
 
 Getting the convenience packages for Apache Flex
 ================================================
 
-    The Apache Flex SDK Installer is an application that simplifies the download
-    and installation of the Apache Flex SDK and its (required) components. It is
-    aimed at anyone who wants to use the latest release of the Apache Flex SDK,
-    but who might not necessarily be familiar with the tools and procedures
-    required to compile the Apache Flex SDK from source code. The application
-    will grab the binary distribution of the SDK from apache.org or one of its
-    mirrors, install it onto your computer and prepare it for use with your
-    favorite IDE such as Adobe Flash Builder or JetBrains IntelliJ IDEA.
+The Apache Flex SDK Installer is an application that simplifies the download
+and installation of the Apache Flex SDK and its (required) components. It is
+aimed at anyone who wants to use the latest release of the Apache Flex SDK, but
+who might not necessarily be familiar with the tools and procedures required to
+compile the Apache Flex SDK from source code. The application will grab the
+binary distribution of the SDK from apache.org or one of its mirrors, install
+it onto your computer and prepare it for use with your favorite IDE such as
+Adobe Flash Builder or JetBrains IntelliJ IDEA.
+
+You can get the SDK Installer from the Apache Flex website at
 
-    You can get the SDK Installer from the Apache Flex website at
+    http://flex.apache.org/installer.html
 
-      http://flex.apache.org/installer.html
+The SDK installer requires the Adobe AIR runtime to be installed.
 
-    The SDK installer requires the Adobe AIR runtime to be installed.
+Starting with Apache Flex 4.12 the binary distribution can be installed using
+only ANT in addition to the AIR installer mentioned above. This is the
+recommended method for Linux users. More information about installing the
+binary package with ANT can be found on our wiki at:
+
+    https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Antinstaller
 
-    Starting with Apache Flex 4.12 the binary distribution can be installed
-    using only ANT in addition to the AIR installer mentioned above. This is
-    the recommended method for Linux users.  More information about installing
-    the binary package with ANT can be found on our wiki at :
 
-      https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Antinstaller
 
 Getting the latest sources via git
 ==================================
 
-    Getting the source code is the recommended way to get Apache Flex.  We also
-    offer an automated installer along with binary distributions on our website
-    at http://flex.apache.org/.
+Getting the source code is the recommended way to get Apache Flex. We also
+offer an automated installer along with binary distributions on our website at
+
+    http://flex.apache.org/
+
+You can always checkout the latest source via git using the following command:
+
+    git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk
+    cd sdk
+    git checkout develop
+
+An Apache Flex SDK also requires source code from other Apache Flex git
+repositories. To get the latest source via git for the Text Layout Framework
+use the following command:
 
-    You can always checkout the latest source via git using the following
-    command:
+    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
+    cd tlf
+    git checkout develop
 
-	 git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk
-	 cd sdk
-	 git checkout develop
+In an Apache Flex source code package hosted on the distribution server or one
+of its mirrors, the Text Layout Framework code is already included in the
+package. This is also true for the convenience package.
 
-    An Apache Flex SDK also requires source code from other Apache Flex git
-    repositories.  To get the latest source via git for the Text Layout
-    Framework use the following command:
+Linux support is currently experimental and you may run into issues. Apache
+Flex would like to see a fully supported Linux release, but we need support
+from the community in order to do that. Please help out if you can.
 
-	 git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
-	 cd tlf
-	 git checkout develop
+For further information visit
 
-    In an Apache Flex source code package hosted on the distribution server or
-    one of its mirrors, the Text Layout Framework code is already included in
-    the package.  This is also true for the convenience package.
+    http://flex.apache.org/download-source.html
 
-    Linux support is currently experimental and you may run into issues. Apache
-    Flex would like to see a fully supported Linux release, but we need support
-    from the community in order to do that. Please help out if you can.
 
-    For further information visit http://flex.apache.org/download-source.html
 
 Building Apache Flex 4.13.0
-=========================
+===========================
 
-    Apache Flex is a large project. It requires some build tools which must be
-    installed prior to building Flex and it depends on some external software
-    which are downloaded as part of the build process.  Some of these have
-    different licenses.  See the Software Dependencies section for more
-    information on the external software dependencies.
+Apache Flex is a large project. It requires some build tools which must be
+installed prior to building Flex and it depends on some external software which
+are downloaded as part of the build process. Some of these have different
+licenses. See the Software Dependencies section for more information on the
+external software dependencies.
 
-    From Apache's perspective, the Adobe Flash Player and Adobe AIR have
-    excluded licenses so they can not be bundled with the Apache Flex binaries.
-    They must be installed prior to building Apache Flex.
+From Apache's perspective, the Adobe Flash Player and Adobe AIR have excluded
+licenses so they can not be bundled with the Apache Flex binaries. They must be
+installed prior to building Apache Flex.
+
+Linux support is currently experimental and while it is possible to compile the
+SDK it has not been fully tested so you may run into issues.
 
-    Linux support is currently experimental and while it is possible to compile
-    the SDK it has not been fully tested so you may run into issues.
 
 Install Prerequisites
 ---------------------
 
-    Before building Flex you must install the following software and set the
-    corresponding environment variables using absolute file paths.  Relative
-    file paths will result in build errors.
+Before building Flex you must install the following software and set the
+corresponding environment variables using absolute file paths. Relative file
+paths will result in build errors.
 
-    The environment variables PLAYERGLOBAL_HOME, AIR_HOME, FLASHPLAYER_DEBUGGER,
-    TLF_HOME, and ADOBE_EXTENSION_MANAGER can also be set in the property file
-    called env.properties. See the env-template.properties file for
-    instructions.
+The environment variables PLAYERGLOBAL_HOME, AIR_HOME, FLASHPLAYER_DEBUGGER,
+TLF_HOME, and ADOBE_EXTENSION_MANAGER can also be set in the property file
+called env.properties. See the env-template.properties file for instructions.
 
-    The Adobe Flash Player playerglobal.swc is needed to compile all the
-    components
-    with the exception of the airframework and airspark components which require
-    airglobal.swc from the AIR Integration Kit.  The AIR Integration kit is also
-    needed to build and debug mobile applications.  The Adobe Flash Player
-    content debugger is used by checkintests and other pieces of the test
-    subsystem to run compiled applications.
+The Adobe Flash Player playerglobal.swc is needed to compile all the components
+with the exception of the airframework and airspark components which require
+airglobal.swc from the AIR Integration Kit. The AIR Integration kit is also
+needed to build and debug mobile applications. The Adobe Flash Player content
+debugger is used by checkintests and other pieces of the test subsystem to run
+compiled applications.
 
-    The build scripts assume that the source code folder containing the Text
-    Layout Framework (tlf) folder is at the same level as the sdk folder or
-    located inside the frameworks/projects folder.   If this is not true, then
-    you must set the TLF_HOME environment variable to point to the tlf folder.
+The build scripts assume that the source code folder containing the Text Layout
+Framework (tlf) folder is at the same level as the sdk folder or located inside
+the frameworks/projects folder. If this is not true, then you must set the
+TLF_HOME environment variable to point to the tlf folder.
 
-    ==================================================================================
-    SOFTWARE                                    ENVIRONMENT VARIABLE (absolute paths)
-    ==================================================================================
+--------------------------------------------------------------------
+SOFTWARE                                     ENVIRONMENT VARIABLE
+--------------------------------------------------------------------
 
-    Java SDK 1.6 or greater (*1)                JAVA_HOME
-        (for Java 1.7 see note at (*2))
+Java SDK 1.6 or greater (* 1)                JAVA_HOME
+    (for Java 1.7 see note at (* 2))
 
-    Ant 1.7.1 or greater (*1)                   ANT_HOME
-        (for Java 1.7 see note at (*2))
+Ant 1.7.1 or greater (* 1)                   ANT_HOME
+    (for Java 1.7 see note at (* 2))
 
-    Adobe AIR Integration Kit (*3)              AIR_HOME
+Adobe AIR Integration Kit (* 3)              AIR_HOME
 
-    Adobe Flash Player Content Debugger (*4)    FLASHPLAYER_DEBUGGER
+Adobe Flash Player Content Debugger (* 4)    FLASHPLAYER_DEBUGGER
 
-    Adobe Flash Player playerglobal swcs (*5)   PLAYERGLOBAL_HOME
+Adobe Flash Player playerglobal swcs (* 5)   PLAYERGLOBAL_HOME
 
-    Adobe Extension Manager CS5 (*6)            ADOBE_EXTENSION_MANAGER
+Adobe Extension Manager CS5 (* 6)            ADOBE_EXTENSION_MANAGER
 
-    Text Layout Framework                       TLF_HOME
+Text Layout Framework                        TLF_HOME
 
-    ==================================================================================
+--------------------------------------------------------------------
 
-    *1) The bin directories for ANT_HOME and JAVA_HOME should be added to your
-        PATH.
+* 1)
+The bin directories for ANT_HOME and JAVA_HOME should be added to your PATH.
 
-        On Windows, set PATH to
+On Windows, set PATH to
 
-            PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin
+    PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin
 
-        On the Mac (bash), set PATH to
+On the Mac (bash), set PATH to
 
-            export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin"
+    export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin"
 
-         On Linux make sure you path include ANT_HOME and JAVA_HOME.
+On Linux make sure you path include ANT_HOME and JAVA_HOME.
 
-    *2)  If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8
-         or greater. If you use Java 1.7 with Ant 1.7, ant reports the java
-         version as 1.6 so the JVM args for the data model (-d32/-d64) will not
-         be set correctly and you will get compile errors.
+* 2)
+If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8 or
+greater. If you use Java 1.7 with Ant 1.7, ant reports the java version as
+1.6 so the JVM args for the data model (-d32/-d64) will not be set correctly
+and you will get compile errors.
 
-    *3) The Adobe AIR integration kit for Windows can be downloaded from:
-           http://airdownload.adobe.com/air/win/download/15.0/AdobeAIRSDK.zip
+* 3)
+The Adobe AIR integration kit for Windows can be downloaded from:
 
-         The Adobe AIR integration kit for Mac can be downloaded from:
-            http://airdownload.adobe.com/air/mac/download/15.0/AdobeAIRSDK.tbz2
+   http://airdownload.adobe.com/air/win/download/15.0/AdobeAIRSDK.zip
 
-          The Adobe AIR integration kit for Linux can be downloaded from:
-            http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
+The Adobe AIR integration kit for Mac can be downloaded from:
 
-        This version of Apache Flex was certified for use with AIR 15.0, and
-        should be compatible with versions of AIR newer than 3.1. It has been
-        fully tested on AIR 3.7, 4 and 15.
+    http://airdownload.adobe.com/air/mac/download/15.0/AdobeAIRSDK.tbz2
 
-        Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the
-        absolute path of the AIR SDK directory.
+The Adobe AIR integration kit for Linux can be downloaded from:
 
-    *4) The Adobe Flash Player content debuggers can be found here:
-            http://www.adobe.com/support/flashplayer/downloads.html
+    http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2
 
-        This version of Apache Flex was certified for use with Adobe Flash
-        Player 11.1, and is compatible with versions 10.2 through 15.0. It has
-        been tested with versions 11.1, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 
-        and 15.0 on Windows and Mac. It has been compiled against other Adobe 
-        Flash Player versions but has not been fully tested. It has not been 
-        fully tested on Linux.
+This version of Apache Flex was certified for use with AIR 15.0, and should be
+compatible with versions of AIR newer than 3.1. It has been fully tested on AIR
+3.7, 4 and 15.
 
-        On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the
-        filename of the FlashPlayerDebugger.exe. Note the filename of flash
-        player debugger maybe different.
-           e.g. C:\MyPath\FlashPlayerDebugger.exe
+Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the
+absolute path of the AIR SDK directory.
 
-        On the Mac, set FLASHPLAYER_DEBUGGER to the absolute path of
-        Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger
+* 4)
+The Adobe Flash Player content debuggers can be found here:
 
-        On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of
-        flashplayerdebugger
+    http://www.adobe.com/support/flashplayer/downloads.html
 
-    *5) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
-            http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
+This version of Apache Flex was certified for use with Adobe Flash Player 11.1,
+and is compatible with versions 10.2 through 15.0. It has been tested with
+versions 11.1, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 and 15.0 on Windows and Mac.
+It has been compiled against other Adobe Flash Player versions but has not been
+fully tested. It has not been fully tested on Linux.
 
-        Use URL above to download playerglobal11_1.swc. Create the directory,
-        player/11.1 and copy playerglobal11_1.swc to
-        player/11.1/playerglobal.swc.
+On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the
+filename of the FlashPlayerDebugger.exe. Note the filename of flash player
+debugger maybe different, e.g. C:\MyPath\FlashPlayerDebugger.exe
 
-        Set PLAYERGLOBAL_HOME to the absolute path of the player directory (not
-        including the version subdirectory). The target-player option controls
-        which PLAYERGLOBAL_HOME subdirectory is used.
+On the Mac, set FLASHPLAYER_DEBUGGER to the absolute path of
+"Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger"
 
-        Information about downloading, setting up and support of the Adobe Flash
-        Player can be found in the section "Adobe Flash Player Version Support" below.
+On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of flashplayerdebugger
 
-    *6) The Adobe Extension Manager is only required for those creating releases
-        or testing changes to the flash-integration swc.  Note that if you
-        change APIs on classes that flash-integration depends on, you may need
-        to update flash-integration.
+* 5)
+The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
 
-        The Adobe Extension Manager for Windows can be downloaded from:
-            http://download.macromedia.com/pub/dw_exchange/extension_manager/win/AdobeExtensionManager5All.zip
+    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
 
-         The Adobe Extension Manager for Mac can be downloaded from:
-            http://download.macromedia.com/pub/dw_exchange/extension_manager/mac/AdobeExtensionManager5All.dmg
+Use URL above to download playerglobal11_1.swc. Create the directory,
+player/11.1 and copy playerglobal11_1.swc to player/11.1/playerglobal.swc.
 
-        On Windows, set ADOBE_EXTENSION_MANAGER to the absolute path of "Adobe
-        Extension Manager CS5.exe"
+Set PLAYERGLOBAL_HOME to the absolute path of the player directory (not
+including the version subdirectory). The target-player option controls which
+PLAYERGLOBAL_HOME subdirectory is used.
 
-        On Mac, set ADOBE_EXTENSION_MANAGER to the absolute path of "Adobe
-        Extension Manager CS5.app"
+Information about downloading, setting up and support of the Adobe Flash Player
+can be found in the section "Adobe Flash Player Version Support" below.
 
-        On Linux, no Adobe Extension Manager exists and there's nothing that
-        needs to be done here.
+* 6)
+The Adobe Extension Manager is only required for those creating releases or
+testing changes to the flash-integration swc. Note that if you change APIs on
+classes that flash-integration depends on, you may need to update
+flash-integration.
 
-FlashPlayer Configuration
--------------------------
+The Adobe Extension Manager for Windows can be downloaded from:
 
-    For testing, the Adobe Flash Player's mm.cfg file must have the following
-    entries
+    http://download.macromedia.com/pub/dw_exchange/extension_manager/win/AdobeExtensionManager5All.zip
 
-        ErrorReportingEnable=1
-        TraceOutputFileEnable=1
+The Adobe Extension Manager for Mac can be downloaded from:
 
-    and a FlashPlayerTrust file must allow local SWFs to access local files.
+    http://download.macromedia.com/pub/dw_exchange/extension_manager/mac/AdobeExtensionManager5All.dmg
 
-    More information about these settings can be found here:
-        http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c95.html
+On Windows, set ADOBE_EXTENSION_MANAGER to the absolute path of
+"Adobe Extension Manager CS5.exe"
 
-Other Locale Support
---------------------
+On Mac, set ADOBE_EXTENSION_MANAGER to the absolute path of
+"Adobe Extension Manager CS5.app"
 
-    The Apache Flex SDK defaults to using the en_US locale and SDK error
-    messages are by default displayed in American English.
+On Linux, no Adobe Extension Manager exists and there's nothing that needs to
+be done here.
 
-    To compile the SDK for another locale either:
 
-    Change the locale in the build.properties file to have a value other than
-    "en_US".  For this new locale to take effect the SDK needs to be recompiled.
-    For example, to use the Australian English locale change locale to have a
-    value of "en_AU"
-    like so:
+FlashPlayer Configuration
+-------------------------
 
-        locale = en_AU
+For testing, the Adobe Flash Player's mm.cfg file must have the following
+entries
 
-    OR
+    ErrorReportingEnable=1
+    TraceOutputFileEnable=1
 
-    Compile the SDK with a -Dlocale=<locale> option, where <locale> is the new
-    locale to compile the SDK against.
+and a FlashPlayerTrust file must allow local SWFs to access local files.
 
-    To compile all supported locales, which may take some time, use
+More information about these settings can be found here:
 
-        ant other.locales
+    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c95.html
 
-    The list of supported locales currently include:
-        da_DK	el_GR	en_GB	fi_FI	it_IT	nb_NO	pt_PT	zh_CN
-        de_CH	en_AU	en_US	fr_CH	ja_JP	nl_NL	ru_RU	zh_TW
-        de_DE	en_CA	es_ES	fr_FR	ko_KR	pt_BR	sv_SE
 
-    The Apache Flex SDK has only been tested for the en_US locale, however there
-    is unlikely to be any issues with a SDK compiled for another locales.
+Other Locale Support
+--------------------
 
-Adobe Flash Player Version Support
-----------------------------------
+The Apache Flex SDK defaults to using the en_US locale and SDK error messages
+are by default displayed in American English.
 
-    The Apache Flex SDK defaults to using the Adobe Flash Player 11.1. The SDK
-    can be used with Flash Player versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3,
-    11.4, 11.5, 11.6, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 and 15.0.
+To compile the SDK for another locale either:
 
-    It is recommended that you update to the latest version of Adobe Flash
-    Player.  Newer versions of the Adobe Flash player address security
-    vulnerabilities, fix bugs/issues, increase stability, and implement new
-    features.
+Change the locale in the build.properties file to have a value other than
+"en_US". For this new locale to take effect the SDK needs to be recompiled. For
+example, to use the Australian English locale change locale to have a value of
+"en_AU" like so:
 
-    To use the SDK for another version of the Adobe Flash Player either:
+    locale = en_AU
 
-    Change the flex-config.xml configuration file to specify another version of
-    the Adobe Flash Player.
+OR
 
-    OR
+Compile the SDK with a -Dlocale=<locale> option, where <locale> is the new
+locale to compile the SDK against.
 
-    Change the playerglobal.version in the build.properties file to have a value
-    other than "11.1". For this change to take effect the SDK needs to be
-    recompiled.  For example to compile against the latest version of the Adobe
-    Flash Player set the value of playerglobal.version to be "14.0" like so:
+To compile all supported locales, which may take some time, use
 
-        playerglobal.version = 14.0
+    ant other.locales
 
-    OR
+The list of supported locales currently include:
+    da_DK    el_GR    en_GB    fi_FI    it_IT    nb_NO    pt_PT    zh_CN
+    de_CH    en_AU    en_US    fr_CH    ja_JP    nl_NL    ru_RU    zh_TW
+    de_DE    en_CA    es_ES    fr_FR    ko_KR    pt_BR    sv_SE
 
-    Compile the SDK with a -Dplayerglobal.version=<version> option, where
-    <version> is the Adobe Flash Player version to compile the SDK against.
+The Apache Flex SDK has only been tested for the en_US locale, however there is
+unlikely to be any issues with a SDK compiled for another locales.
 
 
-    Different versions of the Adobe Flash Player require different versions of
-    playerglobal.swc.
+Adobe Flash Player Version Support
+----------------------------------
 
-    These can be found at:
+The Apache Flex SDK defaults to using the Adobe Flash Player 11.1. The SDK can
+be used with Flash Player versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4,
+11.5, 11.6, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0 and 15.0.
+
+It is recommended that you update to the latest version of Adobe Flash Player.
+Newer versions of the Adobe Flash player address security vulnerabilities, fix
+bugs/issues, increase stability, and implement new features.
+
+To use the SDK for another version of the Adobe Flash Player either:
+
+Change the flex-config.xml configuration file to specify another version of the
+Adobe Flash Player.
+
+OR
+
+Change the playerglobal.version in the build.properties file to have a value
+other than "11.1". For this change to take effect the SDK needs to be
+recompiled. For example to compile against the latest version of the Adobe
+Flash Player set the value of playerglobal.version to be "14.0" like so:
+
+    playerglobal.version = 14.0
+
+OR
+
+Compile the SDK with a -Dplayerglobal.version=<version> option, where <version>
+is the Adobe Flash Player version to compile the SDK against.
+
+Different versions of the Adobe Flash Player require different versions of
+playerglobal.swc.
+
+These can be found at:
+
+http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
+http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_0.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
+http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
+http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc
+http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc
+http://download.macromedia.com/get/flashplayer/updaters/14/playerglobal14_0.swc
+http://download.macromedia.com/get/flashplayer/updaters/15/playerglobal15_0.swc
+
+Copy the target playerglobal.swc to the directory:
+
+    frameworks/libs/player/<version>/playerglobal.swc
+
+Where <version> is the major and minor version numbers of the Adobe Flash
+Player separated by a period or full stop.
+
+If all of the playerglobal swcs where installed the frameworks/libs/player
+directory structure would look like this.
+
+    /frameworks
+        /libs
+            /player
+                /10.2
+                     /playerglobal.swc
+                /10.3
+                     /playerglobal.swc
+                /11.0
+                     /playerglobal.swc
+                /11.2
+                     /playerglobal.swc
+                /11.2
+                     /playerglobal.swc
+                /11.3
+                     /playerglobal.swc
+                /11.4
+                     /playerglobal.swc
+                /11.5
+                     /playerglobal.swc
+                /11.6
+                     /playerglobal.swc
+                /11.7
+                     /playerglobal.swc
+                /11.8
+                     /playerglobal.swc
+                /11.9
+                     /playerglobal.swc
+                /12.0
+                     /playerglobal.swc
+                /13.0
+                     /playerglobal.swc
+                /14.0
+                     /playerglobal.swc
+                /15.0
+                     /playerglobal.swc
+
+Apache Flex has been tested with Adobe Flash Player 11.1, 11.5, 11.7, 11.8,
+11.9, 12.0, 13.0, 14.0 and 15.0 on Windows and Mac.
+
+Apache Flex has not been tested on Linux so some issues may exist in this
+release.
+
+It compiles against other Adobe Flash Player versions and is expected to work
+but there may be some issues, particularly with the earlier 10.2 and 10.3
+versions of the Adobe Flash Player.
 
-    http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
-    http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_0.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
-    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
-    http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc
-    http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc
-    http://download.macromedia.com/get/flashplayer/updaters/14/playerglobal14_0.swc
-    http://download.macromedia.com/get/flashplayer/updaters/15/playerglobal15_0.swc
-
-    Copy the target playerglobal.swc to the directory:
-
-        frameworks/libs/player/<version>/playerglobal.swc
-
-    Where <version> is the major and minor version numbers of the Adobe Flash
-    Player separated by a period or full stop.
-
-    If all of the playerglobal swcs where installed the frameworks/libs/player
-    directory structure would look like this.
-
-        /frameworks
-            /libs
-                /player
-                    /10.2
-                         /playerglobal.swc
-                    /10.3
-                         /playerglobal.swc
-                    /11.0
-                         /playerglobal.swc
-                    /11.2
-                         /playerglobal.swc
-                    /11.2
-                         /playerglobal.swc
-                    /11.3
-                         /playerglobal.swc
-                    /11.4
-                         /playerglobal.swc
-                    /11.5
-                         /playerglobal.swc
-                    /11.6
-                         /playerglobal.swc
-                    /11.7
-                         /playerglobal.swc
-                    /11.8
-                         /playerglobal.swc
-                    /11.9
-                         /playerglobal.swc
-                    /12.0
-                         /playerglobal.swc
-                    /13.0
-                         /playerglobal.swc
-                    /14.0
-                         /playerglobal.swc
-                    /15.0
-                         /playerglobal.swc
-
-    Apache Flex has been tested with Adobe Flash Player 11.1, 11.5, 11.7, 11.8,
-    11.9, 12.0, 13.0, 14.0 and 15.0 on Windows and Mac.
-
-    Apache Flex has not been tested on Linux so some issues may exist in this
-    release.
-
-    It compiles against other Adobe Flash Player versions and is expected to
-    work but there may be some issues, particularly with the earlier 10.2 and
-    10.3 versions of the Adobe Flash Player.
 
 Software Dependencies
 ---------------------
 
-    Apache Flex uses third-party code that will be downloaded as part of the
-    Apache Flex build.  In addition, there is some optional third-party code
-    that you can choose to download if you would like to take advantage of the
-    features offered and you agree to the license terms.
+Apache Flex uses third-party code that will be downloaded as part of the Apache
+Flex build. In addition, there is some optional third-party code that you can
+choose to download if you would like to take advantage of the features offered
+and you agree to the license terms.
 
-    The Apache Version 2.0 license is in the LICENSE file.
+The Apache Version 2.0 license is in the LICENSE file.
 
-    The following dependencies have licenses which are, or are compatible with,
-    the Apache Version 2.0 license.  You will not be prompted to acknowledge the
-    download.  Most of the jars are installed in lib/external.
+The following dependencies have licenses which are, or are compatible with, the
+Apache Version 2.0 license. You will not be prompted to acknowledge the
+download. Most of the jars are installed in lib/external.
 
-        batik - http://archive.apache.org/dist/xmlgraphics/batik/batik-1.6.zip
-        commons-collections - http://archive.apache.org/dist/commons/collections/binaries/commons-collections-3.0.tar.gz
-        commons-discovery - http://archive.apache.org/dist/commons/discovery/binaries/commons-discovery-0.2.tar.gz
-        commons-logging - http://archive.apache.org/dist/commons/logging/binaries/commons-logging-1.0.4.tar.gz
-        javacc - http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
-        saxon9 - http://sourceforge.net/projects/saxon/files/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip/download
-        velocity - http://archive.apache.org/dist/velocity/engine/1.4/velocity-1.4.tar.gz
-        xalan - http://archive.apache.org/dist/xml/xalan-j/binaries/xalan-j_2_6_0-bin.tar.gz
-        xerces - http://archive.apache.org/dist/xerces/j/Xerces-J-bin.2.9.1.zip
+    batik - http://archive.apache.org/dist/xmlgraphics/batik/batik-1.6.zip
+    commons-collections - http://archive.apache.org/dist/commons/collections/binaries/commons-collections-3.0.tar.gz
+    commons-discovery - http://archive.apache.org/dist/commons/discovery/binaries/commons-discovery-0.2.tar.gz
+    commons-logging - http://archive.apache.org/dist/commons/logging/binaries/commons-logging-1.0.4.tar.gz
+    javacc - http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
+    saxon9 - http://sourceforge.net/projects/saxon/files/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip/download
+    velocity - http://archive.apache.org/dist/velocity/engine/1.4/velocity-1.4.tar.gz
+    xalan - http://archive.apache.org/dist/xml/xalan-j/binaries/xalan-j_2_6_0-bin.tar.gz
+    xerces - http://archive.apache.org/dist/xerces/j/Xerces-J-bin.2.9.1.zip
 
-    The following dependencies have licenses which Apache considers to be
-    reciprocal licenses so you will be prompted to acknowledge the license
-    before the software is downloaded to your system. These files are installed
-    in frameworks/libs.
+The following dependencies have licenses which Apache considers to be
+reciprocal licenses so you will be prompted to acknowledge the license before
+the software is downloaded to your system. These files are installed in
+frameworks/libs.
 
-        osmf.swc
+    osmf.swc
 
-        Open Source Media Framework v1.0 used for video components
+    Open Source Media Framework v1.0 used for video components
 
-        This file is extracted from:
-        http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download
+    This file is extracted from:
+    http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download
 
-        This software is released under the Mozilla Public License Version 1.1:
-        <http://www.mozilla.org/MPL/>
+    This software is released under the Mozilla Public License Version 1.1:
+    <http://www.mozilla.org/MPL/>
 
-    The following dependencies have licenses which Apache considers to be not
-    compatible with the Apache License Version 2.0. You will be prompted to read
-    and agree to the license terms of the dependency before the software can be 
-    downloaded to your system.
-    These are optional components which enable additional features.  They are
-    installed in libs/external/optional.
+The following dependencies have licenses which Apache considers to be not
+compatible with the Apache License Version 2.0. You will be prompted to read
+and agree to the license terms of the dependency before the software can be
+downloaded to your system. These are optional components which enable
+additional features. They are installed in libs/external/optional.
 
     flex-messaging-common.jar
-        Provides integration with Adobe BlazeDS.
 
-        This files are extracted from:
-        http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
+    Provides integration with Adobe BlazeDS.
 
-        This software is released under an Adobe license:
-        <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
+    This files are extracted from:
+    http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
 
-    flex-fontkit.jar
-    afe.jar, adt.jar
+    This software is released under an Adobe license:
+    <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
+
+    adt.jar
+    afe.jar
     aglj40.jar
+    flex-fontkit.jar
     rideau.jar
-        Adobe proprietary software which provides embedded font support.
 
-        These jars are extracted from:
-        http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
+    Adobe proprietary software which provides embedded font support.
+
+    These jars are extracted from:
+    http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip
+
+    This software is released under an Adobe license:
+    <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
+
 
-        This software is released under an Adobe license:
-        <http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf>
 
 Using the Binary Distribution
------------------------------
+=============================
+
+You must download the third-party dependencies.
 
-    You must download the third-party dependencies.
+When you have all the prerequisites in place and the environment variables set,
+(see Install Prerequisites above -- you cannot use the env.properties file to
+set the environment variables for these steps.), use
 
-    When you have all the prerequisites in place and the environment variables
-    set, (see Install Prerequisites above -- you cannot use the env.properties
-    file to set the environment variables for these steps.), use
+    cd <flex.dir>/frameworks
+    ant thirdparty-downloads
 
-        cd <flex.dir>/frameworks
-        ant thirdparty-downloads
+Additionally, you will need to build the RSLS for the SDK before you run the
+batch files.
 
-    Additionally, you will need to build the RSLS for the SDK before you run the
-    batch files.
+    cd <flex.dir>
+    ant frameworks-rsls
 
-        cd <flex.dir>
-        ant frameworks-rsls
+To use this SDK in a IDE like Flash Builder 4.6 or 4.7 the SDK needs several
+other files to be packaged and integrated with the Apache Flex SDK.
 
-    To use this SDK in a IDE like Flash Builder 4.6 or 4.7 the SDK needs
-    several other files to be packaged and integrated with the Apache Flex SDK.
+If you have an existing installation of Flash Builder run:
 
-	If you have an existing installation of Flash Builder run:
+    /ide/constructFlexForIDE.sh (on Mac and Linux)
+    /ide/constructFlexForIDE.bat (on Windows)
 
-		/ide/constructFlexForIDE.sh (on Mac and Linux)
-		/ide/constructFlexForIDE.bat (on Windows)
+This will create an Apache Flex 4.13.0 SDK that can be used with Flash Builder
+by copying the required files from the Adobe Flex 4.6 SDK.
 
-	This will create an Apache Flex 4.13.0 SDK that can be used with Flash
-        Builder by copying the required files from the Adobe Flex 4.6 SDK.
+To create an SDK for other IDE or if you want to use Adobe AIR 14.0
+    (rather than AIR 3.1 contained in Adobe Flex 4.6) run:
 
-	To create an SDK for other IDE or if you want to use Adobe AIR 14.0
-        (rather than AIR 3.1 contained in Adobe Flex 4.6) run:
+    /ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
+    /ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
 
-		/ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
-		/ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
+This will create an Apache Flex 4.13.0 SDK that can be used by an IDE by
+downloading Adobe Flex 4.6 SDK and Adobe AIR 14.0.
 
-	This will create an Apache Flex 4.13.0 SDK that can be used by an IDE by
-    downloading Adobe Flex 4.6 SDK and Adobe AIR 14.0.
 
 Building the Framework in a Binary Distribution
 -----------------------------------------------
 
-    The source for most of the framework is included in the binary distribution.
-    It can be useful if you wish to debug and/or extend components.
+The source for most of the framework is included in the binary distribution. It
+can be useful if you wish to debug and/or extend components.
 
-    When you have all the prerequisites in place and the environment variables
-    set, (see Install Prerequisites above), use
+When you have all the prerequisites in place and the environment variables set,
+(see Install Prerequisites above), use
 
-        cd <flex.dir>/frameworks
-        ant main        (or just ant since the default target is main)
+    cd <flex.dir>/frameworks
+    ant main (or just ant since the default target is main)
 
-    to download the third-party dependencies and build the Flex framework.  You 
-    may be prompted to acknowledge some of the downloads.  Since the third-party
-    dependencies take a little while to download and they don't change very
-    often, they are not cleaned with the regular clean target.
+to download the third-party dependencies and build the Flex framework. You may
+be prompted to acknowledge some of the downloads. Since the third-party
+dependencies take a little while to download and they don't change very often,
+they are not cleaned with the regular clean target.
 
-    To clean the build, of everything other than the downloaded third-party
-    dependencies use
+To clean the build, of everything other than the downloaded third-party
+dependencies use
 
-        ant clean
+    ant clean
 
-    To clean the build, of everything, including the downloaded third-party
-    dependencies use
+To clean the build, of everything, including the downloaded third-party
+dependencies use
+
+    ant super-clean (which is just thirdparty-clean followed by clean)
 
-        ant super-clean (which is just thirdparty-clean followed by clean)
 
 Building the Source in the Source Distribution
 ----------------------------------------------
 
-    The source for both the Flex compiler and the Flex framework is included in
-    the source distribution.  The compiler is in the modules directory and the
-    framework is in the frameworks directory.
+The source for both the Flex compiler and the Flex framework is included in the
+source distribution. The compiler is in the modules directory and the framework
+is in the frameworks directory.
+
+Because the sdk uses the Text Layout Framework, you will have to clone it too
+and link it to the textLayout project of the sdk:
 
-	Because the sdk uses the Text Layout Framework, you will have to clone
-        it too and link it to the textLayout project of the sdk:
+    cd <flex.dir>/..
+    git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
 
-	cd <flex.dir>/..
-	git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git tlf
+When you have all the prerequisites in place and the environment variables set
+(see Install Prerequisites above), use
 
-    When you have all the prerequisites in place and the environment variables
-    set (see Install Prerequisites above), use
+    cd <flex.dir>
+    ant main (or just ant since the default target is main)
 
-        cd <flex.dir>
-        ant main        (or just ant since the default target is main)
+to download the thirdparty dependencies and build the source. You may be
+prompted to acknowledge and/or confirm some of the downloads. Since the
+third-party dependencies take a little while to download and they don't change
+very often, they are not cleaned with the regular clean target.
 
-    to download the thirdparty dependencies and build the source.  You may be
-    prompted to acknowledge and/or confirm some of the downloads.  Since the
-    third-party dependencies take a little while to download and they don't
-    change very often, they are not cleaned with the regular clean target.
+If you would like to build the RSLs, use
 
-    If you would like to build the RSLs, use
+    ant frameworks-rsls
 
-        ant frameworks-rsls
+To clean the build, of everything other than the downloaded third-party
+dependencies use
 
-    To clean the build, of everything other than the downloaded third-party
-    dependencies use
+    ant clean
 
-        ant clean
+To clean the build, of everything, including the downloaded third-party
+dependencies use
 
-    To clean the build, of everything, including the downloaded third-party
-    dependencies use
+    ant super-clean (which is just thirdparty-clean followed by clean)
 
-        ant super-clean (which is just thirdparty-clean followed by clean)
+To generate a source distribution package and a binary distribution package use
 
-    To generate a source distribution package and a binary distribution package
-    use
+    ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
 
-        ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release
+The packages can be found in the "out" subdirectory.
 
-    The packages can be found in the "out" subdirectory.
+To build the ASDoc package
 
-    To build the ASDoc package
+    ant asdoc-package
 
-        ant asdoc-package
+To get a brief listing of all the targets type
 
-    To get a brief listing of all the targets type
+    ant -projecthelp
 
-        ant -projecthelp
 
 
 Using the SDK in Flash Builder
-------------------------------
+==============================
+
+If you want to use the SDK you build from source in Flash Builder, you need to
+run these commands/scripts:
+
+    cd <flex.dir>
+    ant frameworks-rsls
+    ./ide/constructFlexForIDE.[sh/bat]
+    [if you're on a Mac, also run: ./ide/addAIRtoSDK.sh]
 
-    If you want to use the SDK you build from source in Flash Builder, you
-    need to run these commands/scripts:
 
-        cd <flex.dir>
-        ant frameworks-rsls
-        ./ide/constructFlexForIDE.[sh/bat]
-        [if you're on a Mac, also run: ./ide/addAIRtoSDK.sh]
 
-Thanks for using Apache Flex.  Enjoy!
+Thanks for using Apache Flex. Enjoy!
 
-                                          The Apache Flex Project
-                                          <http://flex.apache.org>
+                                      The Apache Flex Project
+                                      <http://flex.apache.org>


[14/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added build scripts and font licenses for FlatSpark

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml b/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
deleted file mode 100644
index 6b8f68c..0000000
--- a/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-<!--- The default skin class for the Spark CheckBox component.  
-
-      @see spark.components.CheckBox
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-             xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5" useHandCursor="true">
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.CheckBox")]
-    ]]>
-    </fx:Metadata> 
-    
-    <fx:Script fb:purpose="styling">
-        /* Define the skin elements that should not be colorized. 
-           For button, the graphics are colorized but the label is not. */
-        static private const exclusions:Array = ["labelDisplay", "check"];
-
-       /** 
-        * @private 
-        */     
-        override public function get colorizeExclusions():Array {return exclusions;}
-        
-        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
-        static private const symbols:Array = [];
-
-       /**
-        * @private 
-        */
-        override public function get symbolItems():Array {return symbols};
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-    </fx:Script>
-    
-    <fx:Script>
-        <![CDATA[
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-            /** 
-             * @private 
-             */     
-            private static const focusExclusions:Array = ["labelDisplay"];
-
-            /**
-             * @private
-             */
-            override public function get focusSkinExclusions():Array { return focusExclusions;};
-        ]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="up" />
-        <s:State name="over" stateGroups="overStates" />
-        <s:State name="down" stateGroups="downStates" />
-        <s:State name="disabled" stateGroups="disabledStates" />
-        <s:State name="upAndSelected" stateGroups="selectedStates" />
-        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
-        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
-        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
-    </s:states>
-    
-    <s:Group verticalCenter="0" width="22" height="22" layoutDirection="ltr">
-        <!-- fill -->
-        <s:Rect left="1" top="1" right="1" bottom="1" radiusX="6">
-            <s:fill>
-                <s:SolidColor color="{ColorUtils.Silver}"/>
-            </s:fill>
-        </s:Rect>
-		
-		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="overStates">
-			<s:fill>
-				<s:SolidColor color="{ColorUtils.Asbestos}"/>
-			</s:fill>
-		</s:Rect>
-		
-		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="selectedStates">
-			<s:fill>
-				<s:SolidColor color="{ColorUtils.Turquoise}"/>
-			</s:fill>
-		</s:Rect>
-        
-		<!--<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="overStates"
-				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" alpha="0.75"
-				 />-->
-		
-		<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="selectedStates"
-				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0"
-				 />
-    </s:Group>
-
-    <!-- Label -->
-    <!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
-    <s:Label id="labelDisplay"
-             textAlign="start" color="{ColorUtils.WetAsphalt}"
-             verticalAlign="middle" fontSize="14"
-             maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
-             left="0" right="0" top="3" bottom="3" verticalCenter="2" />
-
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
deleted file mode 100644
index 3d15498..0000000
--- a/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
+++ /dev/null
@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the anchor button on a Spark ComboBox component.  
-
-@see spark.components.ComboBox        
-@see spark.skins.spark.ComboBoxSkin
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-			/* Define the skin elements that should not be colorized. 
-			For dropDownList buttons, the graphics are colorized but the arrow is not. */
-			static private const exclusions:Array = [];
-			
-			private var cornerRadius:Number = 4;
-			
-			/** 
-			 * @private
-			 */     
-			override public function get colorizeExclusions():Array {return exclusions;}
-			
-			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
-			static private const symbols:Array = [];
-			
-			/**
-			 * @private 
-			 */
-			override public function get symbolItems():Array {return symbols};
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-			
-			/**
-			 *  @private
-			 */
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{				
-				fill.bottomRightRadiusX = fill.topRightRadiusX = cornerRadius;
-				
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-		]]>
-	</fx:Script>
-	
-	<!-- states -->
-	<s:states>
-		<s:State name="up" />
-		<s:State name="over" />
-		<s:State name="down" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- layer 1: fill -->
-	<!--- @private -->
-	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.Turquoise}" />
-		</s:fill>
-	</s:Rect>
-	
-	<!--- The arrow graphic displayed in the anchor button. -->
-	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
-			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
-</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
deleted file mode 100644
index f98f46e..0000000
--- a/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- The default skin class for the Spark ComboBox component. 
-The skin for the anchor button for a ComboBox component 
-is defined by the ComboBoxButtonSkin class.  The skin for the text input
-is defined by the ComboBoxTextInputSkin class.
-
-@see spark.components.ComboBox        
-@see spark.skins.spark.ComboBoxButtonSkin
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
-	
-	<!-- host component -->
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.ComboBox")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[       
-			import mx.events.FlexEvent;
-			
-			import flatSpark.utils.ColorUtils;
-			private var paddingChanged:Boolean;
-			private var cornerRadiusChanged:Boolean;
-			private var cornerRadius:Number = 4;            
-			
-			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
-			static private const contentFill:Array = [];
-			
-			override public function get contentItems():Array {return contentFill; }
-			
-			protected function initializeHandler(event:FlexEvent):void
-			{
-				// TODO Auto-generated method stub
-				hostComponent.useHandCursor=true;
-				hostComponent.buttonMode=true;
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="normal" />
-		<s:State name="open" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!--- 
-	The PopUpAnchor control that opens the drop-down list. 
-	
-	<p>In a custom skin class that uses transitions, set the 
-	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
-	-->
-	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
-				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
-				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
-		
-		<!--- 
-		This includes borders, background colors, scrollers, and filters. 
-		@copy spark.components.supportClasses.DropDownListBase#dropDown
-		-->
-		<s:Group id="dropDown">
-			
-			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
-				<s:fill>
-					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
-				</s:fill>
-			</s:Path>
-			
-			<!-- fill -->
-			<!--- Defines the appearance of drop-down list's background fill. -->
-			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
-				<s:fill>
-					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
-				</s:fill>
-			</s:Rect>
-			<!--- @private -->
-			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatSpark.skins.ScrollerSkin">
-				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
-				<s:DataGroup id="dataGroup" itemRenderer="flatSpark.itemRenderers.DefaultItemRenderer">
-					<s:layout>
-						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
-					</s:layout>
-				</s:DataGroup> 
-			</s:Scroller>
-		</s:Group>
-	</s:PopUpAnchor>
-	
-	<!---  The default skin is ComboBoxButtonSkin. 
-	@copy spark.components.supportClasses.DropDownListBase#openButton
-	@see spark.skins.spark.ComboBoxButtonSkin -->
-	<s:Button id="openButton" width="29" right="0" top="0" bottom="0" focusEnabled="false"
-			  skinClass="flatSpark.skins.ComboBoxButtonSkin" tabEnabled="false" />  
-	<!--- @copy spark.components.ComboBox#textInput -->
-	<s:TextInput id="textInput" enabled.disabled="false"
-				 left="0" right="29" top="0" bottom="0" 
-				 skinClass="flatSpark.skins.ComboBoxTextInputSkin"/> 
-	
-</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
deleted file mode 100644
index d4b1ce9..0000000
--- a/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
+++ /dev/null
@@ -1,218 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- The default skin class for the textInput of a Spark ComboBox component.  
-
-@see spark.components.ComboBox
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" 
-			 blendMode="normal">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.TextInput")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-			
-			private var paddingChanged:Boolean;
-			private var cornerRadius:Number = 4;
-			
-			/* Define the skin elements that should not be colorized. */
-			static private const exclusions:Array = ["background", "textDisplay", "promptDisplay"];
-			
-			/**
-			 * @private
-			 */   
-			override public function get colorizeExclusions():Array {return exclusions;}
-			
-			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
-			static private const contentFill:Array = [];
-			
-			/**
-			 *  @private
-			 */
-			override public function get contentItems():Array {return contentFill; }
-			
-			/**
-			 *  @private
-			 */
-			override protected function commitProperties():void
-			{
-				super.commitProperties();
-				
-				if (paddingChanged)
-				{
-					updatePadding();
-					paddingChanged = false;
-				}
-			}
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-			
-			/**
-			 *  @private
-			 */
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{				
-				if (promptDisplay)
-				{
-					promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
-					promptDisplay.setLayoutBoundsPosition(8, 0);
-				}
-				
-				background.bottomLeftRadiusX = background.topLeftRadiusX = cornerRadius;
-				
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			/**
-			 *  @private
-			 */
-			private function updatePadding():void
-			{
-				if (!textDisplay)
-					return;
-				
-				// Push padding styles into the textDisplay
-				var padding:Number;
-				
-				padding = getStyle("paddingLeft");
-				if (textDisplay.getStyle("paddingLeft") != padding)
-					textDisplay.setStyle("paddingLeft", padding);
-				
-				padding = getStyle("paddingTop");
-				if (textDisplay.getStyle("paddingTop") != padding)
-					textDisplay.setStyle("paddingTop", padding);
-				
-				padding = getStyle("paddingRight");
-				if (textDisplay.getStyle("paddingRight") != padding)
-					textDisplay.setStyle("paddingRight", padding);
-				
-				padding = getStyle("paddingBottom");
-				if (textDisplay.getStyle("paddingBottom") != padding)
-					textDisplay.setStyle("paddingBottom", padding);
-				
-				if (!promptDisplay)
-					return;
-				
-				padding = getStyle("paddingLeft");
-				if (promptDisplay.getStyle("paddingLeft") != padding)
-					promptDisplay.setStyle("paddingLeft", padding);
-				
-				padding = getStyle("paddingTop");
-				if (promptDisplay.getStyle("paddingTop") != padding)
-					promptDisplay.setStyle("paddingTop", padding);
-				
-				padding = getStyle("paddingRight");
-				if (promptDisplay.getStyle("paddingRight") != padding)
-					promptDisplay.setStyle("paddingRight", padding);
-				
-				padding = getStyle("paddingBottom");
-				if (promptDisplay.getStyle("paddingBottom") != padding)
-					promptDisplay.setStyle("paddingBottom", padding);
-			}
-			
-			/**
-			 *  @private
-			 */
-			override public function styleChanged(styleProp:String):void
-			{
-				var allStyles:Boolean = !styleProp || styleProp == "styleName";
-				
-				super.styleChanged(styleProp);
-				
-				if (allStyles || styleProp.indexOf("padding") == 0)
-				{
-					paddingChanged = true;
-					invalidateProperties();
-				}
-			}
-		]]>
-	</fx:Script>
-	
-	<fx:Script>
-		<![CDATA[
-			/** 
-			 * @private 
-			 */     
-			private static const focusExclusions:Array = ["textDisplay"];
-			
-			/**
-			 *  @private
-			 */
-			override public function get focusSkinExclusions():Array { return focusExclusions;};
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="normal"/>
-		<s:State name="disabled" stateGroups="disabledStates"/>
-		<s:State name="normalWithPrompt"/>
-		<s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
-	</s:states>
-	
-	<!-- fill -->
-	<!--- Defines the appearance of the TextInput component's background. -->
-	<s:Rect id="background" left="0" right="0" top="0" bottom="0">
-		<s:fill>
-			<s:SolidColor id="bgFill" color="{ColorUtils.Turquoise}" />
-		</s:fill>
-	</s:Rect>
-	
-	<!-- text -->
-	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
-	<!--	<s:RichEditableText id="textDisplay"
-	lineBreak="explicit"
-	widthInChars="10" verticalCenter="0"/>-->
-	<s:RichEditableText id="textDisplay" verticalAlign="middle" lineBreak="explicit" backgroundColor="{ColorUtils.Turquoise}"
-						widthInChars="10" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF"
-						left="8" right="8" top="8" bottom="8" fontSize="15" verticalCenter="0"/>
-	<!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
-	<!--	<s:Label id="promptDisplay" maxDisplayedLines="1"
-	verticalAlign="middle"
-	mouseEnabled="false" mouseChildren="false"
-	includeIn="normalWithPrompt,disabledWithPrompt" 
-	includeInLayout="false"/>-->
-	<s:Label id="promptDisplay" maxDisplayedLines="1"
-			 verticalAlign="middle" fontFamily="Lato" fontSize="15" fontWeight="normal" fontStyle="italic" color="{ColorUtils.Clouds}"
-			 mouseEnabled="false" mouseChildren="false" left="8" right="8" top="8" bottom="8" verticalCenter="0"
-			 includeIn="normalWithPrompt,disabledWithPrompt" 
-			 includeInLayout="false"/>
-	
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
deleted file mode 100644
index 3215dfb..0000000
--- a/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the anchor button on a Spark DropDownList component.  
-
-@see spark.components.DropDownList        
-@see spark.skins.spark.DropDownListSkin
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-			/* Define the skin elements that should not be colorized. 
-			For dropDownList buttons, the graphics are colorized but the arrow is not. */
-			static private const exclusions:Array = [];
-			
-			/**
-			 * @private
-			 */  
-			override public function get colorizeExclusions():Array {return exclusions;}
-			
-			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
-			static private const symbols:Array = [];
-			
-			/**
-			 * @private
-			 */
-			override public function get symbolItems():Array {return symbols};
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-			
-			/**
-			 *  @private
-			 */
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{				
-				fill.radiusX = cornerRadius;
-				
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			private var cornerRadius:Number = 4;
-			
-		]]>
-	</fx:Script>
-	
-	<!-- states -->
-	<s:states>
-		<s:State name="up" />
-		<s:State name="over" />
-		<s:State name="down" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- layer 1: fill -->
-	<!--- @private -->
-	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.Turquoise}" />
-		</s:fill>
-	</s:Rect>
-	
-	<!--- The arrow graphic displayed in the anchor button. -->
-	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
-			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml b/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
deleted file mode 100644
index ced72c7..0000000
--- a/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
+++ /dev/null
@@ -1,143 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- The default skin class for the Spark DropDownList component. 
-The skin for the anchor button for a DropDownList component 
-is defined by the DropDownListButtonSkin class.  
-
-<p>In a custom skin class that uses transitions, set the 
-<code>itemDestructionPolicy</code> property to <code>never</code>
-for the PopUpAnchor defined by the popUp property.</p>      
-
-@see spark.components.DropDownList        
-@see spark.skins.spark.DropDownListButtonSkin
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
-	
-	<!-- host component -->
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.DropDownList")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[            
-			import mx.events.FlexEvent;
-			
-			import flatSpark.itemRenderers.DefaultItemRenderer;
-			import flatSpark.utils.ColorUtils;
-			
-			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
-			static private const contentFill:Array = [];
-			
-			/**
-			 * @private
-			 */
-			override public function get contentItems():Array { return contentFill; }
-			
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
-			{		
-				//background.bottomRightRadiusX = background.topRightRadiusX = cornerRadius;
-
-				
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			private var cornerRadius:Number = 4;
-			
-			protected function initializeHandler(event:FlexEvent):void
-			{
-				// TODO Auto-generated method stub
-				hostComponent.useHandCursor=true;
-				hostComponent.buttonMode=true;
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="normal" />
-		<s:State name="open" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!--- 
-	The PopUpAnchor control that opens the drop-down list. 
-	
-	<p>In a custom skin class that uses transitions, set the 
-	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
-	-->
-	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
-				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
-				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
-		
-		<!--- 
-		This includes borders, background colors, scrollers, and filters.
-		@copy spark.components.supportClasses.DropDownListBase#dropDown
-		-->
-		<s:Group id="dropDown">
-			
-			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
-				<s:fill>
-					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
-				</s:fill>
-			</s:Path>
-			
-			<!-- fill -->
-			<!--- Defines the appearance of drop-down list's background fill. -->
-			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
-				<s:fill>
-					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
-				</s:fill>
-			</s:Rect>
-			
-			<!--- @private -->
-			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatSpark.skins.ScrollerSkin">
-				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
-				<s:DataGroup id="dataGroup" itemRenderer="flatSpark.itemRenderers.DefaultItemRenderer">
-					<s:layout>
-						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
-					</s:layout>
-				</s:DataGroup> 
-			</s:Scroller>
-		</s:Group>
-	</s:PopUpAnchor>
-	
-	<!---  The default skin is DropDownListButtonSkin. 
-	@copy spark.components.supportClasses.DropDownListBase#openButton
-	@see spark.skins.spark.DropDownListButtonSkin -->
-	<s:Button id="openButton" width="29" left="0" right="0" top="0" bottom="0" focusEnabled="false" tabEnabled="false"
-			  skinClass="flatSpark.skins.DropDownListButtonSkin" />  
-	
-	<!--- @copy spark.components.DropDownList#labelDisplay -->
-
-	<s:Label id="labelDisplay" verticalAlign="middle" maxDisplayedLines="1"  backgroundColor="{ColorUtils.Turquoise}"
-			 mouseEnabled="false" mouseChildren="false" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF" 
-			 left="10" right="37" top="8" bottom="8" fontSize="15" verticalCenter="0"></s:Label> 
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
deleted file mode 100644
index 82099b7..0000000
--- a/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the Spark HScrollBar component. The thumb and track skins are defined by the
-HScrollBarThumbSkin and HScrollBarTrackSkin classes, respectively.  
-
-       @see spark.components.HScrollBar
-       @see spark.skins.spark.HScrollBarThumbSkin
-       @see spark.skins.spark.HScrollBarTrackSkin
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="35" minHeight="15" 
-    alpha.disabled="0.5" alpha.inactive="0.5">
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.HScrollBar")]
-    ]]>
-    </fx:Metadata> 
-    
-    <fx:Script fb:purpose="styling">
-        /* Define the skin elements that should not be colorized. 
-           For scroll bar, the skin itself is colorized but the individual parts are not. */
-        static private const exclusions:Array = ["track", "thumb"];
-
-        /**
-         * @private
-         */
-        override public function get colorizeExclusions():Array {return exclusions;}
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="normal" />
-        <s:State name="disabled" />
-        <s:State name="inactive" />
-    </s:states>
-    
-    <!---  The default skin class is HScrollBarTrackSkin.    
-            @copy spark.components.supportClasses.TrackBase#track
-            @see spark.skins.spark.HScrollBarTrackSkin -->
-    <s:Button id="track" left="0" right="0" width="54" 
-              focusEnabled="false" tabEnabled="false"
-              skinClass="flatSpark.skins.HScrollBarTrackSkin" />
-
-    <!---  The default skin class is HScrollBarThumbSkin. 
-            @copy spark.components.supportClasses.TrackBase#thumb
-            @see spark.skins.spark.HScrollBarThumbSkin -->
-    <s:Button id="thumb" 
-              focusEnabled="false" visible.inactive="false" tabEnabled="false"
-              skinClass="flatSpark.skins.HScrollBarThumbSkin" />
-
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
deleted file mode 100644
index df5adf4..0000000
--- a/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the thumb of a Spark HScrollBar component.  
-
-@see spark.components.HScrollBar
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="up" />
-		<s:State name="over" />
-		<s:State name="down" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- background -->
-	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
-		<s:stroke>
-			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
-		</s:stroke>
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.Silver}" />
-		</s:fill>
-	</s:Rect>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
deleted file mode 100644
index a9b8340..0000000
--- a/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the track on a Spark HScrollBar component.  
-
-@see spark.components.HScrollBar
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="up" />
-		<s:State name="down" />
-		<s:State name="over" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- border/fill -->
-	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
-		</s:fill>
-	</s:Rect>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/PanelSkin.mxml b/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
deleted file mode 100644
index 3304b48..0000000
--- a/frameworks/projects/flatspark/src/skins/PanelSkin.mxml
+++ /dev/null
@@ -1,253 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for a Spark Panel container.  
-
-    @see spark.components.Panel
-
-    @langversion 3.0
-    @playerversion Flash 10
-    @playerversion AIR 1.5
-    @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false" 
-    minWidth="131" minHeight="127" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
-    
-    <fx:Metadata>
-        <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.Panel")]
-        ]]>
-    </fx:Metadata> 
-    
-    <fx:Script fb:purpose="styling">
-        <![CDATA[
-			import mx.core.FlexVersion;
-			
-			import flatSpark.utils.ColorUtils;
-		
-		/* Define the skin elements that should not be colorized. 
-        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
-        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup", "border"];
-			
-		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
-		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
-		
-		/**
-		 * @private
-		 */
-		override public function get colorizeExclusions():Array 
-		{
-			// Since border is styleable via borderColor, no need to allow chromeColor to affect
-			// the border.  This is wrapped in a compatibility flag since this change was added  
-			// in Flex 4.5
-			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
-			{
-				return exclusions_4_0;
-			}
-			
-			return exclusions;
-		}
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-        
-        /**
-         * @private
-         */
-        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {            
-			dropShadow.tlRadius = cornerRadius;
-			dropShadow.trRadius = cornerRadius;
-			dropShadow.blRadius = cornerRadius;
-			dropShadow.brRadius = cornerRadius;
-			
-			setPartCornerRadii(topMaskRect);  
-			setPartCornerRadii(background);  
-            
-			if (bottomMaskRect != null)
-			{
-				setPartCornerRadii(bottomMaskRect);
-			}
-            
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-        }
-        
-        /**
-         * @private
-         */  
-        private function setPartCornerRadii(target:Rect):void
-        {            
-            target.topLeftRadiusX = cornerRadius;
-            target.topRightRadiusX = cornerRadius;
-            target.bottomLeftRadiusX = cornerRadius;
-            target.bottomRightRadiusX = cornerRadius;
-        }
-        
-		private var cornerRadius:Number=4;
-		]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="normal" />
-        <s:State name="disabled" />
-        <s:State name="normalWithControlBar" stateGroups="withControls" />
-        <s:State name="disabledWithControlBar" stateGroups="withControls" />
-    </s:states>
-    
-    <!-- drop shadow can't be hittable so it stays sibling of other graphics -->
-    <!--- @private -->
-    <s:RectangularDropShadow id="dropShadow" blurX="4" distance="0" angle="90" alpha="1"
-                          color="{ColorUtils.Silver}" left="0" top="0" right="0" bottom="0"/>
-    
-    <!-- drop shadow can't be hittable so all other graphics go in this group -->
-    <s:Group left="0" right="0" top="0" bottom="0">
-        
-        <!-- top group mask -->
-        <!--- @private -->
-        <s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
-            <!--- @private -->
-            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
-                <s:fill>
-                    <s:SolidColor alpha="0"/>
-                </s:fill>
-            </s:Rect>
-        </s:Group>
-        
-        <!-- bottom group mask -->
-        <!--- @private -->
-        <s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask" 
-                 includeIn="normalWithControlBar, disabledWithControlBar">
-            <!--- @private -->
-            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
-                <s:fill>
-                    <s:SolidColor alpha="0"/>
-                </s:fill>
-            </s:Rect>
-        </s:Group>
-        
-        <!-- layer 2: background fill -->
-        <!--- Defines the appearance of the PanelSkin class's background. -->
-        <s:Rect id="background" left="0" top="0" right="0" bottom="0">
-            <s:fill>
-                <!--- @private
-                      Defines the  PanelSkin class's background fill. The default color is 0xFFFFFF. -->
-                <s:SolidColor id="backgroundFill" color="0xFFFFFF"/>
-            </s:fill>
-        </s:Rect>
-        
-        <!-- layer 3: contents -->
-        <!--- Contains the vertical stack of titlebar content and controlbar. -->
-        <s:Group left="0" top="0" right="0" bottom="0" id="contents">
-            <s:layout>
-                <s:VerticalLayout gap="0" horizontalAlign="justify" />
-            </s:layout>
-            
-            <!--- @private -->
-            <s:Group id="topGroup" mask="{topGroupMask}">
-                
-                <!-- layer 0: title bar fill -->
-                <!--- @private -->
-                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="0">
-                    <s:fill>
-						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
-                    </s:fill>
-                </s:Rect>
-                
-                <!-- layer 1: title bar highlight -->
-                <!--- @private -->
-                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
-                    <s:fill>
-						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
-                    </s:fill>
-                </s:Rect>
-                
-                <!-- layer 2: title bar divider -->
-                <!--- @private -->
-                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
-                    <s:fill>
-						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
-                    </s:fill>
-                </s:Rect>
-                
-                <!-- layer 3: text -->
-                <!--- @copy spark.components.Panel#titleDisplay -->
-				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
-						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
-						 verticalAlign="middle" fontWeight="bold" />
-            </s:Group>
-            
-            <!--
-                Note: setting the minimum size to 0 here so that changes to the host component's
-                size will not be thwarted by this skin part's minimum size.   This is a compromise,
-                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
-            -->
-            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
-            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
-            </s:Group>
-            
-            <!--- @private -->
-            <s:Group id="bottomGroup" minWidth="0" minHeight="0"
-                     includeIn="normalWithControlBar, disabledWithControlBar" >
-                
-                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
-
-                    <!-- layer 0: control bar divider line -->
-                    <s:Rect left="0" right="0" top="0" height="1" alpha="0.5">
-                        <s:fill>
-							<s:SolidColor color="{ColorUtils.Silver}" />
-                        </s:fill>
-                    </s:Rect>
-                    
-                    <!-- layer 1: control bar highlight -->
-                    <s:Rect left="0" right="0" top="1" bottom="0">
-						<s:fill>
-							<s:SolidColor color="{ColorUtils.Clouds}" />
-						</s:fill>
-                    </s:Rect>
-                    
-                    <!-- layer 2: control bar fill -->
-                    <s:Rect left="0" right="0" top="1" bottom="0">
-						<s:fill>
-							<s:SolidColor color="{ColorUtils.Clouds}" />
-						</s:fill>
-                    </s:Rect>
-                </s:Group>
-                <!-- layer 3: control bar -->
-                <!--- @copy spark.components.Panel#controlBarGroup -->
-                <s:Group id="controlBarGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0">
-                    <s:layout>
-                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
-                    </s:layout>
-                </s:Group>
-            </s:Group>
-        </s:Group>
-    </s:Group>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml b/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
deleted file mode 100644
index 3a0ad79..0000000
--- a/frameworks/projects/flatspark/src/skins/ProgressBarSkin.mxml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
-		xmlns:s="library://ns.adobe.com/flex/spark">
-	<fx:Metadata>
-		[HostComponent("spark.components.ProgressBar")]
-	</fx:Metadata>
-	
-	<fx:Script>
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-		]]>
-	</fx:Script>
-	<s:Rect left="0" minHeight="14" top="0" bottom="0" right="0" radiusX="4">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.Clouds}" />
-		</s:fill>
-	</s:Rect>
-	<s:Group id="progressGroup" top="0" bottom="0"
-			 left="{hostComponent.direction=='left' ? 0 : NaN}"
-			 right="{hostComponent.direction=='right' ? 0 : NaN}">
-		<s:Rect left="0" top="0" bottom="0" right="0" radiusX="4">
-			<s:fill>
-				<s:SolidColor color="{ColorUtils.Turquoise}" />
-			</s:fill>
-		</s:Rect>
-		<!--
-		Variant #2 (looks nicer) - uncomment this and remove last Label declaration
-		<s:Label id="percentDisplay"
-		right="2" verticalCenter="0" verticalAlign="middle"
-		visible="{progressBox.width > percentDisplay.width + 4}"
-		includeInLayout="{progressBox.width > percentDisplay.width + 4}"/>
-		-->
-	</s:Group>
-	<s:Label id="percentDisplay" left="2" right="2" verticalCenter="0" verticalAlign="middle" color="{ColorUtils.WetAsphalt}" fontFamily="Lato" fontWeight="bold" fontSize="13" textAlign="center" />
-
-</s:Skin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
deleted file mode 100644
index 0f7a11f..0000000
--- a/frameworks/projects/flatspark/src/skins/RadioButtonSkin.mxml
+++ /dev/null
@@ -1,129 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-<!--- The default skin class for a Spark RadioButton component.  
-
-       @see spark.components.RadioButton
-       @see spark.components.RadioButtonGroup
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5">
-	<fx:Metadata>[HostComponent("spark.components.RadioButton")]</fx:Metadata>
-
-    <fx:Script fb:purpose="styling">
-        /* Define the skin elements that should not be colorized. 
-           For button, the graphics are colorized but the label is not. */
-        static private const exclusions:Array = ["labelDisplay", "dot"];
-
-        /**
-         * @private
-         */
-        override public function get colorizeExclusions():Array {return exclusions;}
-        
-        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
-        static private const symbols:Array = [];
-        
-        /**
-         * @private
-         */
-        override public function get symbolItems():Array {return symbols};
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-    </fx:Script>
-    
-    <fx:Script>
-        <![CDATA[
-			import flatSpark.utils.ColorUtils;
-        /** 
-         * @private 
-         */     
-        private static const focusExclusions:Array = ["labelDisplay"];
-
-        /**
-         *  @private
-         */
-        override public function get focusSkinExclusions():Array { return focusExclusions;};
-        ]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="up" />
-        <s:State name="over" stateGroups="overStates" />
-        <s:State name="down" stateGroups="downStates" />
-        <s:State name="disabled" stateGroups="disabledStates" />
-        <s:State name="upAndSelected" stateGroups="selectedStates" />
-        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
-        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
-        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
-    </s:states>
-    
-	<s:Group verticalCenter="0" width="22" height="22">
-		<!-- fill -->
-		<s:Ellipse left="1" top="1" right="1" bottom="1">
-			<s:fill>
-				<s:SolidColor color="#FFFFFF" />
-			</s:fill>
-			<s:stroke>
-				<s:SolidColorStroke color="{ColorUtils.Silver}" weight="4"/>
-			</s:stroke>
-		</s:Ellipse>
-		
-		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="overStates">
-			<s:stroke>
-				<s:SolidColorStroke color="{ColorUtils.Asbestos}" weight="4"/>
-			</s:stroke>
-		</s:Ellipse>
-		
-		<s:Ellipse left="1" top="1" right="1" bottom="1" includeIn="selectedStates">
-			<s:stroke>
-				<s:SolidColorStroke color="{ColorUtils.Turquoise}" weight="4"/>
-			</s:stroke>
-		</s:Ellipse>
-		
-		<s:Ellipse left="8" top="8" right="8" bottom="8" includeIn="selectedStates">
-			<s:fill>
-				<s:SolidColor color="{ColorUtils.Turquoise}" />
-			</s:fill>			
-		</s:Ellipse>
-		
-		
-	</s:Group>
-	
-	<!-- Label -->
-	<!---  @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
-	<s:Label id="labelDisplay"
-			 textAlign="start" color="{ColorUtils.WetAsphalt}"
-			 verticalAlign="middle" fontSize="14"
-			 maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
-			 left="0" right="0" top="3" bottom="3"/>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml b/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
deleted file mode 100644
index 4729d05..0000000
--- a/frameworks/projects/flatspark/src/skins/ScrollerSkin.mxml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--
-
-Scroller unconditionally sets its skin's layout to private layout
-implementation that handles the scroll policies.  Scroller skins can
-only provide replacement scrollbars.  The skin's layout and
-constraints or dimensions set on skin parts will not be honored.  To
-gain more control over the layout of a viewport and its scrollbars,
-instead of using Scroller, add them to a Group and use the ScrollBar component's
-viewport property to link them together.
- 
--->
-
-<!--- The default skin class for the Spark Scroller component. 
-
-     @see spark.components.Scroller
-    
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.Scroller")]
-    ]]>
-    </fx:Metadata> 
-
-    <fx:Script>
-    <![CDATA[    
-        /**
-         *  @private
-         */
-        override public function beginHighlightBitmapCapture() : Boolean
-        {
-            var needUpdate:Boolean = super.beginHighlightBitmapCapture();
-            
-            // Draw an opaque rect that fill our entire skin. Our background
-            // is transparent, but we don't want focus/error skins to
-            // poke through.  This is safe to do since we don't have any 
-            // graphic elements as direct children.
-            graphics.beginFill(0);
-            graphics.drawRect(0, 0, width, height);
-            graphics.endFill();
-
-            return needUpdate;
-        }
-        
-        /**
-         *  @private
-         */
-        override public function endHighlightBitmapCapture() : Boolean
-        {
-            var needUpdate:Boolean = super.endHighlightBitmapCapture();
-            
-            // Clear the rect we drew in beginBitmapCapture();
-            graphics.clear();
-
-            return needUpdate;
-        }
-    ]]>
-    </fx:Script>
-    
-    <fx:Declarations>
-        <!---  A vertical scrollbar that lets you control the portion of data that is displayed 
-        when there is too much data to fit vertically in a display area.
-        The Scroller determines whether the vertical ScrollBar is visible. -->
-        <fx:Component id="verticalScrollBarFactory">
-            <s:VScrollBar visible="false" skinClass="flatSpark.skins.VScrollBarSkin" />
-        </fx:Component>
-        
-        <!---  A horizontal scrollbar that lets you control the portion of data that is displayed 
-        when there is too much data to fit horizontally in a display area.
-        The Scroller determines whether the horizontal ScrollBar is visible. -->
-        <fx:Component  id="horizontalScrollBarFactory">
-            <s:HScrollBar visible="false" skinClass="flatSpark.skins.HScrollBarSkin" />
-        </fx:Component> 
-
-    </fx:Declarations>
-
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml b/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
deleted file mode 100644
index 8578223..0000000
--- a/frameworks/projects/flatspark/src/skins/TextInputIconSkin.mxml
+++ /dev/null
@@ -1,338 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- The default skin class for Spark TextInput component.  
-
-     @see spark.components.TextInput
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
-    alpha.disabledStates="0.5" blendMode="normal">
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("flatSpark.components.TextInputIcon")]
-    ]]>
-    </fx:Metadata> 
-	
-	<fx:Style>
-		@namespace s "library://ns.adobe.com/flex/spark";
-		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
-		@namespace spark "spark.skins.spark.*";
-		
-		*
-		{
-			/*focusColor: #FFFFFF;
-			focusThickness: 1px;
-			focusAlpha: 1;*/
-			/*focusAlpha: 0;*/
-			errorColor: #E74C3C;
-		}
-	</fx:Style>
-    
-    <fx:Script fb:purpose="styling">
-        <![CDATA[
-			import mx.core.FlexVersion;
-			
-			import flatSpark.enums.ButtonSizeEnum;
-			import flatSpark.enums.TextInputSizeEnum;
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-        private var paddingChanged:Boolean;
-        
-        /* Define the skin elements that should not be colorized. */
-        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
-        
-        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
-        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
-        
-        /**
-         * @private
-         */
-        override public function get colorizeExclusions():Array 
-        {
-            // Since border is styleable via borderColor, no need to allow chromeColor to affect
-            // the border.  This is wrapped in a compatibility flag since this change was added  
-            // in Flex 4.5
-            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
-            {
-                return exclusions_4_0;
-            }
-            
-            return exclusions;
-        }
-        
-        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
-        static private const contentFill:Array = ["bgFill"];
-
-        /**
-         *  @private
-         */
-        override public function get contentItems():Array {return contentFill};
-        
-        /**
-         *  @private
-         */
-        override protected function commitProperties():void
-        {
-            super.commitProperties();
-            
-            if (paddingChanged)
-            {
-                updatePadding();
-                paddingChanged = false;
-            }
-        }
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-        
-        /**
-         *  @private
-         */
-        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {
-            if (getStyle("borderVisible") == true)
-            {
-                border.visible = true;
-                background.left = background.top = background.right = background.bottom = 2;
-                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
-				textDisplay.right = 30;
-                if (promptDisplay)
-                {
-                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
-                    promptDisplay.setLayoutBoundsPosition(5, 5);
-                }
-            }
-            else
-            {
-                border.visible = false;
-                background.left = background.top = background.right = background.bottom = 0;
-                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
-                if (promptDisplay)
-                {
-                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
-                    promptDisplay.setLayoutBoundsPosition(0, 0);
-                }
-            }
-            
-            /*borderStroke.color = getStyle("borderColor");
-            borderStroke.alpha = getStyle("borderAlpha");*/
-            
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-        }
-
-        /**
-         *  @private
-         */
-        private function updatePadding():void
-        {
-            if (!textDisplay)
-                return;
-            
-            // Push padding styles into the textDisplay
-            var padding:Number;
-            
-            padding = getStyle("paddingLeft");
-            if (textDisplay.getStyle("paddingLeft") != padding)
-                textDisplay.setStyle("paddingLeft", padding);
-            
-            padding = getStyle("paddingTop");
-            if (textDisplay.getStyle("paddingTop") != padding)
-                textDisplay.setStyle("paddingTop", padding);
-            
-            padding = getStyle("paddingRight");
-            if (textDisplay.getStyle("paddingRight") != padding)
-                textDisplay.setStyle("paddingRight", padding);
-            
-            padding = getStyle("paddingBottom");
-            if (textDisplay.getStyle("paddingBottom") != padding)
-                textDisplay.setStyle("paddingBottom", padding);
-            
-            if (!promptDisplay)
-                return;
-            
-            padding = getStyle("paddingLeft");
-            if (promptDisplay.getStyle("paddingLeft") != padding)
-                promptDisplay.setStyle("paddingLeft", padding);
-            
-            padding = getStyle("paddingTop");
-            if (promptDisplay.getStyle("paddingTop") != padding)
-                promptDisplay.setStyle("paddingTop", padding);
-            
-            padding = getStyle("paddingRight");
-            if (promptDisplay.getStyle("paddingRight") != padding)
-                promptDisplay.setStyle("paddingRight", padding);
-            
-            padding = getStyle("paddingBottom");
-            if (promptDisplay.getStyle("paddingBottom") != padding)
-                promptDisplay.setStyle("paddingBottom", padding);
-        }
-        
-        /**
-         *  @private
-         */
-        override public function styleChanged(styleProp:String):void
-        {
-            var allStyles:Boolean = !styleProp || styleProp == "styleName";
-
-            super.styleChanged(styleProp);
-            
-            if (allStyles || styleProp.indexOf("padding") == 0)
-            {
-                paddingChanged = true;
-                invalidateProperties();
-            }
-        }
-			
-			protected function textDisplay_focusInHandler(event:FocusEvent):void
-			{
-				borderStroke.color = ColorUtils.Asbestos;
-				iconFont.setStyle("color", ColorUtils.Asbestos);
-			}
-			
-			protected function textDisplay_focusOutHandler(event:FocusEvent):void
-			{
-				borderStroke.color = ColorUtils.Silver;
-				iconFont.setStyle("color", ColorUtils.Silver);
-			}
-			
-			private static function getFontSize(height:int):int
-			{
-				var altura:int = 15;
-				
-				switch (height)
-				{
-					case TextInputSizeEnum.Large:
-						altura = 17;
-						break;
-					case TextInputSizeEnum.Normal:
-						altura = 15;
-						break;
-					case TextInputSizeEnum.Small:
-						altura = 13;
-						break;
-				}
-				
-				return altura;
-			}
-			
-			private static function getIconSize(height:int):int
-			{
-				var altura:int = 17;
-				
-				switch (height)
-				{
-					case TextInputSizeEnum.Large:
-						altura = 19;
-						break;
-					case TextInputSizeEnum.Normal:
-						altura = 17;
-						break;
-					case TextInputSizeEnum.Small:
-						altura = 15;
-						break;
-				}
-				
-				return altura;
-			}
-			
-		]]>
-    </fx:Script>
-    
-    <fx:Script>
-        <![CDATA[
-        /** 
-         * @private 
-         */     
-        private static const focusExclusions:Array = ["textDisplay"];
-
-        /**
-         *  @private
-         */
-        override public function get focusSkinExclusions():Array { return focusExclusions;};
-        ]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="normal"/>
-        <s:State name="disabled" stateGroups="disabledStates"/>
-        <s:State name="normalWithPrompt"/>
-        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
-    </s:states>
-    
-    <!-- border --> 
-    <!--- @private -->
-    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
-        <s:stroke>     
-            <!--- @private -->
-            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
-        </s:stroke>
-    </s:Rect>
-
-    <!-- fill -->
-    <!--- Defines the appearance of the TextInput component's background. -->
-    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
-        <s:fill>
-            <!--- @private Defines the background fill color. -->
-            <s:SolidColor id="bgFill" color="0xFFFFFF" />
-        </s:fill>
-    </s:Rect>
-	
-	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
-		<s:fill>
-			<s:SolidColor color="0xf4f6f6"/>
-		</s:fill>
-	</s:Rect>
-    
-    <!-- text -->
-	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
-    <s:RichEditableText id="textDisplay"
-              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
-              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
-              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
-    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
-    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
-                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
-                mouseEnabled="false" mouseChildren="false"
-                includeIn="normalWithPrompt,disabledWithPrompt" 
-                includeInLayout="false"
-                />
-	<s:Label id="iconFont" color="{ColorUtils.Silver}" color.disabledStates="{ColorUtils.Silver}" text="{hostComponent.iconFont}"
-			 textAlign="right" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome" fontStyle="normal"
-			 maxDisplayedLines="1" mouseChildren="false" mouseEnabled="false"
-			 horizontalCenter="0" verticalCenter="0" verticalAlign="middle"
-			 left="8" right="8" top="2" bottom="2" includeInLayout="{iconFont != null}">
-	</s:Label>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml b/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
deleted file mode 100644
index 9c1facb..0000000
--- a/frameworks/projects/flatspark/src/skins/TextInputSkin.mxml
+++ /dev/null
@@ -1,330 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- The default skin class for Spark TextInput component.  
-
-     @see spark.components.TextInput
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" height="{TextInputSizeEnum.Normal}"
-    alpha.disabledStates="0.5" blendMode="normal">
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.TextInput")]
-    ]]>
-    </fx:Metadata> 
-	
-	<fx:Style>
-		@namespace s "library://ns.adobe.com/flex/spark";
-		@namespace fb "http://ns.adobe.com/flashbuilder/2009";
-		@namespace spark "spark.skins.spark.*";
-		
-		*
-		{
-			/*focusColor: #FFFFFF;
-			focusThickness: 1px;
-			focusAlpha: 1;*/
-			/*focusAlpha: 0;*/
-			errorColor: #E74C3C;
-		}
-	</fx:Style>
-    
-    <fx:Script fb:purpose="styling">
-        <![CDATA[
-			import mx.core.FlexVersion;
-			
-			import flatSpark.enums.ButtonSizeEnum;
-			import flatSpark.enums.TextInputSizeEnum;
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-        private var paddingChanged:Boolean;
-        
-        /* Define the skin elements that should not be colorized. */
-        static private const exclusions:Array = ["background", "background_disabled", "textDisplay", "promptDisplay", "border", "border_disabled"];
-        
-        /* exclusions before Flex 4.5 for backwards-compatibility purposes */
-        static private const exclusions_4_0:Array = ["background", "background_disabled", "textDisplay", "promptDisplay"];
-        
-        /**
-         * @private
-         */
-        override public function get colorizeExclusions():Array 
-        {
-            // Since border is styleable via borderColor, no need to allow chromeColor to affect
-            // the border.  This is wrapped in a compatibility flag since this change was added  
-            // in Flex 4.5
-            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
-            {
-                return exclusions_4_0;
-            }
-            
-            return exclusions;
-        }
-        
-        /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
-        static private const contentFill:Array = ["bgFill"];
-
-        /**
-         *  @private
-         */
-        override public function get contentItems():Array {return contentFill};
-        
-        /**
-         *  @private
-         */
-        override protected function commitProperties():void
-        {
-            super.commitProperties();
-            
-            if (paddingChanged)
-            {
-                updatePadding();
-                paddingChanged = false;
-            }
-        }
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-        
-        /**
-         *  @private
-         */
-        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {
-            if (getStyle("borderVisible") == true)
-            {
-                border.visible = true;
-                background.left = background.top = background.right = background.bottom = 2;
-                textDisplay.left = textDisplay.top = textDisplay.bottom = 8;
-				textDisplay.right = 30;
-                if (promptDisplay)
-                {
-                    promptDisplay.setLayoutBoundsSize(unscaledWidth - 8, unscaledHeight - 8);
-                    promptDisplay.setLayoutBoundsPosition(5, 5);
-                }
-            }
-            else
-            {
-                border.visible = false;
-                background.left = background.top = background.right = background.bottom = 0;
-                textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
-                if (promptDisplay)
-                {
-                    promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
-                    promptDisplay.setLayoutBoundsPosition(0, 0);
-                }
-            }
-            
-            /*borderStroke.color = getStyle("borderColor");
-            borderStroke.alpha = getStyle("borderAlpha");*/
-            
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-        }
-
-        /**
-         *  @private
-         */
-        private function updatePadding():void
-        {
-            if (!textDisplay)
-                return;
-            
-            // Push padding styles into the textDisplay
-            var padding:Number;
-            
-            padding = getStyle("paddingLeft");
-            if (textDisplay.getStyle("paddingLeft") != padding)
-                textDisplay.setStyle("paddingLeft", padding);
-            
-            padding = getStyle("paddingTop");
-            if (textDisplay.getStyle("paddingTop") != padding)
-                textDisplay.setStyle("paddingTop", padding);
-            
-            padding = getStyle("paddingRight");
-            if (textDisplay.getStyle("paddingRight") != padding)
-                textDisplay.setStyle("paddingRight", padding);
-            
-            padding = getStyle("paddingBottom");
-            if (textDisplay.getStyle("paddingBottom") != padding)
-                textDisplay.setStyle("paddingBottom", padding);
-            
-            if (!promptDisplay)
-                return;
-            
-            padding = getStyle("paddingLeft");
-            if (promptDisplay.getStyle("paddingLeft") != padding)
-                promptDisplay.setStyle("paddingLeft", padding);
-            
-            padding = getStyle("paddingTop");
-            if (promptDisplay.getStyle("paddingTop") != padding)
-                promptDisplay.setStyle("paddingTop", padding);
-            
-            padding = getStyle("paddingRight");
-            if (promptDisplay.getStyle("paddingRight") != padding)
-                promptDisplay.setStyle("paddingRight", padding);
-            
-            padding = getStyle("paddingBottom");
-            if (promptDisplay.getStyle("paddingBottom") != padding)
-                promptDisplay.setStyle("paddingBottom", padding);
-        }
-        
-        /**
-         *  @private
-         */
-        override public function styleChanged(styleProp:String):void
-        {
-            var allStyles:Boolean = !styleProp || styleProp == "styleName";
-
-            super.styleChanged(styleProp);
-            
-            if (allStyles || styleProp.indexOf("padding") == 0)
-            {
-                paddingChanged = true;
-                invalidateProperties();
-            }
-        }
-			
-			protected function textDisplay_focusInHandler(event:FocusEvent):void
-			{
-				borderStroke.color = ColorUtils.Asbestos;
-			}
-			
-			protected function textDisplay_focusOutHandler(event:FocusEvent):void
-			{
-				borderStroke.color = ColorUtils.Silver;
-			}
-			
-			private static function getFontSize(height:int):int
-			{
-				var altura:int = 15;
-				
-				switch (height)
-				{
-					case TextInputSizeEnum.Large:
-						altura = 17;
-						break;
-					case TextInputSizeEnum.Normal:
-						altura = 15;
-						break;
-					case TextInputSizeEnum.Small:
-						altura = 13;
-						break;
-				}
-				
-				return altura;
-			}
-			
-			private static function getIconSize(height:int):int
-			{
-				var altura:int = 17;
-				
-				switch (height)
-				{
-					case TextInputSizeEnum.Large:
-						altura = 19;
-						break;
-					case TextInputSizeEnum.Normal:
-						altura = 17;
-						break;
-					case TextInputSizeEnum.Small:
-						altura = 15;
-						break;
-				}
-				
-				return altura;
-			}
-			
-		]]>
-    </fx:Script>
-    
-    <fx:Script>
-        <![CDATA[
-        /** 
-         * @private 
-         */     
-        private static const focusExclusions:Array = ["textDisplay"];
-
-        /**
-         *  @private
-         */
-        override public function get focusSkinExclusions():Array { return focusExclusions;};
-        ]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="normal"/>
-        <s:State name="disabled" stateGroups="disabledStates"/>
-        <s:State name="normalWithPrompt"/>
-        <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
-    </s:states>
-    
-    <!-- border --> 
-    <!--- @private -->
-    <s:Rect left="0" right="0" top="0" bottom="0" id="border" radiusX="6">
-        <s:stroke>     
-            <!--- @private -->
-            <s:SolidColorStroke id="borderStroke" weight="2" color="{ColorUtils.Silver}"/>
-        </s:stroke>
-    </s:Rect>
-
-    <!-- fill -->
-    <!--- Defines the appearance of the TextInput component's background. -->
-    <s:Rect id="background" left="2" right="2" top="2" bottom="2" radiusX="6">
-        <s:fill>
-            <!--- @private Defines the background fill color. -->
-            <s:SolidColor id="bgFill" color="0xFFFFFF" />
-        </s:fill>
-    </s:Rect>
-	
-	<s:Rect id="background_disabled" left="2" right="2" top="2" bottom="2" radiusX="6" includeIn="disabledStates">
-		<s:fill>
-			<s:SolidColor color="0xf4f6f6"/>
-		</s:fill>
-	</s:Rect>
-    
-    <!-- text -->
-	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
-    <s:RichEditableText id="textDisplay"
-              verticalAlign="middle" focusIn="textDisplay_focusInHandler(event)" focusOut="textDisplay_focusOutHandler(event)"
-              widthInChars="10" fontFamily="Lato" fontWeight="normal" color="{ColorUtils.WetAsphalt}"
-              left="8" right="30" top="8" bottom="8" fontSize="{getFontSize(hostComponent.height)}"/>
-    <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
-    <s:Label id="promptDisplay" maxDisplayedLines="1" fontSize="{getFontSize(hostComponent.height)}"
-                verticalAlign="middle" fontFamily="Lato" fontWeight="normal" fontStyle="normal" color="{ColorUtils.Silver}"
-                mouseEnabled="false" mouseChildren="false"
-                includeIn="normalWithPrompt,disabledWithPrompt" 
-                includeInLayout="false"
-                />
-</s:SparkSkin>


[12/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Fix for https://issues.apache.org/jira/browse/FLEX-34610

Posted by bi...@apache.org.
Fix for https://issues.apache.org/jira/browse/FLEX-34610


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

Branch: refs/heads/iso7skins
Commit: 201d563779b2dc459509edcb486442319c48aab5
Parents: fe8077c
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Wed Oct 15 13:13:21 2014 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Wed Oct 15 13:13:21 2014 -0700

----------------------------------------------------------------------
 modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/201d5637/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
----------------------------------------------------------------------
diff --git a/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java b/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
index 208cec9..7dce29d 100644
--- a/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
+++ b/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
@@ -33,7 +33,7 @@ public class FlexSwcFileSet extends FlexFileSet
 		super(spec, dirs);
 	}
 
-	// Only accept directories, and *.swc files
+	// Only accept directories, *.swc and *.ane files
     protected void addFiles(File base, String[] files, Commandline cmdl)
     {
         FileUtils utils = FileUtils.getFileUtils();
@@ -43,7 +43,7 @@ public class FlexSwcFileSet extends FlexFileSet
             File f = utils.resolveFile(base, files[i]);
             String absolutePath = f.getAbsolutePath();
 
-            if( f.isFile() && !absolutePath.endsWith(".swc") )
+            if( f.isFile() && !absolutePath.endsWith(".swc") && !absolutePath.endsWith(".ane") )
             	continue;
 
             if (spec != null)


[18/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34543 Accepting patch from Marcus Wilkinson.

Posted by bi...@apache.org.
FLEX-34543 Accepting patch from Marcus Wilkinson.


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

Branch: refs/heads/iso7skins
Commit: f47b67f62419286eb2c116be11b229ae3ce1bdd6
Parents: 2fc9a8d
Author: Mihai Chira <mi...@apache.org>
Authored: Thu Oct 23 17:16:31 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Thu Oct 23 17:16:31 2014 +0100

----------------------------------------------------------------------
 .../spark/src/spark/components/gridClasses/DataGridEditor.as    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f47b67f6/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as b/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
index ef8863b..234c67a 100644
--- a/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
+++ b/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
@@ -931,7 +931,7 @@ public class DataGridEditor
         
         dataGridEvent.columnIndex = editedItemPosition.columnIndex;
         dataGridEvent.column = itemEditorInstance.column;
-        dataGridEvent.rowIndex = editedItemPosition.rowIndex;
+        dataGridEvent.rowIndex = dataGrid.dataProvider ? dataGrid.dataProvider.getItemIndex(itemEditorInstance.data) : -1;
         dataGrid.dispatchEvent(dataGridEvent);
     }
     
@@ -960,6 +960,7 @@ public class DataGridEditor
         inEndEdit = true;
         
         var itemPosition:Object = editedItemPosition;
+        var editedItem:Object = itemEditorInstance.data;
         if (!saveItemEditorSession())
         {
             // The save was cancelled so check if the editor can be cancelled.
@@ -977,7 +978,7 @@ public class DataGridEditor
         // GRID_ITEM_EDITOR_SESSION_SAVE events are NOT cancelable
         dataGridEvent.columnIndex = itemPosition.columnIndex;
         dataGridEvent.column = dataGrid.columns.getItemAt(itemPosition.columnIndex) as GridColumn;
-        dataGridEvent.rowIndex = itemPosition.rowIndex;
+        dataGridEvent.rowIndex = dataGrid.dataProvider ? dataGrid.dataProvider.getItemIndex(editedItem) : -1;
         dataGrid.dispatchEvent(dataGridEvent);
 
         inEndEdit = false;


[35/48] git commit: [flex-sdk] [refs/heads/iso7skins] - - Updated the flex-sdk to use the apache-flex blazeds 4.7 build from builds.apache.org

Posted by bi...@apache.org.
- Updated the flex-sdk to use the apache-flex blazeds 4.7 build from builds.apache.org


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

Branch: refs/heads/iso7skins
Commit: e4219d62b3d0376e1f38b6292b00835e6c6461fc
Parents: 6f971e3
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Nov 19 14:31:33 2014 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Nov 19 14:31:33 2014 +0100

----------------------------------------------------------------------
 frameworks/downloads.xml | 77 ++++++++++++++-----------------------------
 1 file changed, 25 insertions(+), 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e4219d62/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 1baff1b..11dafec 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -26,8 +26,9 @@
 	<property file="${FLEX_HOME}/local.properties"/>
 
 	<property name="download.dir" value="${FLEX_HOME}/in"/>
-	
-    <!-- See note in modules/download.xml about this property. --> 
+
+    <property name="lib.dir" value="${FLEX_HOME}/lib"/>
+    <!-- See note in modules/download.xml about this property. -->
     <property name="lib.opt.dir" value="${FLEX_HOME}/lib/external/optional"/>
 
     <property name="adobe.flex.dir" value="adobe_flex_sdk_4.6"/>
@@ -215,63 +216,28 @@
             </fileset>
         </delete>
     </target>
-    
-	<!--============================================================================= -->
-	<!--      Optional Jars.  Licenses are not compatible with Apache v2 license.     -->
-	<!--============================================================================= -->
-	
-	<!--
-        flex-messaging-common.jar - BlazeDS interface for -service compiler option
-        This does not get installed if build.noprompt is set.
+
+    <!--
+        flex-messaging-common.jar - BlazeDS interface for -service compiler option.
     -->
-    
-    <target name="blazeds-jar-check" unless="blazeds.donot.ask"
-        description="Checks if flex-messaging-common.jar is in optional lib directory.">
-        <available file="${lib.opt.dir}/flex-messaging-common.jar" property="blazeds.donot.ask"/>
-        <condition property="blazeds.donot.ask">
-            <isset property="build.noprompt"/>
-        </condition>
-    </target>
-    
-    <target name="blazeds-jar" depends="blazeds-jar-check,get-blazeds-jar" 
-        description="Downloads and copies flex-messaging-common.jar to the optional lib directory."/>
 
-    <!-- Prompt before downloading.  -->
-    <target name="ask-blazeds" unless="blazeds.donot.ask"
-        description="Prompt the user before downloading BlaseDS">
+    <target name="blazeds-jar" depends="get-blazeds-jar"
+            description="Downloads and copies flex-messaging-common.jar to the optional lib directory."/>
 
-        <property name="blazeds.prompt.text" 
-            value="Apache Flex can optionally integrate with Adobe BlazeDS.
-            ${line.separator}This feature requires flex-messaging-common.jar from the Adobe Flex SDK.
-            ${line.separator}The Adobe SDK license agreement for Adobe Flex 4.6 applies to this jar.
-            ${line.separator}This license is not compatible with the Apache v2 license.
-            ${adobe.flex.license}
-            ${line.separator}Do you want to install this jar from the Adobe Flex SDK?"/>
-        <input
-            message="${blazeds.prompt.text}"
-            validargs="y,n"
-            defaultvalue="n"
-            addproperty="input.blazeds.download"/>
-        <condition property="do.blazeds.install">
-            <equals arg1="y" arg2="${input.blazeds.download}"/>
-        </condition>
-        <!-- Only ask once per ant run.  -->
-        <property name="blazeds.donot.ask" value="set"/>
-    </target>
-        
-    <target name="get-blazeds-jar" depends="ask-blazeds" if="do.blazeds.install">
+    <target name="get-blazeds-jar">
+        <available file="${download.dir}/flex-messaging-common.jar" type="file"
+                   property="apache.flex.blazeds.exists"/>
 
-        <available file="${download.dir}/${adobe.flex.dir}" type="dir"
-            property="adobe.flex.sdk.exists"/>
-        
-        <antcall target="get-adobe-flex-sdk"/>
+        <antcall target="get-apache-flex-blazeds"/>
 
-        <copy file="${download.dir}/${adobe.flex.dir}/lib/flex-messaging-common.jar" 
-            todir="${lib.opt.dir}" verbose="true"/>
-        <copy file="${download.dir}/${adobe.flex.dir}/license-adobesdk.htm" 
-            tofile="${lib.opt.dir}/flex-messaging-common-LICENSE.htm" verbose="true"/>
+        <copy file="${download.dir}/flex-messaging-common.jar"
+              todir="${lib.dir}" verbose="true"/>
     </target>
 
+    <!--============================================================================= -->
+	<!--      Optional Jars.  Licenses are not compatible with Apache v2 license.     -->
+	<!--============================================================================= -->
+	
 	<!--
         Embedded Font Support
         This does not get installed if build.noprompt is set.
@@ -374,6 +340,13 @@
     <target name="clean-adobe-flex-sdk">
         <delete dir="${download.dir}/${adobe.flex.dir}"/>
     </target>
+
+    <target name="get-apache-flex-blazeds" unless="apache.flex.blazeds.exists"
+            description="Downloads the Apache Flex BlazeDS libraries">
+        <mkdir dir="${download.dir}"/>
+        <get src="https://builds.apache.org/view/E-G/view/Flex/job/flex-blazeds/lastSuccessfulBuild/artifact/modules/common/target/flex-messaging-common.jar"
+             dest="${download.dir}/flex-messaging-common.jar" />
+    </target>
     
     <target name="get_from_mirror">
         <condition property="usingmirror" value="true">


[37/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Prepared docs for upcoming release

Posted by bi...@apache.org.
Prepared docs for upcoming release

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 66ed636d43943b942f89fdd7c6ce736ea43610ba
Parents: 753a36c
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 14:45:24 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 14:45:34 2014 +0100

----------------------------------------------------------------------
 CONTRIBUTORS  |   5 ++-
 RELEASE_NOTES | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/66ed636d/CONTRIBUTORS
----------------------------------------------------------------------
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index ee4304d..f26c0d6 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -3,7 +3,10 @@ support to the Apache Flex SDK.
 
 Apache Flex SDK 4.14.0
 ----------------------
-Gareth Daniel Smith
+Aaron Nash, After24, Alex Harui, Curtis Aube, Darrell Loverin, Erik de Bruin,
+Frédéric Thomas, Gareth Daniel Smith, Justin Mclean, Lee Burrows, Mahmoud Ali,
+Marcus Wilkinson, Mark Kessler, Mihai Chira, Neil Madsen, OmPrakash Muppirala,
+Tom Chiverton
 
 Apache Flex SDK 4.13.0
 ----------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/66ed636d/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index c79379f..a39df77 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,3 +1,115 @@
+Apache Flex 4.14.0
+==================
+
+Apache Flex 4.14.0 is an update to Apache Flex 4.13.0
+
+Known Issues
+_____________
+
+Adobe Flash Builder Integration
+
+Adobe Flash Builder 4.7 and Adobe Flash Builder 4.6 both contain a bug where,
+when generating the .mxml file for a new project that uses Apache Flex SDK
+4.10.0 or later Spark Application, Flash Builder will incorrectly insert the
+attribute:
+
+    layout="absolute"
+
+This results in a compile error in the new project.  The remedy is to simply
+remove the errant attribute.
+
+The following wiki page has been set up to contain the latest news on Adobe's
+attempt to correct this problem:
+
+    https://cwiki.apache.org/confluence/display/FLEX/Adobe+Flash+Builder+'New+Project'+Bug
+
+Adobe has provided a patch for Flash Builder 4.7 that resolves this issue:
+
+    http://helpx.adobe.com/flash-builder/kb/flex-new-project-issue--.html
+
+Differences from Apache Flex 4.13.0 include:
+
+AIR and Flash Player support
+------------------------------
+ - Support Flash Player 15.0
+ - Support for AIR 15.0
+
+SDK Changes
+-------------
+- iOS 7 and Android 4.x Mobile theme support
+- new theme: FlatSpark
+- Spark RichTextEditor
+
+Bug Fixes
+----------
+Below is a complete list of all the bug fixes that have been included since the
+last full release, Apache Flex 4.13.0. If you would like specific information
+about any of the items below, go to
+
+    https://issues.apache.org
+
+and search for the JIRA Issue Number by using the Quick Search. Details of the
+bug and its fix will be included on the resulting page.
+
+JIRA Issue Number and Summary
+--------------------------------------------------------------------------------
+FLEX-34373  spark.components.Alert should set a focus to defaultButton
+FLEX-34557  Platform.isBrowser does not work correctly
+FLEX-34213  Flex mobile list performance
+FLEX-34531  mx.charts.series.HLOCSeries excluding a style being used in example
+FLEX-34476  Added RichTextEditor
+FLEX-34323  Allow the mustella tests directory to be located anywhere
+FLEX-34460  adt is missing in windows install
+FLEX-34633  HSlider track (Android4 skin) not being filled if thumb position set
+            programmatically
+FLEX-34457  in one case, text selection using the arrow keys doesn't work in
+            RichEditableText
+FLEX-34634  DataGroup fires RendererExistenceEvent with a null renderer when an
+            offscreen item is removed/replaced in the dataProvider
+FLEX-34636  Release build does not work as described in README on OS X
+FLEX-34543  Invalid event data when saving or cancelling grid item editor
+            session after data provider changes
+FLEX-28291  Linear Vector Layout on the ComboBox
+FLEX-34212  invalidIndex RTE in LinearLayoutVector when mouse scrolling List
+FLEX-34608  IOS 7 Hslider (Scrubber) skin
+FLEX-34611  Application crash when textFlow property set to null with
+            preserveSelection
+FLEX-34606  Redundant variable
+FLEX-34592  Can't use optionnal importer for TLF plainTextFormat and
+            TextLayoutFormat
+FLEX-34390  SkinnableTextBase bug (found in Flex 4.13.0 RC2)
+FLEX-34538  Spark Alert component does not add proper padding
+FLEX-34539  Callout skin assumes top level application is s:Application
+FLEX-34556  Starting an app in portrait on an iPad results in wrong DPI
+FLEX-34318  [Mavenizer] Refactor the Mavenizer in preparation of future
+            mavenized releases of flex
+FLEX-34458  HierarchicalCollectionViewCursor.current returns wrong item after
+            previous sibling is removed when current was "${L}"
+            (CursorBookmark.LAST)
+FLEX-34385  Document try..catch limitation
+FLEX-34119  mx.collections.HierarchicalCollectionViewCursor causes CursorError
+            RTE from ListCollectionView when the underlying collections change
+FLEX-32541  sortable ou sortableColumns = false still shows box of sorting and 
+            sortItemRenderer = null throws error
+FLEX-33732  Mobile theme support Android 4.x look and feel
+FLEX-34424  HierarchicalCollectionViewCursor.current returns null when previous 
+            sibling is removed
+FLEX-34456  HierarchicalCollectionViewCursors interfere with each other's 
+            operation
+FLEX-33054  Cursor Seek in HierarchicalCollectionViewCursor operates on wrong 
+            child level
+FLEX-34440  'Bookmark no longer valid' CursorError caused by 
+            HierarchicalCollectionView's conversion of 
+            CollectionEventKind.REPLACE into CollectionEventKind.REMOVE
+FLEX-34034  You can paste a newline code to a single-line TextInput.
+FLEX-34450  mx.validators.EmailValidator does not accept ".email" domain
+FLEX-34378  mx:DateValidator allows multiple separator chars
+
+Other fixes (no JIRA issue created):
+- correct case for osmf.swc so compiles on Linux work
+- Adding a mixin to set android os version during AIR simulation
+
+
 Apache Flex 4.13.0
 =================
 


[40/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Fixed FlatSpark theme font licensing issue (rat complained about missing license header ... )

Posted by bi...@apache.org.
Fixed FlatSpark theme font licensing issue (rat complained about missing license header ... )

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: ddb81e0b4833bb744c67132d84a7e639e364dba7
Parents: be471e4
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 18:48:10 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 18:48:10 2014 +0100

----------------------------------------------------------------------
 LICENSE                                         | 92 +++++++++++++++++++
 NOTICE                                          |  8 ++
 .../src/flatspark/assets/fonts/awesome/OFL.txt  | 94 --------------------
 .../src/flatspark/assets/fonts/lato/OFL.txt     | 94 --------------------
 4 files changed, 100 insertions(+), 188 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ddb81e0b/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index a661961..ebfab9e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -737,3 +737,95 @@ The Lato font is available under OFL. For details
 see frameworks/projects/flatspark/src/flatspark/assets/fonts/lato
 
 --------------------------------------------------------------------------------
+
+For all fonts in the FlatSpark theme, located in the
+frameworks/projects/flatspark/src/flatspark/assets/fonts directory:
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
+
+--------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ddb81e0b/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 5aa5688..315e6c4 100644
--- a/NOTICE
+++ b/NOTICE
@@ -26,3 +26,11 @@ software's documentation.
 The Open Source Media Framework used by the video components is licensed under
 the Mozilla Public License Version 1.1. The source code can be found here:
     http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip
+
+The "Font Awesome" and "Lato" fonts (Font Software) are licensed under the SIL
+Open Font License, Version 1.1.
+    Font Awesome: Copyright (c) 2014, Dave Gandy (http://fontawesome.io), with 
+        Reserved Font Name "Font Awesome".
+    Lato: Copyright (c) 2014, Łukasz Dziedzic 
+        (https://www.google.com/fonts/specimen/Lato), with Reserved Font Name 
+        "Lato".

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ddb81e0b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
deleted file mode 100644
index d68a2c8..0000000
--- a/frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome/OFL.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-Copyright (c) 2014, Dave Gandy (http://fontawesome.io),
-with Reserved Font Name "Font Awesome".
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-http://scripts.sil.org/OFL
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded, 
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ddb81e0b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt b/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
deleted file mode 100644
index 303088c..0000000
--- a/frameworks/projects/flatspark/src/flatspark/assets/fonts/lato/OFL.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-Copyright (c) 2014, Łukasz Dziedzic (https://www.google.com/fonts/specimen/Lato),
-with Reserved Font Name "Lato".
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-http://scripts.sil.org/OFL
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded, 
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.


[22/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)

Posted by bi...@apache.org.
Minor rewrite to avoid multiple catch blocks in one statement (JS no likey)

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: b9d15cf4a2979dbf6786165073317243fa063251
Parents: 39e5a90
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Oct 24 12:59:39 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri Oct 24 13:04:19 2014 +0200

----------------------------------------------------------------------
 .../framework/src/mx/binding/Binding.as         | 74 ++++++++++----------
 .../framework/src/mx/binding/Watcher.as         | 56 +++++++--------
 2 files changed, 63 insertions(+), 67 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b9d15cf4/frameworks/projects/framework/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Binding.as b/frameworks/projects/framework/src/mx/binding/Binding.as
index b2e0598..6122921 100644
--- a/frameworks/projects/framework/src/mx/binding/Binding.as
+++ b/frameworks/projects/framework/src/mx/binding/Binding.as
@@ -423,46 +423,44 @@ public class Binding
             wrappedFunctionSuccessful = true;
             return result;
         }
-        catch(itemPendingError:ItemPendingError)
-        {
-            itemPendingError.addResponder(new EvalBindingResponder(this, object));
-            if (BindingManager.debugDestinationStrings[destString])
-            {
-                trace("Binding: destString = " + destString + ", error = " + itemPendingError);
-            }
-        }
-        catch(rangeError:RangeError)
-        {
-            if (BindingManager.debugDestinationStrings[destString])
-            {
-                trace("Binding: destString = " + destString + ", error = " + rangeError);
-            }
-        }
         catch(error:Error)
         {
-            // Certain errors are normal when executing a srcFunc or destFunc,
-            // so we swallow them:
-            //   Error #1006: Call attempted on an object that is not a function.
-            //   Error #1009: null has no properties.
-            //   Error #1010: undefined has no properties.
-            //   Error #1055: - has no properties.
-            //   Error #1069: Property - not found on - and there is no default value
-            // We allow any other errors to be thrown.
-            if ((error.errorID != 1006) &&
-                (error.errorID != 1009) &&
-                (error.errorID != 1010) &&
-                (error.errorID != 1055) &&
-                (error.errorID != 1069))
-            {
-                throw error;
-            }
-            else
-            {
-                if (BindingManager.debugDestinationStrings[destString])
-                {
-                    trace("Binding: destString = " + destString + ", error = " + error);
-                }
-            }
+			if (error is ItemPendingError) {
+	            error.addResponder(new EvalBindingResponder(this, object));
+	            if (BindingManager.debugDestinationStrings[destString])
+	            {
+	                trace("Binding: destString = " + destString + ", error = " + error);
+	            }
+			} else if (error is RangeError) {
+	            if (BindingManager.debugDestinationStrings[destString])
+	            {
+	                trace("Binding: destString = " + destString + ", error = " + error);
+	            }
+			} else {
+	            // Certain errors are normal when executing a srcFunc or destFunc,
+	            // so we swallow them:
+	            //   Error #1006: Call attempted on an object that is not a function.
+	            //   Error #1009: null has no properties.
+	            //   Error #1010: undefined has no properties.
+	            //   Error #1055: - has no properties.
+	            //   Error #1069: Property - not found on - and there is no default value
+	            // We allow any other errors to be thrown.
+	            if ((error.errorID != 1006) &&
+	                (error.errorID != 1009) &&
+	                (error.errorID != 1010) &&
+	                (error.errorID != 1055) &&
+	                (error.errorID != 1069))
+	            {
+	                throw error;
+	            }
+	            else
+	            {
+	                if (BindingManager.debugDestinationStrings[destString])
+	                {
+	                    trace("Binding: destString = " + destString + ", error = " + error);
+	                }
+	            }
+			}
         }
 
         return null;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b9d15cf4/frameworks/projects/framework/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Watcher.as b/frameworks/projects/framework/src/mx/binding/Watcher.as
index ac35300..fef6ee3 100644
--- a/frameworks/projects/framework/src/mx/binding/Watcher.as
+++ b/frameworks/projects/framework/src/mx/binding/Watcher.as
@@ -199,37 +199,35 @@ public class Watcher
         {
             wrappedFunction.apply(this);
         }
-        catch(itemPendingError:ItemPendingError)
-        {
-            // The parent's value is not yet available.  This is being ignored for now -
-            // updateParent() will be called when the parent has a value.
-            value = null;
-        }
-        catch(rangeError:RangeError)
-        {
-            // The parent's value is not yet available.  This is being ignored for now -
-            // updateParent() will be called when the parent has a value.
-            value = null;
-        }
         catch(error:Error)
         {
-            // Certain errors are normal when executing an update, so we swallow them:
-            //   Error #1006: Call attempted on an object that is not a function.
-            //   Error #1009: null has no properties.
-            //   Error #1010: undefined has no properties.
-            //   Error #1055: - has no properties.
-            //   Error #1069: Property - not found on - and there is no default value
-            //   Error #1507: - invalid null argument.
-            // We allow any other errors to be thrown.
-            if ((error.errorID != 1006) &&
-                (error.errorID != 1009) &&
-                (error.errorID != 1010) &&
-                (error.errorID != 1055) &&
-                (error.errorID != 1069) &&
-                (error.errorID != 1507))
-            {
-                throw error;
-            }
+			if (error is ItemPendingError) {
+	            // The parent's value is not yet available.  This is being ignored for now -
+	            // updateParent() will be called when the parent has a value.
+	            value = null;
+			} else if (error is RangeError) {
+	            // The parent's value is not yet available.  This is being ignored for now -
+	            // updateParent() will be called when the parent has a value.
+	            value = null;
+			} else {
+	            // Certain errors are normal when executing an update, so we swallow them:
+	            //   Error #1006: Call attempted on an object that is not a function.
+	            //   Error #1009: null has no properties.
+	            //   Error #1010: undefined has no properties.
+	            //   Error #1055: - has no properties.
+	            //   Error #1069: Property - not found on - and there is no default value
+	            //   Error #1507: - invalid null argument.
+	            // We allow any other errors to be thrown.
+	            if ((error.errorID != 1006) &&
+	                (error.errorID != 1009) &&
+	                (error.errorID != 1010) &&
+	                (error.errorID != 1055) &&
+	                (error.errorID != 1069) &&
+	                (error.errorID != 1507))
+	            {
+	                throw error;
+	            }
+			}
         }
     }
 


[13/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added build scripts and font licenses for FlatSpark

Posted by bi...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
deleted file mode 100644
index 635b924..0000000
--- a/frameworks/projects/flatspark/src/skins/TitleWindowCloseButtonSkin.mxml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the close button of the Spark TitleWindow component.  
-
-@see spark.skins.spark.TitleWindowSkin     
-@see spark.components.TitleWindow
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5" initialize="initializeHandler(event)">
-	
-	<!-- host component -->
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	<fx:Script>
-		<![CDATA[
-			import mx.events.FlexEvent;
-			
-			import flatSpark.utils.AwesomeUtils;
-			import flatSpark.utils.ColorUtils;
-			
-			protected function initializeHandler(event:FlexEvent):void
-			{
-				// TODO Auto-generated method stub
-				hostComponent.useHandCursor=true;
-				hostComponent.buttonMode=true;
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<!--		<fx:Script fb:purpose="styling">
-	<![CDATA[
-	import flatSpark.utils.AwesomeUtils;
-	]]>
-	/* Define the skin elements that should not be colorized. 
-	For closeButton, the graphics are colorized but the x is not. */
-	static private const exclusions:Array = ["xSymbol"];
-	
-	/** 
-	* @private
-	*/     
-	override public function get colorizeExclusions():Array {return exclusions;}
-	
-	/* Define the symbol fill items that should be colored by the "symbolColor" style. */
-	static private const symbols:Array = ["xFill1", "xFill2"];
-	
-	/**
-	* @private
-	*/
-	override public function get symbolItems():Array {return symbols};
-	</fx:Script>-->
-	
-	<s:states>
-		<s:State name="up" />
-		<s:State name="over"/>
-		<s:State name="down" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="up">
-		<s:fill>
-			<s:SolidColor alpha="0" />
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="over">
-		<s:fill>
-			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="down">
-		<s:fill>
-			<s:SolidColor alpha="1" color="{ColorUtils.BelizeHole}" />
-		</s:fill>
-	</s:Rect>
-	
-	<s:Rect left="0" top="0" right="0" bottom="0" radiusX="6" width="26" height="26" includeIn="disabled">
-		<s:fill>
-			<s:SolidColor alpha="1" color="{ColorUtils.Clouds}" />
-		</s:fill>
-	</s:Rect>
-	
-	<s:Label fontFamily="FontAwesome" fontSize="18" color="#FFFFFF" text="{AwesomeUtils.fa_times}" includeIn="up, down, over, disabled"
-			 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" />
-	
-
-</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml b/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
deleted file mode 100644
index 5180756..0000000
--- a/frameworks/projects/flatspark/src/skins/TitleWindowSkin.mxml
+++ /dev/null
@@ -1,256 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for a Spark TitleWindow container.  
-
-     @see spark.skins.spark.TitleWindowCloseButtonSkin
-     @see spark.components.TitleWindow
-
-     @langversion 3.0
-     @playerversion Flash 10
-     @playerversion AIR 1.5
-     @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
-    minWidth="76" minHeight="76" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
-    
-    <fx:Metadata>
-        <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.TitleWindow")]
-        ]]>
-    </fx:Metadata> 
-    
-    <fx:Script fb:purpose="styling">
-        <![CDATA[
-			import mx.core.FlexVersion;
-			
-			import flatSpark.utils.ColorUtils;
-		
-		/* Define the skin elements that should not be colorized. 
-        For panel, border and title background are skinned, but the content area, background, border, and title text are not. */
-        static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "border"];
-		
-		/* exclusions before Flex 4.5 for backwards-compatibility purposes */
-		static private const exclusions_4_0:Array = ["background", "titleDisplay", "contentGroup"];
-		
-		/**
-		 * @private
-		 */
-		override public function get colorizeExclusions():Array 
-		{
-			// Since border is styleable via borderColor, no need to allow chromeColor to affect
-			// the border.  This is wrapped in a compatibility flag since this change was added  
-			// in Flex 4.5
-			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
-			{
-				return exclusions_4_0;
-			}
-			
-			return exclusions;
-		}
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-        
-        /**
-         * @private
-         */
-        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {
-			var withControls:Boolean = 
-				(currentState == "disabledWithControlBar" || 
-					currentState == "normalWithControlBar" ||
-					currentState == "inactiveWithControlBar");
-			
-			setPartCornerRadii(topMaskRect, withControls);  
-			setPartCornerRadii(background, withControls);
-			if (bottomMaskRect != null)
-			{
-				setPartCornerRadii(bottomMaskRect, withControls);
-			}
-			
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-        }
-        
-        /**
-         * @private
-         */  
-        private function setPartCornerRadii(target:Rect, includeBottom:Boolean):void
-        {            
-            target.topLeftRadiusX = cornerRadius;
-            target.topRightRadiusX = cornerRadius;
-            target.bottomLeftRadiusX = includeBottom ? cornerRadius : 0;
-            target.bottomRightRadiusX = includeBottom ? cornerRadius : 0;
-        }
-        
-        private var cornerRadius:Number=4;
-		]]>
-    </fx:Script>
-    
-    <s:states>
-        <s:State name="normal" />
-        <s:State name="inactive" stateGroups="inactiveGroup" />
-        <s:State name="disabled" />
-        <s:State name="normalWithControlBar" stateGroups="withControls" />
-        <s:State name="inactiveWithControlBar" stateGroups="withControls, inactiveGroup" />
-        <s:State name="disabledWithControlBar" stateGroups="withControls" />
-    </s:states>
-    
-    <!--- drop shadow can't be hittable so all other graphics go in this group -->
-    <s:Group left="0" right="0" top="0" bottom="0">
-        
-        <!--- top group mask @private-->
-        <s:Group left="1" top="1" right="1" bottom="1" id="topGroupMask">
-            <!--- @private-->
-            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
-                <s:fill>
-                    <s:SolidColor alpha="0"/>
-                </s:fill>
-            </s:Rect>
-        </s:Group>
-        
-        <!--- bottom group mask @private-->
-        <s:Group left="1" top="1" right="1" bottom="1" id="bottomGroupMask" 
-                 includeIn="withControls">
-            <!--- @private-->
-            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
-                <s:fill>
-                    <s:SolidColor alpha="0"/>
-                </s:fill>
-            </s:Rect>
-        </s:Group>
-        
-        
-        <!-- layer 2: background fill -->
-        <!--- Defines the appearance of the TitleWindowSkin class's background. -->
-        <s:Rect id="background" left="1" top="1" right="1" bottom="1">
-            <s:fill>
-                <!--- Defines the TitleWindowSkin class's background fill. The default color is 0xFFFFFF. -->
-                <s:SolidColor id="backgroundFill" color="{ColorUtils.Clouds}"/>
-            </s:fill>
-        </s:Rect>
-        
-        <!-- layer 3: contents -->
-        <!--- Contains the vertical stack of title bar content and control bar. -->
-        <s:Group left="1" right="1" top="1" bottom="1" id="contents">
-            <s:layout>
-                <s:VerticalLayout gap="0" horizontalAlign="justify" />
-            </s:layout>
-            <!--- @private -->
-            <s:Group id="topGroup" mask="{topGroupMask}" height="56">
-                
-                <!--- layer 0: title bar fill @private -->
-                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
-					</s:fill>
-                </s:Rect>
-                
-                <!--- layer 1: title bar highlight @private -->
-                <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.PeterRiver}"/>
-					</s:fill>
-                </s:Rect>
-                
-                <!--- layer 2: title bar divider @private -->
-                <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
-					<s:fill>
-						<s:SolidColor color="{ColorUtils.BelizeHole}"/>
-					</s:fill>
-					
-					<s:filters>
-						<s:DropShadowFilter distance="1" angle="90" color="{ColorUtils.Silver}"/>
-					</s:filters>
-                </s:Rect>
-                
-                <!-- layer 3: text -->
-                <!--- @copy spark.components.Panel#titleDisplay -->
-                <s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="21" fontStyle="normal" color="#FFFFFF"
-                         left="15" right="36" top="1" bottom="0" minHeight="56" height="56"
-                         verticalAlign="middle" fontWeight="bold" />
-                
-                <!-- layer 4: moveArea -->
-                <!--- @copy spark.components.TitleWindow#moveArea -->
-                <s:Group id="moveArea" left="0" right="0" top="0" bottom="0" />
-                
-                <!--- @copy spark.components.TitleWindow#closeButton -->
-                <s:Button id="closeButton" skinClass="flatSpark.skins.TitleWindowCloseButtonSkin" 
-                         right="15" top="15" />
-            </s:Group>
-            
-            <!--
-                Note: setting the minimum size to 0 here so that changes to the host component's
-                size will not be thwarted by this skin part's minimum size.   This is a compromise,
-                more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
-            -->
-            <!--- @copy spark.components.SkinnableContainer#contentGroup -->
-            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
-            </s:Group>
-            
-            <!--- @private -->
-            <s:Group id="bottomGroup" minWidth="0" minHeight="0" 
-                     includeIn="withControls">  
-                
-                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}" height="65">
-
-                    <!-- layer 0: control bar divider line -->
-                    <s:Rect left="0" right="0" top="0" height="1">
-                        <s:fill>
-                            <s:SolidColor color="{ColorUtils.Silver}" />
-                        </s:fill>
-                    </s:Rect>
-                    
-                    <!-- layer 1: control bar highlight -->
-                    <s:Rect left="0" right="0" top="1" bottom="0">
-						<s:fill>
-							<s:SolidColor color="0xFFFFFF" />
-						</s:fill>
-                    </s:Rect>
-                    
-                    <!-- layer 2: control bar fill -->
-                    <s:Rect left="1" right="1" top="2" bottom="1">
-						<s:fill>
-							<s:SolidColor color="0xFFFFFF" />
-						</s:fill>
-                    </s:Rect>
-                </s:Group>
-                
-                <!--- @copy spark.components.Panel#controlBarGroup -->
-                <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
-                    <s:layout>
-                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
-                    </s:layout>
-                </s:Group>
-            </s:Group>
-        </s:Group>
-    </s:Group>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
deleted file mode 100644
index 82e8d14..0000000
--- a/frameworks/projects/flatspark/src/skins/VScrollBarSkin.mxml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the Spark VScrollBar component. The thumb and track skins are defined by the
-VScrollBarThumbSkin and VScrollBarTrackSkin classes, respectively.  
-
-       @see spark.components.VScrollBar
-       @see spark.skins.spark.VScrollBarThumbSkin
-       @see spark.skins.spark.VScrollBarTrackSkin
-        
-      @langversion 3.0
-      @playerversion Flash 10
-      @playerversion AIR 1.5
-      @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="8" minHeight="35" 
-    alpha.disabled="0.5" alpha.inactive="0.5" >
-
-    <fx:Metadata>
-    <![CDATA[ 
-        /** 
-         * @copy spark.skins.spark.ApplicationSkin#hostComponent
-         */
-        [HostComponent("spark.components.VScrollBar")]
-    ]]>
-    </fx:Metadata> 
-    
-    <fx:Script fb:purpose="styling">
-        /* Define the skin elements that should not be colorized. 
-           For scroll bar, the skin itself is colorized but the individual parts are not. */
-        static private const exclusions:Array = ["track", "thumb"];
-
-        /**
-         * @private
-         */
-        override public function get colorizeExclusions():Array {return exclusions;}
-        
-        /**
-         * @private
-         */
-        override protected function initializationComplete():void
-        {
-            useChromeColor = true;
-            super.initializationComplete();
-        }
-    </fx:Script>
-     
-    <s:states>
-        <s:State name="normal" />
-        <s:State name="disabled" />
-        <s:State name="inactive" />
-    </s:states>
-   
-    <!---  The default skin class is VScrollBarTrackSkin.  
-            @copy spark.components.supportClasses.TrackBase#track 
-            @see spark.skins.spark.VScrollBarTrackSkin -->
-    <s:Button id="track" top="0" bottom="0" height="54"
-              focusEnabled="false" tabEnabled="false"
-              skinClass="flatSpark.skins.VScrollBarTrackSkin" />
-    
-    <!--- The default skin class is VScrollBarThumbSkin.
-            @copy spark.components.supportClasses.TrackBase#thumb 
-            @see spark.skins.spark.VScrollBarThumbSkin -->
-    <s:Button id="thumb" 
-              focusEnabled="false" visible.inactive="false" tabEnabled="false"
-              skinClass="flatSpark.skins.VScrollBarThumbSkin" />
-
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
deleted file mode 100644
index 24fc159..0000000
--- a/frameworks/projects/flatspark/src/skins/VScrollBarThumbSkin.mxml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the thumb of a Spark VScrollBar component.  
-
-@see spark.components.VScrollBar
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="up" />
-		<s:State name="over" />
-		<s:State name="down" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- background -->
-	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
-		<s:stroke>
-			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
-		</s:stroke>
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.Silver}" />
-		</s:fill>
-	</s:Rect>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
deleted file mode 100644
index 1f1fc08..0000000
--- a/frameworks/projects/flatspark/src/skins/VScrollBarTrackSkin.mxml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-
-<!--- The default skin class for the track of a Spark VScrollBar component.  
-
-@see spark.components.VScrollBar
-
-@langversion 3.0
-@playerversion Flash 10
-@playerversion AIR 1.5
-@productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
-			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
-	
-	<fx:Metadata>
-		<![CDATA[ 
-		/** 
-		* @copy spark.skins.spark.ApplicationSkin#hostComponent
-		*/
-		[HostComponent("spark.components.Button")]
-		]]>
-	</fx:Metadata> 
-	
-	<fx:Script fb:purpose="styling">
-		<![CDATA[
-			import flatSpark.utils.ColorUtils;
-			
-			/**
-			 * @private
-			 */
-			override protected function initializationComplete():void
-			{
-				useChromeColor = true;
-				super.initializationComplete();
-			}
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="up" />
-		<s:State name="down" />
-		<s:State name="over" />
-		<s:State name="disabled" />
-	</s:states>
-	
-	<!-- border/fill -->
-	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
-		<s:fill>
-			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
-		</s:fill>
-	</s:Rect>
-</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/AwesomeUtils.as b/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
deleted file mode 100644
index 717e5c1..0000000
--- a/frameworks/projects/flatspark/src/utils/AwesomeUtils.as
+++ /dev/null
@@ -1,399 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.utils
-{
-	public class AwesomeUtils
-	{
-		
-		public function AwesomeUtils() 
-		{
-			
-		}
-		
-		public static const fa_glass:String = "\uf000";
-		public static const fa_music:String = "\uf001";
-		public static const fa_search:String = "\uf002";
-		public static const fa_envelope_o:String = "\uf003";
-		public static const fa_heart:String = "\uf004";
-		public static const fa_star:String = "\uf005";
-		public static const fa_star_o:String = "\uf006";
-		public static const fa_user:String = "\uf007";
-		public static const fa_film:String = "\uf008";
-		public static const fa_th_large:String = "\uf009";
-		public static const fa_th:String = "\uf00a";
-		public static const fa_th_list:String = "\uf00b";
-		public static const fa_check:String = "\uf00c";
-		public static const fa_times:String = "\uf00d";
-		public static const fa_search_plus:String = "\uf00e";
-		public static const fa_search_minus:String = "\uf010";
-		public static const fa_power_off:String = "\uf011";
-		public static const fa_signal:String = "\uf012";
-		public static const fa_cog:String = "\uf013";
-		public static const fa_trash_o:String = "\uf014";
-		public static const fa_home:String = "\uf015";
-		public static const fa_file_o:String = "\uf016";
-		public static const fa_clock_o:String = "\uf017";
-		public static const fa_road:String = "\uf018";
-		public static const fa_download:String = "\uf019";
-		public static const fa_arrow_circle_o_down:String = "\uf01a";
-		public static const fa_arrow_circle_o_up:String = "\uf01b";
-		public static const fa_inbox:String = "\uf01c";
-		public static const fa_play_circle_o:String = "\uf01d";
-		public static const fa_repeat:String = "\uf01e";
-		public static const fa_refresh:String = "\uf021";
-		public static const fa_list_alt:String = "\uf022";
-		public static const fa_lock:String = "\uf023";
-		public static const fa_flag:String = "\uf024";
-		public static const fa_headphones:String = "\uf025";
-		public static const fa_volume_off:String = "\uf026";
-		public static const fa_volume_down:String = "\uf027";
-		public static const fa_volume_up:String = "\uf028";
-		public static const fa_qrcode:String = "\uf029";
-		public static const fa_barcode:String = "\uf02a";
-		public static const fa_tag:String = "\uf02b";
-		public static const fa_tags:String = "\uf02c";
-		public static const fa_book:String = "\uf02d";
-		public static const fa_bookmark:String = "\uf02e";
-		public static const fa_print:String = "\uf02f";
-		public static const fa_camera:String = "\uf030";
-		public static const fa_font:String = "\uf031";
-		public static const fa_bold:String = "\uf032";
-		public static const fa_italic:String = "\uf033";
-		public static const fa_text_height:String = "\uf034";
-		public static const fa_text_width:String = "\uf035";
-		public static const fa_align_left:String = "\uf036";
-		public static const fa_align_center:String = "\uf037";
-		public static const fa_align_right:String = "\uf038";
-		public static const fa_align_justify:String = "\uf039";
-		public static const fa_list:String = "\uf03a";
-		public static const fa_outdent:String = "\uf03b";
-		public static const fa_indent:String = "\uf03c";
-		public static const fa_video_camera:String = "\uf03d";
-		public static const fa_picture_o:String = "\uf03e";
-		public static const fa_pencil:String = "\uf040";
-		public static const fa_map_marker:String = "\uf041";
-		public static const fa_adjust:String = "\uf042";
-		public static const fa_tint:String = "\uf043";
-		public static const fa_pencil_square_o:String = "\uf044";
-		public static const fa_share_square_o:String = "\uf045";
-		public static const fa_check_square_o:String = "\uf046";
-		public static const fa_arrows:String = "\uf047";
-		public static const fa_step_backward:String = "\uf048";
-		public static const fa_fast_backward:String = "\uf049";
-		public static const fa_backward:String = "\uf04a";
-		public static const fa_play:String = "\uf04b";
-		public static const fa_pause:String = "\uf04c";
-		public static const fa_stop:String = "\uf04d";
-		public static const fa_forward:String = "\uf04e";
-		public static const fa_fast_forward:String = "\uf050";
-		public static const fa_step_forward:String = "\uf051";
-		public static const fa_eject:String = "\uf052";
-		public static const fa_chevron_left:String = "\uf053";
-		public static const fa_chevron_right:String = "\uf054";
-		public static const fa_plus_circle:String = "\uf055";
-		public static const fa_minus_circle:String = "\uf056";
-		public static const fa_times_circle:String = "\uf057";
-		public static const fa_check_circle:String = "\uf058";
-		public static const fa_question_circle:String = "\uf059";
-		public static const fa_info_circle:String = "\uf05a";
-		public static const fa_crosshairs:String = "\uf05b";
-		public static const fa_times_circle_o:String = "\uf05c";
-		public static const fa_check_circle_o:String = "\uf05d";
-		public static const fa_ban:String = "\uf05e";
-		public static const fa_arrow_left:String = "\uf060";
-		public static const fa_arrow_right:String = "\uf061";
-		public static const fa_arrow_up:String = "\uf062";
-		public static const fa_arrow_down:String = "\uf063";
-		public static const fa_share:String = "\uf064";
-		public static const fa_expand:String = "\uf065";
-		public static const fa_compress:String = "\uf066";
-		public static const fa_plus:String = "\uf067";
-		public static const fa_minus:String = "\uf068";
-		public static const fa_asterisk:String = "\uf069";
-		public static const fa_exclamation_circle:String = "\uf06a";
-		public static const fa_gift:String = "\uf06b";
-		public static const fa_leaf:String = "\uf06c";
-		public static const fa_fire:String = "\uf06d";
-		public static const fa_eye:String = "\uf06e";
-		public static const fa_eye_slash:String = "\uf070";
-		public static const fa_exclamation_triangle:String = "\uf071";
-		public static const fa_plane:String = "\uf072";
-		public static const fa_calendar:String = "\uf073";
-		public static const fa_random:String = "\uf074";
-		public static const fa_comment:String = "\uf075";
-		public static const fa_magnet:String = "\uf076";
-		public static const fa_chevron_up:String = "\uf077";
-		public static const fa_chevron_down:String = "\uf078";
-		public static const fa_retweet:String = "\uf079";
-		public static const fa_shopping_cart:String = "\uf07a";
-		public static const fa_folder:String = "\uf07b";
-		public static const fa_folder_open:String = "\uf07c";
-		public static const fa_arrows_v:String = "\uf07d";
-		public static const fa_arrows_h:String = "\uf07e";
-		public static const fa_bar_chart_o:String = "\uf080";
-		public static const fa_twitter_square:String = "\uf081";
-		public static const fa_facebook_square:String = "\uf082";
-		public static const fa_camera_retro:String = "\uf083";
-		public static const fa_key:String = "\uf084";
-		public static const fa_cogs:String = "\uf085";
-		public static const fa_comments:String = "\uf086";
-		public static const fa_thumbs_o_up:String = "\uf087";
-		public static const fa_thumbs_o_down:String = "\uf088";
-		public static const fa_star_half:String = "\uf089";
-		public static const fa_heart_o:String = "\uf08a";
-		public static const fa_sign_out:String = "\uf08b";
-		public static const fa_linkedin_square:String = "\uf08c";
-		public static const fa_thumb_tack:String = "\uf08d";
-		public static const fa_external_link:String = "\uf08e";
-		public static const fa_sign_in:String = "\uf090";
-		public static const fa_trophy:String = "\uf091";
-		public static const fa_github_square:String = "\uf092";
-		public static const fa_upload:String = "\uf093";
-		public static const fa_lemon_o:String = "\uf094";
-		public static const fa_phone:String = "\uf095";
-		public static const fa_square_o:String = "\uf096";
-		public static const fa_bookmark_o:String = "\uf097";
-		public static const fa_phone_square:String = "\uf098";
-		public static const fa_twitter:String = "\uf099";
-		public static const fa_facebook:String = "\uf09a";
-		public static const fa_github:String = "\uf09b";
-		public static const fa_unlock:String = "\uf09c";
-		public static const fa_credit_card:String = "\uf09d";
-		public static const fa_rss:String = "\uf09e";
-		public static const fa_hdd_o:String = "\uf0a0";
-		public static const fa_bullhorn:String = "\uf0a1";
-		public static const fa_bell:String = "\uf0f3";
-		public static const fa_certificate:String = "\uf0a3";
-		public static const fa_hand_o_right:String = "\uf0a4";
-		public static const fa_hand_o_left:String = "\uf0a5";
-		public static const fa_hand_o_up:String = "\uf0a6";
-		public static const fa_hand_o_down:String = "\uf0a7";
-		public static const fa_arrow_circle_left:String = "\uf0a8";
-		public static const fa_arrow_circle_right:String = "\uf0a9";
-		public static const fa_arrow_circle_up:String = "\uf0aa";
-		public static const fa_arrow_circle_down:String = "\uf0ab";
-		public static const fa_globe:String = "\uf0ac";
-		public static const fa_wrench:String = "\uf0ad";
-		public static const fa_tasks:String = "\uf0ae";
-		public static const fa_filter:String = "\uf0b0";
-		public static const fa_briefcase:String = "\uf0b1";
-		public static const fa_arrows_alt:String = "\uf0b2";
-		public static const fa_users:String = "\uf0c0";
-		public static const fa_link:String = "\uf0c1";
-		public static const fa_cloud:String = "\uf0c2";
-		public static const fa_flask:String = "\uf0c3";
-		public static const fa_scissors:String = "\uf0c4";
-		public static const fa_files_o:String = "\uf0c5";
-		public static const fa_paperclip:String = "\uf0c6";
-		public static const fa_floppy_o:String = "\uf0c7";
-		public static const fa_square:String = "\uf0c8";
-		public static const fa_bars:String = "\uf0c9";
-		public static const fa_list_ul:String = "\uf0ca";
-		public static const fa_list_ol:String = "\uf0cb";
-		public static const fa_strikethrough:String = "\uf0cc";
-		public static const fa_underline:String = "\uf0cd";
-		public static const fa_table:String = "\uf0ce";
-		public static const fa_magic:String = "\uf0d0";
-		public static const fa_truck:String = "\uf0d1";
-		public static const fa_pinterest:String = "\uf0d2";
-		public static const fa_pinterest_square:String = "\uf0d3";
-		public static const fa_google_plus_square:String = "\uf0d4";
-		public static const fa_google_plus:String = "\uf0d5";
-		public static const fa_money:String = "\uf0d6";
-		public static const fa_caret_down:String = "\uf0d7";
-		public static const fa_caret_up:String = "\uf0d8";
-		public static const fa_caret_left:String = "\uf0d9";
-		public static const fa_caret_right:String = "\uf0da";
-		public static const fa_columns:String = "\uf0db";
-		public static const fa_sort:String = "\uf0dc";
-		public static const fa_sort_asc:String = "\uf0dd";
-		public static const fa_sort_desc:String = "\uf0de";
-		public static const fa_envelope:String = "\uf0e0";
-		public static const fa_linkedin:String = "\uf0e1";
-		public static const fa_undo:String = "\uf0e2";
-		public static const fa_gavel:String = "\uf0e3";
-		public static const fa_tachometer:String = "\uf0e4";
-		public static const fa_comment_o:String = "\uf0e5";
-		public static const fa_comments_o:String = "\uf0e6";
-		public static const fa_bolt:String = "\uf0e7";
-		public static const fa_sitemap:String = "\uf0e8";
-		public static const fa_umbrella:String = "\uf0e9";
-		public static const fa_clipboard:String = "\uf0ea";
-		public static const fa_lightbulb_o:String = "\uf0eb";
-		public static const fa_exchange:String = "\uf0ec";
-		public static const fa_cloud_download:String = "\uf0ed";
-		public static const fa_cloud_upload:String = "\uf0ee";
-		public static const fa_user_md:String = "\uf0f0";
-		public static const fa_stethoscope:String = "\uf0f1";
-		public static const fa_suitcase:String = "\uf0f2";
-		public static const fa_bell_o:String = "\uf0a2";
-		public static const fa_coffee:String = "\uf0f4";
-		public static const fa_cutlery:String = "\uf0f5";
-		public static const fa_file_text_o:String = "\uf0f6";
-		public static const fa_building_o:String = "\uf0f7";
-		public static const fa_hospital_o:String = "\uf0f8";
-		public static const fa_ambulance:String = "\uf0f9";
-		public static const fa_medkit:String = "\uf0fa";
-		public static const fa_fighter_jet:String = "\uf0fb";
-		public static const fa_beer:String = "\uf0fc";
-		public static const fa_h_square:String = "\uf0fd";
-		public static const fa_plus_square:String = "\uf0fe";
-		public static const fa_angle_double_left:String = "\uf100";
-		public static const fa_angle_double_right:String = "\uf101";
-		public static const fa_angle_double_up:String = "\uf102";
-		public static const fa_angle_double_down:String = "\uf103";
-		public static const fa_angle_left:String = "\uf104";
-		public static const fa_angle_right:String = "\uf105";
-		public static const fa_angle_up:String = "\uf106";
-		public static const fa_angle_down:String = "\uf107";
-		public static const fa_desktop:String = "\uf108";
-		public static const fa_laptop:String = "\uf109";
-		public static const fa_tablet:String = "\uf10a";
-		public static const fa_mobile:String = "\uf10b";
-		public static const fa_circle_o:String = "\uf10c";
-		public static const fa_quote_left:String = "\uf10d";
-		public static const fa_quote_right:String = "\uf10e";
-		public static const fa_spinner:String = "\uf110";
-		public static const fa_circle:String = "\uf111";
-		public static const fa_reply:String = "\uf112";
-		public static const fa_github_alt:String = "\uf113";
-		public static const fa_folder_o:String = "\uf114";
-		public static const fa_folder_open_o:String = "\uf115";
-		public static const fa_smile_o:String = "\uf118";
-		public static const fa_frown_o:String = "\uf119";
-		public static const fa_meh_o:String = "\uf11a";
-		public static const fa_gamepad:String = "\uf11b";
-		public static const fa_keyboard_o:String = "\uf11c";
-		public static const fa_flag_o:String = "\uf11d";
-		public static const fa_flag_checkered:String = "\uf11e";
-		public static const fa_terminal:String = "\uf120";
-		public static const fa_code:String = "\uf121";
-		public static const fa_reply_all:String = "\uf122";
-		public static const fa_mail_reply_all:String = "\uf122";
-		public static const fa_star_half_o:String = "\uf123";
-		public static const fa_location_arrow:String = "\uf124";
-		public static const fa_crop:String = "\uf125";
-		public static const fa_code_fork:String = "\uf126";
-		public static const fa_chain_broken:String = "\uf127";
-		public static const fa_question:String = "\uf128";
-		public static const fa_info:String = "\uf129";
-		public static const fa_exclamation:String = "\uf12a";
-		public static const fa_superscript:String = "\uf12b";
-		public static const fa_subscript:String = "\uf12c";
-		public static const fa_eraser:String = "\uf12d";
-		public static const fa_puzzle_piece:String = "\uf12e";
-		public static const fa_microphone:String = "\uf130";
-		public static const fa_microphone_slash:String = "\uf131";
-		public static const fa_shield:String = "\uf132";
-		public static const fa_calendar_o:String = "\uf133";
-		public static const fa_fire_extinguisher:String = "\uf134";
-		public static const fa_rocket:String = "\uf135";
-		public static const fa_maxcdn:String = "\uf136";
-		public static const fa_chevron_circle_left:String = "\uf137";
-		public static const fa_chevron_circle_right:String = "\uf138";
-		public static const fa_chevron_circle_up:String = "\uf139";
-		public static const fa_chevron_circle_down:String = "\uf13a";
-		public static const fa_html5:String = "\uf13b";
-		public static const fa_css3:String = "\uf13c";
-		public static const fa_anchor:String = "\uf13d";
-		public static const fa_unlock_alt:String = "\uf13e";
-		public static const fa_bullseye:String = "\uf140";
-		public static const fa_ellipsis_h:String = "\uf141";
-		public static const fa_ellipsis_v:String = "\uf142";
-		public static const fa_rss_square:String = "\uf143";
-		public static const fa_play_circle:String = "\uf144";
-		public static const fa_ticket:String = "\uf145";
-		public static const fa_minus_square:String = "\uf146";
-		public static const fa_minus_square_o:String = "\uf147";
-		public static const fa_level_up:String = "\uf148";
-		public static const fa_level_down:String = "\uf149";
-		public static const fa_check_square:String = "\uf14a";
-		public static const fa_pencil_square:String = "\uf14b";
-		public static const fa_external_link_square:String = "\uf14c";
-		public static const fa_share_square:String = "\uf14d";
-		public static const fa_compass:String = "\uf14e";
-		public static const fa_caret_square_o_down:String = "\uf150";
-		public static const fa_caret_square_o_up:String = "\uf151";
-		public static const fa_caret_square_o_right:String = "\uf152";
-		public static const fa_eur:String = "\uf153";
-		public static const fa_gbp:String = "\uf154";
-		public static const fa_usd:String = "\uf155";
-		public static const fa_inr:String = "\uf156";
-		public static const fa_jpy:String = "\uf157";
-		public static const fa_rub:String = "\uf158";
-		public static const fa_krw:String = "\uf159";
-		public static const fa_btc:String = "\uf15a";
-		public static const fa_file:String = "\uf15b";
-		public static const fa_file_text:String = "\uf15c";
-		public static const fa_sort_alpha_asc:String = "\uf15d";
-		public static const fa_sort_alpha_desc:String = "\uf15e";
-		public static const fa_sort_amount_asc:String = "\uf160";
-		public static const fa_sort_amount_desc:String = "\uf161";
-		public static const fa_sort_numeric_asc:String = "\uf162";
-		public static const fa_sort_numeric_desc:String = "\uf163";
-		public static const fa_thumbs_up:String = "\uf164";
-		public static const fa_thumbs_down:String = "\uf165";
-		public static const fa_youtube_square:String = "\uf166";
-		public static const fa_youtube:String = "\uf167";
-		public static const fa_xing:String = "\uf168";
-		public static const fa_xing_square:String = "\uf169";
-		public static const fa_youtube_play:String = "\uf16a";
-		public static const fa_dropbox:String = "\uf16b";
-		public static const fa_stack_overflow:String = "\uf16c";
-		public static const fa_instagram:String = "\uf16d";
-		public static const fa_flickr:String = "\uf16e";
-		public static const fa_adn:String = "\uf170";
-		public static const fa_bitbucket:String = "\uf171";
-		public static const fa_bitbucket_square:String = "\uf172";
-		public static const fa_tumblr:String = "\uf173";
-		public static const fa_tumblr_square:String = "\uf174";
-		public static const fa_long_arrow_down:String = "\uf175";
-		public static const fa_long_arrow_up:String = "\uf176";
-		public static const fa_long_arrow_left:String = "\uf177";
-		public static const fa_long_arrow_right:String = "\uf178";
-		public static const fa_apple:String = "\uf179";
-		public static const fa_windows:String = "\uf17a";
-		public static const fa_android:String = "\uf17b";
-		public static const fa_linux:String = "\uf17c";
-		public static const fa_dribbble:String = "\uf17d";
-		public static const fa_skype:String = "\uf17e";
-		public static const fa_foursquare:String = "\uf180";
-		public static const fa_trello:String = "\uf181";
-		public static const fa_female:String = "\uf182";
-		public static const fa_male:String = "\uf183";
-		public static const fa_gittip:String = "\uf184";
-		public static const fa_sun_o:String = "\uf185";
-		public static const fa_moon_o:String = "\uf186";
-		public static const fa_archive:String = "\uf187";
-		public static const fa_bug:String = "\uf188";
-		public static const fa_vk:String = "\uf189";
-		public static const fa_weibo:String = "\uf18a";
-		public static const fa_renren:String = "\uf18b";
-		public static const fa_pagelines:String = "\uf18c";
-		public static const fa_stack_exchange:String = "\uf18d";
-		public static const fa_arrow_circle_o_right:String = "\uf18e";
-		public static const fa_arrow_circle_o_left:String = "\uf190";
-		public static const fa_caret_square_o_left:String = "\uf191";
-		public static const fa_dot_circle_o:String = "\uf192";
-		public static const fa_wheelchair:String = "\uf193";
-		public static const fa_vimeo_square:String = "\uf194";
-		public static const fa_try:String = "\uf195";
-		public static const fa_plus_square_o:String = "\uf196";
-
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/utils/ColorUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/ColorUtils.as b/frameworks/projects/flatspark/src/utils/ColorUtils.as
deleted file mode 100644
index d8a3adb..0000000
--- a/frameworks/projects/flatspark/src/utils/ColorUtils.as
+++ /dev/null
@@ -1,90 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.utils
-{
-	import mx.states.State;
-	
-	import flatSpark.enums.BrandColorEnum;
-	import flatSpark.enums.ButtonColorEnum;
-
-	public class ColorUtils
-	{	
-		public static const Turquoise:uint = 0x1ABC9C;
-		public static const GreenSea:uint = 0x16A085;
-		public static const Emerald:uint = 0x2ECC71;
-		public static const Nephritis:uint = 0x27AE60;
-		public static const PeterRiver:uint = 0x3498DB;
-		public static const BelizeHole:uint = 0x2980B9;
-		public static const Amethyst:uint = 0x9B59B6;
-		public static const Wisteria:uint = 0x8E44AD;
-		public static const WetAsphalt:uint = 0x34495E;
-		public static const MidnightBlue:uint = 0x2C3E50;
-		public static const SunFlower:uint = 0xF1C40F;
-		public static const Orange:uint = 0xF39C12;
-		public static const Carrot:uint = 0xE67E22;
-		public static const Pumpkin:uint = 0xD35400;
-		public static const Alizarin:uint = 0xE74C3C;
-		public static const Pomegranate:uint = 0xC0392B;
-		public static const Clouds:uint = 0xECF0F1;
-		public static const Silver:uint = 0xBDC3C7;
-		public static const Concrete:uint = 0x95A5A6;
-		public static const Asbestos:uint = 0x7F8C8D;
-		
-		public function ColorUtils()
-		{
-			
-		}		
-		
-		public static function ButtonColor(brand:int, estado:State):uint
-		{
-			// All the possible colors
-			var cores:Array = new Array(
-				ButtonColorEnum.PrimaryUp, ButtonColorEnum.PrimaryHover, ButtonColorEnum.PrimaryDown, ButtonColorEnum.PrimaryDisabled,
-				ButtonColorEnum.SuccessUp, ButtonColorEnum.SuccessHover, ButtonColorEnum.SuccessDown, ButtonColorEnum.SuccessDisabled,
-				ButtonColorEnum.WarningUp, ButtonColorEnum.WarningHover, ButtonColorEnum.WarningDown, ButtonColorEnum.WarningDisabled,
-				ButtonColorEnum.InverseUp, ButtonColorEnum.InverseHover, ButtonColorEnum.InverseDown, ButtonColorEnum.InverseDisabled,
-				ButtonColorEnum.DefaultUp, ButtonColorEnum.DefaultHover, ButtonColorEnum.DefaultDown, ButtonColorEnum.DefaultDisabled,
-				ButtonColorEnum.InfoUp, ButtonColorEnum.InfoHover, ButtonColorEnum.InfoDown, ButtonColorEnum.InfoDisabled,
-				ButtonColorEnum.DangerUp, ButtonColorEnum.DangerHover, ButtonColorEnum.DangerDown, ButtonColorEnum.DangerDisabled
-				);
-			
-			// Map all the allowed states
-			var numeroEstado:int = 1;
-			switch (estado.name)
-			{
-				case "up":
-					numeroEstado = 1;
-					break;
-				case "over":
-					numeroEstado = 2;
-					break;
-				case "down":
-					numeroEstado = 3;
-					break;
-				case "disabled":
-					numeroEstado = 3;
-					break;
-			}
-			
-			var posicao:int = 1;
-			posicao = 4 * (brand - 1) + (numeroEstado - 1); 
-			
-			return cores[posicao];
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2fc9a8d5/frameworks/projects/flatspark/src/utils/ConfigSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/utils/ConfigSkin.as b/frameworks/projects/flatspark/src/utils/ConfigSkin.as
deleted file mode 100644
index b4ba4f3..0000000
--- a/frameworks/projects/flatspark/src/utils/ConfigSkin.as
+++ /dev/null
@@ -1,44 +0,0 @@
-/**	
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.	
- */
-
-package flatSpark.utils
-{
-
-	import flatSpark.enums.ColorSwatchEnum;
-	import flatSpark.enums.SizeEnum;
-
-	public final class ConfigSkin
-	{
-
-		/*
-		*  Default size
-		*/
-		public static var sizeEnum:SizeEnum=new SizeEnum();
-
-		/*
-		*  Default color
-		*/
-		public static var colorSwatch:ColorSwatchEnum=new ColorSwatchEnum();
-
-
-		public function ConfigSkin()
-		{
-
-		}
-
-	}
-}


[44/48] git commit: [flex-sdk] [refs/heads/iso7skins] - fix fix for FLEX-34454

Posted by bi...@apache.org.
fix fix for FLEX-34454


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

Branch: refs/heads/iso7skins
Commit: ae33a52f016e7d3453f303aef18e5c6286ea49d1
Parents: 27475c1
Author: Alex Harui <ah...@apache.org>
Authored: Thu Nov 20 23:54:17 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Nov 20 23:54:17 2014 -0800

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ae33a52f/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
index 6d2061a..a3f1766 100644
--- a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -1047,7 +1047,7 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
             // don't remove blur unless this is the first modal window to put up the blur
             if (blurOwners[sm] != null && blurOwners[sm] == o.owner)
             {
-                
+                blurOwners[sm] = null;
                 // Blur effect on the application
                 const blurAmount:Number = popUpStyleClient.getStyle("modalTransparencyBlur");
                 


[24/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Moved FlatSpark's fonts licenses to top-level license

Posted by bi...@apache.org.
Moved FlatSpark's fonts licenses to top-level license


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

Branch: refs/heads/iso7skins
Commit: 7a968ccd78fcd727146f9baae9321be5dc1382b7
Parents: 634b098
Author: Mahmoud Ali <ak...@apache.org>
Authored: Mon Oct 27 07:05:21 2014 -0300
Committer: Mahmoud Ali <ak...@apache.org>
Committed: Mon Oct 27 07:05:21 2014 -0300

----------------------------------------------------------------------
 LICENSE                                   |   6 +
 frameworks/projects/flatspark/LICENSE.txt | 186 -------------------------
 2 files changed, 6 insertions(+), 186 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a968ccd/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 99588a0..90a134e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -728,4 +728,10 @@ see frameworks/projects/framework/asdoc/en_US/mx/effects/examples/assets/OpenSan
 The Roboto-Regular and Roboto-Bold fonts are available under Apache License 2.0.  
 For details see frameworks\projects\mobiletheme\src\spark\skins\android4\assets\fonts
 
+The Font Awesome font is available under OFL.  For details
+see frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome
+
+The Lato font is available under OFL. For details
+see frameworks/projects/flatspark/src/flatspark/assets/fonts/lato
+
 ------------------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a968ccd/frameworks/projects/flatspark/LICENSE.txt
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/LICENSE.txt b/frameworks/projects/flatspark/LICENSE.txt
deleted file mode 100644
index 54ed854..0000000
--- a/frameworks/projects/flatspark/LICENSE.txt
+++ /dev/null
@@ -1,186 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-----------------
-
-This product bundles Font Awesome, which is available under an
-�OFL" license.  For details, see
-frameworks/projects/flatspark/src/flatspark/assets/fonts/awesome.
-
-This product bundles Lato, which is available under an
-�OFL" license.  For details, see
-frameworks/projects/flatspark/src/flatspark/assets/fonts/lato.
\ No newline at end of file


[46/48] git commit: [flex-sdk] [refs/heads/iso7skins] - even better fix for FLEX-34454

Posted by bi...@apache.org.
even better fix for FLEX-34454


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

Branch: refs/heads/iso7skins
Commit: 1f4b752224ac60d6015afd048564d512240d254e
Parents: 4ade4cc
Author: Alex Harui <ah...@apache.org>
Authored: Fri Nov 21 09:40:47 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Nov 21 09:41:34 2014 -0800

----------------------------------------------------------------------
 .../projects/framework/src/mx/managers/PopUpManagerImpl.as       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1f4b7522/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
index a3f1766..55a40d2 100644
--- a/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ b/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -1047,7 +1047,6 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
             // don't remove blur unless this is the first modal window to put up the blur
             if (blurOwners[sm] != null && blurOwners[sm] == o.owner)
             {
-                blurOwners[sm] = null;
                 // Blur effect on the application
                 const blurAmount:Number = popUpStyleClient.getStyle("modalTransparencyBlur");
                 
@@ -1279,6 +1278,8 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
     				awm.numModalWindows--;
                 }
 
+                if (blurOwners[sm] == o.owner)
+                    blurOwners[sm] = null;
                 popupInfo.splice(i, 1);
                 break;
             }
@@ -1337,7 +1338,6 @@ public class PopUpManagerImpl extends EventDispatcher implements IPopUpManager
 			if (obj.parent)	// Mustella can already take you off stage
 				obj.parent.removeChild(obj);
 		}
-		
     }
     
     /**


[09/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34390 - added null check on skin.currentState

Posted by bi...@apache.org.
FLEX-34390 - added null check on skin.currentState

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 89d9d74b9b6270edd208af60ec9095a9b763ebd6
Parents: 3e7a1b4
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 9 12:19:51 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 9 12:19:51 2014 +0200

----------------------------------------------------------------------
 .../spark/src/spark/components/supportClasses/SkinnableTextBase.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/89d9d74b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
index dfd88cc..f0f768c 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -2699,7 +2699,7 @@ public class SkinnableTextBase extends SkinnableComponent
         
         // We may have gone from empty to non-empty or vice-versa. This should
         // cause the prompt to show or hide.
-        if (prompt != null && prompt != "" && skin && 
+        if (prompt != null && prompt != "" && skin && skin.currentState &&
             (skin.currentState.indexOf("WithPrompt") != -1 && text.length != 0 ||
             skin.currentState.indexOf("WithPrompt") == -1 && text.length == 0))
             invalidateSkinState();


[04/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added FlatSpark project

Posted by bi...@apache.org.
Added FlatSpark project


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

Branch: refs/heads/iso7skins
Commit: e72f72e3ab217d5b877884be13573bbf1e3bd051
Parents: 105ae47
Author: Mahmoud Ali <ak...@apache.org>
Authored: Mon Oct 6 22:17:36 2014 -0400
Committer: Mahmoud Ali <ak...@apache.org>
Committed: Mon Oct 6 22:17:36 2014 -0400

----------------------------------------------------------------------
 frameworks/projects/flatspark/defaults.css      |  97 +++++
 .../src/assets/fonts/awesome/FontAwesome.otf    | Bin 0 -> 62856 bytes
 .../src/assets/fonts/lato/Lato_Black.otf        | Bin 0 -> 47436 bytes
 .../src/assets/fonts/lato/Lato_Black_Italic.otf | Bin 0 -> 46100 bytes
 .../src/assets/fonts/lato/Lato_Bold.otf         | Bin 0 -> 48800 bytes
 .../src/assets/fonts/lato/Lato_Bold_Italic.otf  | Bin 0 -> 47364 bytes
 .../src/assets/fonts/lato/Lato_Hairline.otf     | Bin 0 -> 46852 bytes
 .../assets/fonts/lato/Lato_Hairline_Italic.otf  | Bin 0 -> 46568 bytes
 .../src/assets/fonts/lato/Lato_Light.otf        | Bin 0 -> 47040 bytes
 .../src/assets/fonts/lato/Lato_Light_Italic.otf | Bin 0 -> 47060 bytes
 .../src/assets/fonts/lato/Lato_Regular.otf      | Bin 0 -> 47088 bytes
 .../assets/fonts/lato/Lato_Regular_Italic.otf   | Bin 0 -> 47356 bytes
 .../flatspark/src/components/ButtonIcon.as      |  41 ++
 .../flatspark/src/components/TextInputIcon.as   |  35 ++
 .../flatspark/src/enums/BrandColorEnum.as       |  30 ++
 .../flatspark/src/enums/ButtonColorEnum.as      |  59 +++
 .../flatspark/src/enums/ButtonSizeEnum.as       |  31 ++
 .../flatspark/src/enums/ColorSwatchEnum.as      |  40 ++
 .../projects/flatspark/src/enums/SizeEnum.as    |  32 ++
 .../flatspark/src/enums/TextInputSizeEnum.as    |  30 ++
 .../src/itemRenderers/DefaultItemRenderer.mxml  |  51 +++
 .../projects/flatspark/src/skins/AlertSkin.mxml | 230 +++++++++++
 .../flatspark/src/skins/ButtonIconSkin.mxml     | 191 +++++++++
 .../flatspark/src/skins/ButtonSkin.mxml         | 184 +++++++++
 .../flatspark/src/skins/CheckBoxSkin.mxml       | 136 +++++++
 .../flatspark/src/skins/ComboBoxButtonSkin.mxml | 108 +++++
 .../flatspark/src/skins/ComboBoxSkin.mxml       | 127 ++++++
 .../src/skins/ComboBoxTextInputSkin.mxml        | 218 ++++++++++
 .../src/skins/DropDownListButtonSkin.mxml       | 109 +++++
 .../flatspark/src/skins/DropDownListSkin.mxml   | 143 +++++++
 .../flatspark/src/skins/HScrollBarSkin.mxml     |  87 ++++
 .../src/skins/HScrollBarThumbSkin.mxml          |  74 ++++
 .../src/skins/HScrollBarTrackSkin.mxml          |  71 ++++
 .../projects/flatspark/src/skins/PanelSkin.mxml | 253 ++++++++++++
 .../flatspark/src/skins/ProgressBarSkin.mxml    |  54 +++
 .../flatspark/src/skins/RadioButtonSkin.mxml    | 129 ++++++
 .../flatspark/src/skins/ScrollerSkin.mxml       | 106 +++++
 .../flatspark/src/skins/TextInputIconSkin.mxml  | 338 ++++++++++++++++
 .../flatspark/src/skins/TextInputSkin.mxml      | 330 +++++++++++++++
 .../src/skins/TitleWindowCloseButtonSkin.mxml   | 118 ++++++
 .../flatspark/src/skins/TitleWindowSkin.mxml    | 256 ++++++++++++
 .../flatspark/src/skins/VScrollBarSkin.mxml     |  87 ++++
 .../src/skins/VScrollBarThumbSkin.mxml          |  74 ++++
 .../src/skins/VScrollBarTrackSkin.mxml          |  71 ++++
 .../flatspark/src/utils/AwesomeUtils.as         | 399 +++++++++++++++++++
 .../projects/flatspark/src/utils/ColorUtils.as  |  90 +++++
 .../projects/flatspark/src/utils/ConfigSkin.as  |  44 ++
 47 files changed, 4473 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/defaults.css b/frameworks/projects/flatspark/defaults.css
new file mode 100644
index 0000000..5c4783b
--- /dev/null
+++ b/frameworks/projects/flatspark/defaults.css
@@ -0,0 +1,97 @@
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace components "flatSpark.components.*";
+@namespace ns "http://flex.apache.org/experimental/ns";
+
+
+@font-face { 
+	src: url("flatSpark/assets/fonts/awesome/FontAwesome.otf"); 
+	fontFamily: FontAwesome;
+	embedAsCFF: true;
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Regular.otf");
+	fontFamily: Lato; 
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Regular_Italic.otf");
+	fontFamily: Lato;
+	fontStyle: italic;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Bold.otf");
+	fontFamily: Lato;
+	fontWeight: bold;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Bold_Italic.otf");
+	fontFamily: Lato;
+	fontStyle: italic;
+	fontWeight: bold;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Light.otf");
+	fontFamily: LatoLight;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Light_Italic.otf");
+	fontFamily: LatoLight;
+	fontStyle: italic;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Hairline.otf");
+	fontFamily: LatoHairline;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Hairline_Italic.otf");
+	fontFamily: LatoHairline;
+	fontStyle: italic;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Black.otf");
+	fontFamily: LatoBlack;
+	embedAsCFF: true; 
+}
+
+@font-face {
+	src:url("flatSpark/assets/fonts/lato/Lato_Black_Italic.otf");
+	fontFamily: LatoBlack;
+	fontStyle: italic;
+	embedAsCFF: true; 
+}
+
+global
+{
+	modal-transparency: 0.98;
+	modal-transparency-blur: 0;
+	modal-transparency-color: #2c3e50;
+}
+
+s|Application {
+	fontFamily: Lato, Helvetica, Arial, sans-serif;
+}
+
+components|ButtonIcon {
+	skinClass: ClassReference("flatSpark.skins.ButtonIconSkin");
+}
+
+components|TextInputIcon {
+	skinClass: ClassReference("flatSpark.skins.TextInputIconSkin");
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf b/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf
new file mode 100644
index 0000000..8b0f54e
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/awesome/FontAwesome.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf
new file mode 100644
index 0000000..237ffb7
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf
new file mode 100644
index 0000000..97f1b93
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Black_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf
new file mode 100644
index 0000000..7f0a3d3
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf
new file mode 100644
index 0000000..4eb4518
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Bold_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf
new file mode 100644
index 0000000..4edb976
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf
new file mode 100644
index 0000000..50b82a2
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Hairline_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf
new file mode 100644
index 0000000..3226cb9
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf
new file mode 100644
index 0000000..d7557b0
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Light_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf
new file mode 100644
index 0000000..1f94789
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf
new file mode 100644
index 0000000..6341374
Binary files /dev/null and b/frameworks/projects/flatspark/src/assets/fonts/lato/Lato_Regular_Italic.otf differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/components/ButtonIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/components/ButtonIcon.as b/frameworks/projects/flatspark/src/components/ButtonIcon.as
new file mode 100644
index 0000000..96e1221
--- /dev/null
+++ b/frameworks/projects/flatspark/src/components/ButtonIcon.as
@@ -0,0 +1,41 @@
+/**	
+	  Licensed to the Apache Software Foundation (ASF) under one or more
+	  contributor license agreements.  See the NOTICE file distributed with
+	  this work for additional information regarding copyright ownership.
+	  The ASF licenses this file to You under the Apache License, Version 2.0
+	  (the "License"); you may not use this file except in compliance with
+	  the License.  You may obtain a copy of the License at
+	
+		  http://www.apache.org/licenses/LICENSE-2.0
+	
+	  Unless required by applicable law or agreed to in writing, software
+	  distributed under the License is distributed on an "AS IS" BASIS,
+	  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	  See the License for the specific language governing permissions and
+	  limitations under the License.	
+*/
+
+package flatSpark.components
+{
+
+	import spark.components.Button;
+	
+	import flatSpark.enums.BrandColorEnum;
+
+	public class ButtonIcon extends spark.components.Button
+	{
+
+		[Bindable]
+		public var iconFont:String;
+		
+		[Bindable]
+		public var brand:int = BrandColorEnum.Default;
+
+
+		public function ButtonIcon()
+		{
+			super();
+		}
+
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/components/TextInputIcon.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/components/TextInputIcon.as b/frameworks/projects/flatspark/src/components/TextInputIcon.as
new file mode 100644
index 0000000..73caada
--- /dev/null
+++ b/frameworks/projects/flatspark/src/components/TextInputIcon.as
@@ -0,0 +1,35 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.components
+{
+	import flash.events.FocusEvent;
+	
+	import spark.components.TextInput;
+	
+	public class TextInputIcon extends spark.components.TextInput
+	{
+		[Bindable]
+		public var iconFont:String;
+		
+		public function TextInputIcon()
+		{
+			super();
+		}
+		
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/BrandColorEnum.as b/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
new file mode 100644
index 0000000..9be14b2
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/BrandColorEnum.as
@@ -0,0 +1,30 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	public class BrandColorEnum
+	{
+		public static const Primary:int = 1;
+		public static const Success:int = 2;
+		public static const Warning:int = 3;
+		public static const Inverse:int = 4;
+		public static const Default:int = 5;
+		public static const Info:int = 6;
+		public static const Danger:int = 7;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as b/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
new file mode 100644
index 0000000..48d1a55
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/ButtonColorEnum.as
@@ -0,0 +1,59 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	import flatSpark.utils.ColorUtils;
+
+	public class ButtonColorEnum
+	{
+		public static const PrimaryUp:uint = ColorUtils.Turquoise;
+		public static const PrimaryHover:uint = 0x48C9B0;
+		public static const PrimaryDown:uint = 0x16A085;
+		public static const PrimaryDisabled:uint = ColorUtils.Turquoise;
+		
+		public static const SuccessUp:uint = ColorUtils.Emerald;
+		public static const SuccessHover:uint = 0x58D68D;
+		public static const SuccessDown:uint = 0x27AD60;
+		public static const SuccessDisabled:uint = ColorUtils.Emerald;
+		
+		public static const WarningUp:uint = ColorUtils.SunFlower;
+		public static const WarningHover:uint = 0xF5D313;
+		public static const WarningDown:uint = 0xCDA70D;
+		public static const WarningDisabled:uint = ColorUtils.SunFlower;
+		
+		public static const InverseUp:uint = ColorUtils.WetAsphalt;
+		public static const InverseHover:uint = 0x415B76;
+		public static const InverseDown:uint = 0x2C3E50;
+		public static const InverseDisabled:uint = ColorUtils.WetAsphalt;
+		
+		public static const DefaultUp:uint = ColorUtils.Silver;
+		public static const DefaultHover:uint = 0xCACFD2;
+		public static const DefaultDown:uint = 0xA1A6A9;
+		public static const DefaultDisabled:uint = ColorUtils.Silver;
+		
+		public static const InfoUp:uint = ColorUtils.PeterRiver;
+		public static const InfoHover:uint = 0x5DADE2;
+		public static const InfoDown:uint = 0x2C81BA;
+		public static const InfoDisabled:uint = ColorUtils.PeterRiver;
+		
+		public static const DangerUp:uint = ColorUtils.Alizarin;
+		public static const DangerHover:uint = 0xEC7063;
+		public static const DangerDown:uint = 0xC44133;
+		public static const DangerDisabled:uint = ColorUtils.Alizarin;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as b/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
new file mode 100644
index 0000000..bb210fc
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/ButtonSizeEnum.as
@@ -0,0 +1,31 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	public class ButtonSizeEnum
+	{
+		public static const Large:int = 43;
+		public static const Normal:int = 32;
+		public static const Small:int = 28;
+		public static const ExtraSmall:int = 20;
+		
+		public function ButtonSizeEnum()
+		{
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as b/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
new file mode 100644
index 0000000..a1a2769
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/ColorSwatchEnum.as
@@ -0,0 +1,40 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	public class ColorSwatchEnum
+	{
+		public static const Turquoise_GreenSea:int = 1;
+		public static const Emerald_Nephritis:int = 2;
+		public static const PeterRiver_BelizeHole:int = 3;
+		public static const Amethyst_Wisteria:int = 4;
+		public static const WetAsphalt_MidnightBlue:int = 5;
+		public static const SunFlower_Orange:int = 6;
+		public static const Carrot_Pumpkin:int = 7;
+		public static const Alizarin_Pomegranate:int = 8;
+		public static const Clouds_Silver:int = 9;
+		public static const Concrete_Asbestos:int = 10;
+		
+		
+		private var _colorSwatch:int;
+		
+		public function ColorSwatchEnum(colorSwatch:int = 3) {
+			_colorSwatch = colorSwatch;
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/SizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/SizeEnum.as b/frameworks/projects/flatspark/src/enums/SizeEnum.as
new file mode 100644
index 0000000..83600fa
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/SizeEnum.as
@@ -0,0 +1,32 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	public class SizeEnum
+	{
+		public static const Small:int = 10;
+		public static const Medium:int = 12;
+		public static const Large:int = 14;
+
+		private var _size:int;
+		
+		public function SizeEnum(size:int = 12) {
+			_size = size;
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as b/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
new file mode 100644
index 0000000..e7c38be
--- /dev/null
+++ b/frameworks/projects/flatspark/src/enums/TextInputSizeEnum.as
@@ -0,0 +1,30 @@
+/**	
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.	
+ */
+
+package flatSpark.enums
+{
+	public class TextInputSizeEnum
+	{
+		public static const Large:int = 41;
+		public static const Normal:int = 38;
+		public static const Small:int = 31;
+		
+		public function TextInputSizeEnum()
+		{
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml b/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
new file mode 100644
index 0000000..ddada4e
--- /dev/null
+++ b/frameworks/projects/flatspark/src/itemRenderers/DefaultItemRenderer.mxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
+				xmlns:s="library://ns.adobe.com/flex/spark"
+				autoDrawBackground="false" height="32">
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="hovered" />
+		<s:State name="selected" />
+	</s:states>
+	<fx:Script>
+		<![CDATA[
+			
+			import flatSpark.utils.ColorUtils;
+			
+		]]>
+	</fx:Script>
+	
+	<s:Rect id="bgFill"
+			radiusX="4"
+			includeIn="hovered,selected"
+			left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}"
+						  color.selected="{ColorUtils.Turquoise}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Label id="labelDisplay" paddingRight="4" paddingTop="1" paddingBottom="1" paddingLeft="4" 
+			 verticalAlign="middle" height="100%" fontFamily="Lato" fontSize="15" fontWeight="normal" 
+			 fontStyle="normal" color="{ColorUtils.Clouds}" color.hovered="{ColorUtils.Silver}"/>
+	
+</s:ItemRenderer>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/AlertSkin.mxml b/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
new file mode 100644
index 0000000..b42abdf
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/AlertSkin.mxml
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
+			 minWidth="131" minHeight="30" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+	<fx:Metadata>
+		<![CDATA[
+		[HostComponent("spark.components.Alert")]
+		]]>
+	</fx:Metadata>
+	
+		<fx:Script fb:purpose="styling">
+			<![CDATA[
+				import flatSpark.utils.ColorUtils;
+
+		/* Define the skin elements that should not be colorized.
+		For panel, border and title background are skinned, but the content area and title text are not. */
+		static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array {return exclusions;}
+		
+		/**
+		 * @private
+		 */
+		override protected function initializationComplete():void
+		{
+			useChromeColor = true;
+			super.initializationComplete();
+		}
+		
+		/**
+		 * @private
+		 */
+		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+		{
+				setPartCornerRadii(topMaskRect);
+				setPartCornerRadii(background);
+			
+			if (bottomMaskRect) setPartCornerRadii(bottomMaskRect);
+			
+			super.updateDisplayList(unscaledWidth, unscaledHeight);
+		}
+		
+		/**
+		 * @private
+		 */
+		private function setPartCornerRadii(target:Rect):void
+		{
+			target.topLeftRadiusX = cornerRadius;
+			target.topRightRadiusX = cornerRadius;
+			target.bottomLeftRadiusX = cornerRadius;
+			target.bottomRightRadiusX = cornerRadius;
+		}
+		
+		private var cornerRadius:Number=4;
+				
+			]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:Group id="contentGroup" />
+	</fx:Declarations>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="disabled" />
+		<s:State name="normalWithControlBar" stateGroups="withControls" />
+		<s:State name="disabledWithControlBar" stateGroups="withControls" />
+	</s:states>
+	
+	<!-- drop shadow can't be hittable so all other graphics go in this group -->
+	<s:Group left="0" right="0" top="0" bottom="0">
+		
+		<!-- top group mask -->
+		<!--- @private -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="topGroupMask" >
+			<!--- @private -->
+			<s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- bottom group mask -->
+		<!--- @private -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask"
+				 includeIn="normalWithControlBar, disabledWithControlBar">
+			<!--- @private -->
+			<s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- layer 2: background fill -->
+		<!--- Defines the appearance of the PanelSkin class's background. -->
+		<s:Rect id="background" left="0" top="0" right="0" bottom="0">
+			<s:fill>
+				<s:SolidColor id="backgroundFill" color="#FFFFFF"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- layer 3: contents -->
+		<!--- Contains the vertical stack of titlebar content and controlbar. -->
+		<s:Group left="0" top="0" right="0" bottom="0" id="contents">
+			<s:layout>
+				<s:VerticalLayout gap="0" horizontalAlign="justify" />
+			</s:layout>
+			
+			<!--- @private -->
+			<s:Group id="topGroup" mask="{topGroupMask}">
+				
+				<!-- layer 0: title bar fill -->
+				<!--- @private -->
+				<s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Concrete}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 1: title bar highlight -->
+				<!--- @private -->
+				<s:Rect id="tbHilite" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Concrete}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 2: title bar divider -->
+				<!--- @private -->
+				<s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+					<s:fill>
+						<s:SolidColor color="{ColorUtils.Asbestos}"/>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 3: text -->
+				<!--- @copy spark.components.Panel#titleDisplay -->
+				<s:Label id="titleDisplay" maxDisplayedLines="1"  fontFamily="Lato" fontSize="15" fontStyle="normal" color="#FFFFFF"
+						 left="15" right="5" top="2" bottom="0" minHeight="36" height="36"
+						 verticalAlign="middle" fontWeight="bold" />
+			</s:Group>
+			
+			<!--
+			Note: setting the minimum size to 0 here so that changes to the host component's
+			size will not be thwarted by this skin part's minimum size.   This is a compromise,
+			more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+			-->
+			<!--- @copy spark.components.SkinnableContainer#contentGroup -->
+			<!--<s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+			</s:Group>-->
+			<s:HGroup width="100%" height="100%" verticalAlign="middle" horizontalAlign="center" paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20">
+				<s:Group id="iconGroup" height="100%">
+					
+				</s:Group>
+				<s:VGroup width="100%" height="100%" paddingLeft="5" paddingRight="5" paddingBottom="5" gap="20"
+						  verticalAlign="middle" horizontalAlign="center">
+					<s:RichText id="messageDisplay"  fontFamily="Lato" fontSize="14" fontStyle="normal" color="0x000000" lineHeight="160%"
+								left="9" right="3" top="1" bottom="0" minHeight="30" maxWidth="400"
+								verticalAlign="middle"/>
+					
+					<!--
+					To-do: Need to adjust the styles for buttons
+					-->
+					<s:HGroup id="buttonGroup" width="100%" minWidth="0" minHeight="0" gap="8"
+							  horizontalAlign="center"/>
+				</s:VGroup>
+			</s:HGroup>
+			
+			
+			<!--- @private -->
+			<s:Group id="bottomGroup" minWidth="0" minHeight="0"
+					 includeIn="normalWithControlBar, disabledWithControlBar" >
+				
+				<s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
+					
+					<!-- layer 0: control bar divider line -->
+					<s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+					
+					<!-- layer 1: control bar highlight -->
+					<s:Rect left="0" right="0" top="1" bottom="0">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+					
+					<!-- layer 2: control bar fill -->
+					<s:Rect left="1" right="1" top="2" bottom="1">
+						<s:fill>
+							<s:SolidColor  color="#FFFFFF"/>
+						</s:fill>
+					</s:Rect>
+				</s:Group>
+				<!-- layer 3: control bar -->
+				<!--- @copy spark.components.Panel#controlBarGroup -->
+				<s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+					<s:layout>
+						<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+					</s:layout>
+				</s:Group>
+			</s:Group>
+		</s:Group>
+	</s:Group>
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml b/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
new file mode 100644
index 0000000..f009956
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ButtonIconSkin.mxml
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark Button component.  
+
+@see spark.components.Button
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
+			 xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
+			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
+			 alpha.disabled="0.5">
+	<fx:Metadata>[HostComponent("flatSpark.components.ButtonIcon")]</fx:Metadata>
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[         
+			import flatSpark.enums.ButtonColorEnum;
+			import flatSpark.enums.ButtonSizeEnum;
+			import flatSpark.enums.TextInputSizeEnum;
+			import flatSpark.utils.ColorUtils;
+
+			/* Define the skin elements that should not be colorized. 
+			For button, the graphics are colorized but the label is not. */
+			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+				super.initializationComplete();
+			}  
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{
+				var cr:Number = getStyle("cornerRadius");
+				
+				if (cornerRadius != cr)
+				{
+					cornerRadius = cr;
+					fill_up.radiusX = cornerRadius;
+					fill_over.radiusX = cornerRadius;
+					fill_down.radiusX = cornerRadius;
+					fill_disabled.radiusX = cornerRadius;
+				}
+				
+				/*var larguraIcone:int = 0;
+				if (iconFont.text != null && iconFont.text != "")
+				{
+					larguraIcone = 60;
+				}*/
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 2;
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 14;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 13;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 19;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 15;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>        
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" id="stateUp"/>
+		<s:State name="over" id="stateOver"/>
+		<s:State name="down" id="stateDown"/>
+		<s:State name="disabled" id="stateDisabled"/>
+	</s:states>
+	
+	
+	<!-- layer 2: fill -->
+	<!--- @private -->
+	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateUp)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateOver)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDown)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(hostComponent.brand,stateDisabled)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	
+	<!-- layer 8: text -->
+	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
+	<s:HGroup verticalAlign="middle" verticalCenter="0" horizontalAlign="center" horizontalCenter="0" left="10" right="10" top="2" bottom="2">
+		<s:Label id="iconFont" color="0xFFFFFF" color.disabled="0xE3E3E3" text="{hostComponent.iconFont}"
+				 textAlign="left" fontSize="{getIconSize(hostComponent.height)}" fontFamily="FontAwesome"
+				 maxDisplayedLines="1" includeInLayout="{hostComponent.iconFont != null}"
+				 horizontalCenter="0" verticalCenter="0" verticalAlign="middle">
+		</s:Label>
+		
+		<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3"
+				 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
+				 maxDisplayedLines="1"
+				 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
+		</s:Label>
+	</s:HGroup>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
new file mode 100644
index 0000000..aa0f9c5
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ButtonSkin.mxml
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark Button component.  
+
+@see spark.components.Button
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
+			 xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
+			 minWidth="21" minHeight="21" height="{ButtonSizeEnum.Normal}"
+			 alpha.disabled="0.5">
+	<fx:Metadata>[HostComponent("spark.components.Button")]</fx:Metadata>
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[         
+			import flatSpark.enums.BrandColorEnum;
+			import flatSpark.enums.ButtonColorEnum;
+			import flatSpark.enums.ButtonSizeEnum;
+			import flatSpark.enums.TextInputSizeEnum;
+			import flatSpark.utils.ColorUtils;
+
+			/* Define the skin elements that should not be colorized. 
+			For button, the graphics are colorized but the label is not. */
+			static private const exclusions:Array = ["iconDisplay", "labelDisplay"];
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+				super.initializationComplete();
+			}  
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{
+				var cr:Number = getStyle("cornerRadius");
+				
+				if (cornerRadius != cr)
+				{
+					cornerRadius = cr;
+					fill_up.radiusX = cornerRadius;
+					fill_over.radiusX = cornerRadius;
+					fill_down.radiusX = cornerRadius;
+					fill_disabled.radiusX = cornerRadius;
+				}
+				
+				/*var larguraIcone:int = 0;
+				if (iconFont.text != null && iconFont.text != "")
+				{
+					larguraIcone = 60;
+				}*/
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 2;
+			
+			private static function getFontSize(height:int):int
+			{
+				var altura:int = 15;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 14;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 13;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+			private static function getIconSize(height:int):int
+			{
+				var altura:int = 17;
+				
+				switch (height)
+				{
+					case ButtonSizeEnum.Large:
+						altura = 19;
+						break;
+					case ButtonSizeEnum.Normal:
+						altura = 17;
+						break;
+					case ButtonSizeEnum.Small:
+						altura = 15;
+						break;
+					case ButtonSizeEnum.ExtraSmall:
+						altura = 12;
+						break;
+				}
+				
+				return altura;
+			}
+			
+		]]>        
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" id="stateUp"/>
+		<s:State name="over" id="stateOver"/>
+		<s:State name="down" id="stateDown"/>
+		<s:State name="disabled" id="stateDisabled"/>
+	</s:states>
+	
+	
+	<!-- layer 2: fill -->
+	<!--- @private -->
+	<s:Rect id="fill_up" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="up">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateUp)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_over" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="over">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateOver)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_down" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDown)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	<s:Rect id="fill_disabled" left="1" right="1" top="1" bottom="1" radiusX="6" includeIn="disabled">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.ButtonColor(BrandColorEnum.Default,stateDisabled)}"/>
+		</s:fill>
+	</s:Rect>
+	
+	
+	<!-- layer 8: text -->
+	<!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
+	<s:Label id="labelDisplay" color="0xFFFFFF" color.disabled="0xE3E3E3" right="10" left="10"
+			 textAlign="center" fontSize="{getFontSize(hostComponent.height)}" fontFamily="Lato"
+			 maxDisplayedLines="1"
+			 horizontalCenter="0" verticalCenter="1" verticalAlign="middle">
+	</s:Label>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml b/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
new file mode 100644
index 0000000..6b8f68c
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/CheckBoxSkin.mxml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+<!--- The default skin class for the Spark CheckBox component.  
+
+      @see spark.components.CheckBox
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+             xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5" useHandCursor="true">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.CheckBox")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For button, the graphics are colorized but the label is not. */
+        static private const exclusions:Array = ["labelDisplay", "check"];
+
+       /** 
+        * @private 
+        */     
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /* Define the symbol fill items that should be colored by the "symbolColor" style. */
+        static private const symbols:Array = [];
+
+       /**
+        * @private 
+        */
+        override public function get symbolItems():Array {return symbols};
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <fx:Script>
+        <![CDATA[
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+            /** 
+             * @private 
+             */     
+            private static const focusExclusions:Array = ["labelDisplay"];
+
+            /**
+             * @private
+             */
+            override public function get focusSkinExclusions():Array { return focusExclusions;};
+        ]]>
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" stateGroups="overStates" />
+        <s:State name="down" stateGroups="downStates" />
+        <s:State name="disabled" stateGroups="disabledStates" />
+        <s:State name="upAndSelected" stateGroups="selectedStates" />
+        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
+        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
+        <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
+    </s:states>
+    
+    <s:Group verticalCenter="0" width="22" height="22" layoutDirection="ltr">
+        <!-- fill -->
+        <s:Rect left="1" top="1" right="1" bottom="1" radiusX="6">
+            <s:fill>
+                <s:SolidColor color="{ColorUtils.Silver}"/>
+            </s:fill>
+        </s:Rect>
+		
+		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="overStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Asbestos}"/>
+			</s:fill>
+		</s:Rect>
+		
+		<s:Rect left="1" top="1" right="1" bottom="1" radiusX="6" includeIn="selectedStates">
+			<s:fill>
+				<s:SolidColor color="{ColorUtils.Turquoise}"/>
+			</s:fill>
+		</s:Rect>
+        
+		<!--<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="overStates"
+				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" alpha="0.75"
+				 />-->
+		
+		<s:Label fontFamily="FontAwesome" fontSize="12" color="#FFFFFF" text="{AwesomeUtils.fa_check}" includeIn="selectedStates"
+				 itemCreationPolicy="immediate" verticalAlign="middle" horizontalCenter="0" verticalCenter="0"
+				 />
+    </s:Group>
+
+    <!-- Label -->
+    <!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
+    <s:Label id="labelDisplay"
+             textAlign="start" color="{ColorUtils.WetAsphalt}"
+             verticalAlign="middle" fontSize="14"
+             maxDisplayedLines="1" fontFamily="Lato" paddingLeft="30"
+             left="0" right="0" top="3" bottom="3" verticalCenter="2" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
new file mode 100644
index 0000000..3d15498
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ComboBoxButtonSkin.mxml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the anchor button on a Spark ComboBox component.  
+
+@see spark.components.ComboBox        
+@see spark.skins.spark.ComboBoxSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+			/* Define the skin elements that should not be colorized. 
+			For dropDownList buttons, the graphics are colorized but the arrow is not. */
+			static private const exclusions:Array = [];
+			
+			private var cornerRadius:Number = 4;
+			
+			/** 
+			 * @private
+			 */     
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+			static private const symbols:Array = [];
+			
+			/**
+			 * @private 
+			 */
+			override public function get symbolItems():Array {return symbols};
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				fill.bottomRightRadiusX = fill.topRightRadiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+		]]>
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- layer 1: fill -->
+	<!--- @private -->
+	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!--- The arrow graphic displayed in the anchor button. -->
+	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
new file mode 100644
index 0000000..f98f46e
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ComboBoxSkin.mxml
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the Spark ComboBox component. 
+The skin for the anchor button for a ComboBox component 
+is defined by the ComboBoxButtonSkin class.  The skin for the text input
+is defined by the ComboBoxTextInputSkin class.
+
+@see spark.components.ComboBox        
+@see spark.skins.spark.ComboBoxButtonSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.ComboBox")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[       
+			import mx.events.FlexEvent;
+			
+			import flatSpark.utils.ColorUtils;
+			private var paddingChanged:Boolean;
+			private var cornerRadiusChanged:Boolean;
+			private var cornerRadius:Number = 4;            
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			override public function get contentItems():Array {return contentFill; }
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="open" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!--- 
+	The PopUpAnchor control that opens the drop-down list. 
+	
+	<p>In a custom skin class that uses transitions, set the 
+	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
+	-->
+	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
+				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
+		
+		<!--- 
+		This includes borders, background colors, scrollers, and filters. 
+		@copy spark.components.supportClasses.DropDownListBase#dropDown
+		-->
+		<s:Group id="dropDown">
+			
+			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
+				<s:fill>
+					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
+				</s:fill>
+			</s:Path>
+			
+			<!-- fill -->
+			<!--- Defines the appearance of drop-down list's background fill. -->
+			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
+				<s:fill>
+					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
+				</s:fill>
+			</s:Rect>
+			<!--- @private -->
+			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatSpark.skins.ScrollerSkin">
+				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
+				<s:DataGroup id="dataGroup" itemRenderer="flatSpark.itemRenderers.DefaultItemRenderer">
+					<s:layout>
+						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
+					</s:layout>
+				</s:DataGroup> 
+			</s:Scroller>
+		</s:Group>
+	</s:PopUpAnchor>
+	
+	<!---  The default skin is ComboBoxButtonSkin. 
+	@copy spark.components.supportClasses.DropDownListBase#openButton
+	@see spark.skins.spark.ComboBoxButtonSkin -->
+	<s:Button id="openButton" width="29" right="0" top="0" bottom="0" focusEnabled="false"
+			  skinClass="flatSpark.skins.ComboBoxButtonSkin" tabEnabled="false" />  
+	<!--- @copy spark.components.ComboBox#textInput -->
+	<s:TextInput id="textInput" enabled.disabled="false"
+				 left="0" right="29" top="0" bottom="0" 
+				 skinClass="flatSpark.skins.ComboBoxTextInputSkin"/> 
+	
+</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml b/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
new file mode 100644
index 0000000..d4b1ce9
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/ComboBoxTextInputSkin.mxml
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the textInput of a Spark ComboBox component.  
+
+@see spark.components.ComboBox
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" 
+			 blendMode="normal">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.TextInput")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+			
+			private var paddingChanged:Boolean;
+			private var cornerRadius:Number = 4;
+			
+			/* Define the skin elements that should not be colorized. */
+			static private const exclusions:Array = ["background", "textDisplay", "promptDisplay"];
+			
+			/**
+			 * @private
+			 */   
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			/**
+			 *  @private
+			 */
+			override public function get contentItems():Array {return contentFill; }
+			
+			/**
+			 *  @private
+			 */
+			override protected function commitProperties():void
+			{
+				super.commitProperties();
+				
+				if (paddingChanged)
+				{
+					updatePadding();
+					paddingChanged = false;
+				}
+			}
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				if (promptDisplay)
+				{
+					promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+					promptDisplay.setLayoutBoundsPosition(8, 0);
+				}
+				
+				background.bottomLeftRadiusX = background.topLeftRadiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			/**
+			 *  @private
+			 */
+			private function updatePadding():void
+			{
+				if (!textDisplay)
+					return;
+				
+				// Push padding styles into the textDisplay
+				var padding:Number;
+				
+				padding = getStyle("paddingLeft");
+				if (textDisplay.getStyle("paddingLeft") != padding)
+					textDisplay.setStyle("paddingLeft", padding);
+				
+				padding = getStyle("paddingTop");
+				if (textDisplay.getStyle("paddingTop") != padding)
+					textDisplay.setStyle("paddingTop", padding);
+				
+				padding = getStyle("paddingRight");
+				if (textDisplay.getStyle("paddingRight") != padding)
+					textDisplay.setStyle("paddingRight", padding);
+				
+				padding = getStyle("paddingBottom");
+				if (textDisplay.getStyle("paddingBottom") != padding)
+					textDisplay.setStyle("paddingBottom", padding);
+				
+				if (!promptDisplay)
+					return;
+				
+				padding = getStyle("paddingLeft");
+				if (promptDisplay.getStyle("paddingLeft") != padding)
+					promptDisplay.setStyle("paddingLeft", padding);
+				
+				padding = getStyle("paddingTop");
+				if (promptDisplay.getStyle("paddingTop") != padding)
+					promptDisplay.setStyle("paddingTop", padding);
+				
+				padding = getStyle("paddingRight");
+				if (promptDisplay.getStyle("paddingRight") != padding)
+					promptDisplay.setStyle("paddingRight", padding);
+				
+				padding = getStyle("paddingBottom");
+				if (promptDisplay.getStyle("paddingBottom") != padding)
+					promptDisplay.setStyle("paddingBottom", padding);
+			}
+			
+			/**
+			 *  @private
+			 */
+			override public function styleChanged(styleProp:String):void
+			{
+				var allStyles:Boolean = !styleProp || styleProp == "styleName";
+				
+				super.styleChanged(styleProp);
+				
+				if (allStyles || styleProp.indexOf("padding") == 0)
+				{
+					paddingChanged = true;
+					invalidateProperties();
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Script>
+		<![CDATA[
+			/** 
+			 * @private 
+			 */     
+			private static const focusExclusions:Array = ["textDisplay"];
+			
+			/**
+			 *  @private
+			 */
+			override public function get focusSkinExclusions():Array { return focusExclusions;};
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal"/>
+		<s:State name="disabled" stateGroups="disabledStates"/>
+		<s:State name="normalWithPrompt"/>
+		<s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
+	</s:states>
+	
+	<!-- fill -->
+	<!--- Defines the appearance of the TextInput component's background. -->
+	<s:Rect id="background" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor id="bgFill" color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- text -->
+	<!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
+	<!--	<s:RichEditableText id="textDisplay"
+	lineBreak="explicit"
+	widthInChars="10" verticalCenter="0"/>-->
+	<s:RichEditableText id="textDisplay" verticalAlign="middle" lineBreak="explicit" backgroundColor="{ColorUtils.Turquoise}"
+						widthInChars="10" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF"
+						left="8" right="8" top="8" bottom="8" fontSize="15" verticalCenter="0"/>
+	<!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
+	<!--	<s:Label id="promptDisplay" maxDisplayedLines="1"
+	verticalAlign="middle"
+	mouseEnabled="false" mouseChildren="false"
+	includeIn="normalWithPrompt,disabledWithPrompt" 
+	includeInLayout="false"/>-->
+	<s:Label id="promptDisplay" maxDisplayedLines="1"
+			 verticalAlign="middle" fontFamily="Lato" fontSize="15" fontWeight="normal" fontStyle="italic" color="{ColorUtils.Clouds}"
+			 mouseEnabled="false" mouseChildren="false" left="8" right="8" top="8" bottom="8" verticalCenter="0"
+			 includeIn="normalWithPrompt,disabledWithPrompt" 
+			 includeInLayout="false"/>
+	
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml b/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
new file mode 100644
index 0000000..3215dfb
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/DropDownListButtonSkin.mxml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the anchor button on a Spark DropDownList component.  
+
+@see spark.components.DropDownList        
+@see spark.skins.spark.DropDownListSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="19" minHeight="23">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.AwesomeUtils;
+			import flatSpark.utils.ColorUtils;
+			
+			/* Define the skin elements that should not be colorized. 
+			For dropDownList buttons, the graphics are colorized but the arrow is not. */
+			static private const exclusions:Array = [];
+			
+			/**
+			 * @private
+			 */  
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			/* Define the symbol fill items that should be colored by the "symbolColor" style. */
+			static private const symbols:Array = [];
+			
+			/**
+			 * @private
+			 */
+			override public function get symbolItems():Array {return symbols};
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+			
+			/**
+			 *  @private
+			 */
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{				
+				fill.radiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 4;
+			
+		]]>
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- layer 1: fill -->
+	<!--- @private -->
+	<s:Rect id="fill" left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Turquoise}" />
+		</s:fill>
+	</s:Rect>
+	
+	<!--- The arrow graphic displayed in the anchor button. -->
+	<s:Label right="17" top="6" fontFamily="FontAwesome" fontSize="19" color="#FFFFFF" text="{AwesomeUtils.fa_caret_down}" includeIn="up, down, over, disabled"
+			 itemCreationPolicy="immediate" verticalAlign="middle" verticalCenter="0" />
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml b/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
new file mode 100644
index 0000000..ced72c7
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/DropDownListSkin.mxml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<!--- The default skin class for the Spark DropDownList component. 
+The skin for the anchor button for a DropDownList component 
+is defined by the DropDownListButtonSkin class.  
+
+<p>In a custom skin class that uses transitions, set the 
+<code>itemDestructionPolicy</code> property to <code>never</code>
+for the PopUpAnchor defined by the popUp property.</p>      
+
+@see spark.components.DropDownList        
+@see spark.skins.spark.DropDownListButtonSkin
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  height="41"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" initialize="initializeHandler(event)"> 
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.DropDownList")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[            
+			import mx.events.FlexEvent;
+			
+			import flatSpark.itemRenderers.DefaultItemRenderer;
+			import flatSpark.utils.ColorUtils;
+			
+			/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+			static private const contentFill:Array = [];
+			
+			/**
+			 * @private
+			 */
+			override public function get contentItems():Array { return contentFill; }
+			
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{		
+				//background.bottomRightRadiusX = background.topRightRadiusX = cornerRadius;
+
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 4;
+			
+			protected function initializeHandler(event:FlexEvent):void
+			{
+				// TODO Auto-generated method stub
+				hostComponent.useHandCursor=true;
+				hostComponent.buttonMode=true;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="open" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!--- 
+	The PopUpAnchor control that opens the drop-down list. 
+	
+	<p>In a custom skin class that uses transitions, set the 
+	<code>itemDestructionPolicy</code> property to <code>never</code>.</p>
+	-->
+	<s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+				   left="0" right="0" top="{hostComponent.height+4}" bottom="0" itemDestructionPolicy="auto"
+				   popUpPosition="below" popUpWidthMatchesAnchorWidth="true">
+		
+		<!--- 
+		This includes borders, background colors, scrollers, and filters.
+		@copy spark.components.supportClasses.DropDownListBase#dropDown
+		-->
+		<s:Group id="dropDown">
+			
+			<s:Path top="2" right="20" data="M 0 10 L 10 0 L 20 10 Z">
+				<s:fill>
+					<s:SolidColor color="{ColorUtils.WetAsphalt}" alpha="1"/>
+				</s:fill>
+			</s:Path>
+			
+			<!-- fill -->
+			<!--- Defines the appearance of drop-down list's background fill. -->
+			<s:Rect id="background" left="0" right="0" top="10" bottom="0" radiusX="4" >
+				<s:fill>
+					<s:SolidColor id="bgFill" color="{ColorUtils.WetAsphalt}" />
+				</s:fill>
+			</s:Rect>
+			
+			<!--- @private -->
+			<s:Scroller id="scroller" left="4" top="14" right="4" bottom="4" hasFocusableChildren="false" minViewportInset="1" skinClass="flatSpark.skins.ScrollerSkin">
+				<!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
+				<s:DataGroup id="dataGroup" itemRenderer="flatSpark.itemRenderers.DefaultItemRenderer">
+					<s:layout>
+						<s:VerticalLayout gap="0" horizontalAlign="contentJustify" requestedMinRowCount="1" requestedMaxRowCount="6"/>
+					</s:layout>
+				</s:DataGroup> 
+			</s:Scroller>
+		</s:Group>
+	</s:PopUpAnchor>
+	
+	<!---  The default skin is DropDownListButtonSkin. 
+	@copy spark.components.supportClasses.DropDownListBase#openButton
+	@see spark.skins.spark.DropDownListButtonSkin -->
+	<s:Button id="openButton" width="29" left="0" right="0" top="0" bottom="0" focusEnabled="false" tabEnabled="false"
+			  skinClass="flatSpark.skins.DropDownListButtonSkin" />  
+	
+	<!--- @copy spark.components.DropDownList#labelDisplay -->
+
+	<s:Label id="labelDisplay" verticalAlign="middle" maxDisplayedLines="1"  backgroundColor="{ColorUtils.Turquoise}"
+			 mouseEnabled="false" mouseChildren="false" fontFamily="Lato" fontWeight="normal" color="0xFFFFFF" 
+			 left="10" right="37" top="8" bottom="8" fontSize="15" verticalCenter="0"></s:Label> 
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
new file mode 100644
index 0000000..82099b7
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/HScrollBarSkin.mxml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the Spark HScrollBar component. The thumb and track skins are defined by the
+HScrollBarThumbSkin and HScrollBarTrackSkin classes, respectively.  
+
+       @see spark.components.HScrollBar
+       @see spark.skins.spark.HScrollBarThumbSkin
+       @see spark.skins.spark.HScrollBarTrackSkin
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="35" minHeight="15" 
+    alpha.disabled="0.5" alpha.inactive="0.5">
+
+    <fx:Metadata>
+    <![CDATA[ 
+        /** 
+         * @copy spark.skins.spark.ApplicationSkin#hostComponent
+         */
+        [HostComponent("spark.components.HScrollBar")]
+    ]]>
+    </fx:Metadata> 
+    
+    <fx:Script fb:purpose="styling">
+        /* Define the skin elements that should not be colorized. 
+           For scroll bar, the skin itself is colorized but the individual parts are not. */
+        static private const exclusions:Array = ["track", "thumb"];
+
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /**
+         * @private
+         */
+        override protected function initializationComplete():void
+        {
+            useChromeColor = true;
+            super.initializationComplete();
+        }
+    </fx:Script>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+        <s:State name="inactive" />
+    </s:states>
+    
+    <!---  The default skin class is HScrollBarTrackSkin.    
+            @copy spark.components.supportClasses.TrackBase#track
+            @see spark.skins.spark.HScrollBarTrackSkin -->
+    <s:Button id="track" left="0" right="0" width="54" 
+              focusEnabled="false" tabEnabled="false"
+              skinClass="flatSpark.skins.HScrollBarTrackSkin" />
+
+    <!---  The default skin class is HScrollBarThumbSkin. 
+            @copy spark.components.supportClasses.TrackBase#thumb
+            @see spark.skins.spark.HScrollBarThumbSkin -->
+    <s:Button id="thumb" 
+              focusEnabled="false" visible.inactive="false" tabEnabled="false"
+              skinClass="flatSpark.skins.HScrollBarThumbSkin" />
+
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
new file mode 100644
index 0000000..df5adf4
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/HScrollBarThumbSkin.mxml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the thumb of a Spark HScrollBar component.  
+
+@see spark.components.HScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- background -->
+	<s:Rect left="0" top="0" right="0" bottom="0" minWidth="8" minHeight="8" radiusX="2" alpha="0.5">
+		<s:stroke>
+			<s:SolidColorStroke color="{ColorUtils.MidnightBlue}" weight="1"/>
+		</s:stroke>
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.Silver}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e72f72e3/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml b/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
new file mode 100644
index 0000000..a9b8340
--- /dev/null
+++ b/frameworks/projects/flatspark/src/skins/HScrollBarTrackSkin.mxml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the track on a Spark HScrollBar component.  
+
+@see spark.components.HScrollBar
+
+@langversion 3.0
+@playerversion Flash 10
+@playerversion AIR 1.5
+@productversion Flex 4
+-->
+<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[
+			import flatSpark.utils.ColorUtils;
+			
+			/**
+			 * @private
+			 */
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="up" />
+		<s:State name="down" />
+		<s:State name="over" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- border/fill -->
+	<s:Rect top="0" bottom="0" left="0" right="0" minWidth="8" minHeight="8" radiusX="2">
+		<s:fill>
+			<s:SolidColor color="{ColorUtils.MidnightBlue}" />
+		</s:fill>
+	</s:Rect>
+</s:SparkSkin>


[10/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34373 - fix default button handling

Posted by bi...@apache.org.
FLEX-34373 - fix default button handling

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 19df2d4c7b743354ece4c7d3c74506a187c78cbd
Parents: 89d9d74
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 9 13:25:51 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 9 13:25:51 2014 +0200

----------------------------------------------------------------------
 .../experimental/src/spark/components/Alert.as  | 45 ++++++++++++++++++--
 1 file changed, 41 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/19df2d4c/frameworks/projects/experimental/src/spark/components/Alert.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/Alert.as b/frameworks/projects/experimental/src/spark/components/Alert.as
index 770b454..b613739 100644
--- a/frameworks/projects/experimental/src/spark/components/Alert.as
+++ b/frameworks/projects/experimental/src/spark/components/Alert.as
@@ -396,7 +396,7 @@ package spark.components {
          *  @productversion Flex 4.5
          */
         public static function show(message:String = "", title:String = "", flags:uint = OK, parent:Sprite = null, closeHandler:Function = null,
-                                    iconClass:Class = null, defaultButtonFlag:uint = 0 /* Alert.OK */, moduleFactory:IFlexModuleFactory = null):Alert {
+                                    iconClass:Class = null, defaultButtonFlag:uint = Alert.OK, moduleFactory:IFlexModuleFactory = null):Alert {
 
             var modal:Boolean = (flags & Alert.NONMODAL) ? false : true;
 
@@ -758,6 +758,42 @@ package spark.components {
             return result;
         }
 
+		/**
+		 *  @private
+		 */
+		private function getDefaultButton():Button 
+		{
+			var label:String;
+			switch (_defaultButtonFlag) 
+			{
+				case YES :
+					label = YES_LABEL;
+					break;
+				case NO :
+					label = NO_LABEL;
+					break;
+				case OK :
+					label = OK_LABEL;
+					break;
+				case CANCEL :
+					label = CANCEL_LABEL;
+					break;
+				default :
+					label = '';
+					break;
+			}
+			
+			for each (var button:Button in _buttons) 
+			{
+				if (button.label === label) 
+				{
+					return button;
+				}
+			}
+			
+			return null;
+		}
+		
         /**
          *  @private
          */
@@ -790,9 +826,10 @@ package spark.components {
                 awm.activate(this);
             }
             if (_buttons) {
-                if (_defaultButtonFlag >= 0 && _defaultButtonFlag < _buttons.length - 1) {
-                    _buttons[ _defaultButtonFlag ].setFocus();
-                    _buttons[ _defaultButtonFlag ].drawFocus(true);
+				var button:Button = getDefaultButton();
+				if (button) {
+					button.setFocus();
+					button.drawFocus(true);
                 }
             }
         }


[06/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34557 - PlugIn vs. Plugin (Aleksey; reporter; Lee Burrows: patch)

Posted by bi...@apache.org.
FLEX-34557 - PlugIn vs. Plugin (Aleksey; reporter; Lee Burrows: patch)

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 6bcc923f6a53200faf17a2f236fd940c64029f07
Parents: 74dca41
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 9 08:16:49 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 9 08:16:49 2014 +0200

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/utils/Platform.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6bcc923f/frameworks/projects/framework/src/mx/utils/Platform.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/Platform.as b/frameworks/projects/framework/src/mx/utils/Platform.as
index 6c40408..51e077c 100644
--- a/frameworks/projects/framework/src/mx/utils/Platform.as
+++ b/frameworks/projects/framework/src/mx/utils/Platform.as
@@ -271,7 +271,7 @@ public class Platform
 			_isDesktop = !_isMobile;
 			
 			_isAir = playerType == "Desktop";
-			_isBrowser = (playerType == "Plugin" || playerType == "ActiveX");
+			_isBrowser = (playerType == "PlugIn" || playerType == "ActiveX");
 			
 			_initialized = true;
 		}


[32/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Made a start with the 4.14 contributors

Posted by bi...@apache.org.
Made a start with the 4.14 contributors

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: afd12baa39959dcdcf6eaf550629b17695723eac
Parents: d72e2f2
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 17 20:36:25 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 17 20:36:25 2014 +0100

----------------------------------------------------------------------
 CONTRIBUTORS | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/afd12baa/CONTRIBUTORS
----------------------------------------------------------------------
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 7b8d747..ee4304d 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1,6 +1,10 @@
 The following volunteers have contributed code, documentation, testing and/or
 support to the Apache Flex SDK.
 
+Apache Flex SDK 4.14.0
+----------------------
+Gareth Daniel Smith
+
 Apache Flex SDK 4.13.0
 ----------------------
 Alex Harui, Alexander Konovalov, Alexander Mazuruk, Alexander Scheibe, Bi Jane Jia,


[33/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34634 - add null check (patch provided by Gareth Daniel Smith)

Posted by bi...@apache.org.
FLEX-34634 - add null check (patch provided by Gareth Daniel Smith)

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: a50a8d0ed7b61686704c9d11224c91f9e6083026
Parents: afd12ba
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Nov 18 09:17:41 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Nov 18 09:17:41 2014 +0100

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/DataGroup.as | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a50a8d0e/frameworks/projects/spark/src/spark/components/DataGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/DataGroup.as b/frameworks/projects/spark/src/spark/components/DataGroup.as
index be4f51d..e946e30 100644
--- a/frameworks/projects/spark/src/spark/components/DataGroup.as
+++ b/frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1751,7 +1751,7 @@ public class DataGroup extends GroupBase implements IItemRendererOwner
                 virtualRendererIndices.splice(vrItemIndex, 1);
         }
         
-        // Remove the old renderer at index from indexToRenderer[], from the 
+        // Remove the old renderer at index (if any) from indexToRenderer[], from the
         // DataGroup, and clear its data property (if any).
         
         const oldRenderer:IVisualElement = indexToRenderer[index];
@@ -1759,6 +1759,8 @@ public class DataGroup extends GroupBase implements IItemRendererOwner
         if (indexToRenderer.length > index)
             indexToRenderer.splice(index, 1);
         
+        if (oldRenderer)
+        {
         dispatchEvent(new RendererExistenceEvent(
             RendererExistenceEvent.RENDERER_REMOVE, false, false, oldRenderer, index, item));
         
@@ -1768,6 +1770,7 @@ public class DataGroup extends GroupBase implements IItemRendererOwner
         var child:DisplayObject = oldRenderer as DisplayObject;
         if (child)
             super.removeChild(child);
+        }
         
         invalidateSize();
         invalidateDisplayList();


[39/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Another missing license header

Posted by bi...@apache.org.
Another missing license header

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: be471e457727f9d9b4e1863b2e04873cc643206a
Parents: 1323d9b
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 18:40:43 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 18:40:43 2014 +0100

----------------------------------------------------------------------
 .../DataGridEditor_FLEX_34543_Test.as            | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/be471e45/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as b/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
index 6572d40..992473a 100644
--- a/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
+++ b/frameworks/tests/unitTests/spark/components/gridClasses/DataGridEditor_FLEX_34543_Test.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package spark.components.gridClasses {
     import mx.collections.ArrayCollection;
     import mx.collections.ArrayList;


[42/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Exclude OFL license files from rat's report

Posted by bi...@apache.org.
Exclude OFL license files from rat's report

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 8806faa9b84bedc7bf5023fceb45ea099924044d
Parents: 3ba3462
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 19 22:24:22 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 19 22:24:22 2014 +0100

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8806faa9/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 8acac59..06b7b8f 100644
--- a/build.xml
+++ b/build.xml
@@ -1799,6 +1799,7 @@ There are no known issues.
                 <exclude name="CONTRIBUTING"/>
                 <exclude name="modules/thirdparty/batik/lib/**/LICENSE*.txt"/>
                 <exclude name="modules/thirdparty/batik/lib/**/README*.txt"/>
+                <exclude name="frameworks/projects/flatspark/src/flatspark/assets/fonts/**/OFL.txt"/>
                 <!-- exclude w3c sources -->
                 <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.mod"/>
                 <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.dtd"/>


[21/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Increment and counterpart don't work with FlexJS '_get()' and '_set()'

Posted by bi...@apache.org.
Increment and counterpart don't work with FlexJS '_get()' and '_set()'

In FlexJS, all properties are converted to a set of methods, with '_get' and '_set' postfix. Calling an increment on a property in AS - myProp++ - will thus translate to 'myProp_get()++' in JS. And JS strongly objects to that syntax.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: af2dc0d8f6712c0003264cea966ef8afd159878c
Parents: b9d15cf
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Oct 24 13:04:09 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri Oct 24 13:04:19 2014 +0200

----------------------------------------------------------------------
 .../projects/framework/src/mx/managers/SystemManager.as   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/af2dc0d8/frameworks/projects/framework/src/mx/managers/SystemManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/SystemManager.as b/frameworks/projects/framework/src/mx/managers/SystemManager.as
index 61d41ce..9eb9bea 100644
--- a/frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ b/frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1752,7 +1752,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes before the 
         // "added" event is dispatched.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
 
         var oldParent:DisplayObjectContainer = child.parent;
         if (oldParent)
@@ -1790,7 +1790,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex--;
+        noTopMostIndex = noTopMostIndex - 1;
 
         return rawChildren_removeChild(child);
     }
@@ -1802,7 +1802,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex--;
+        noTopMostIndex = noTopMostIndex - 1;
 
         return rawChildren_removeChildAt(applicationIndex + index);
     }
@@ -2658,7 +2658,7 @@ public class SystemManager extends MovieClip
         mouseCatcher.name = "mouseCatcher";
         // Must use addChildAt because a creationComplete handler can create a
         // dialog and insert it at 0.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
         super.addChildAt(mouseCatcher, 0);  
         resizeMouseCatcher();
         if (!topLevel)
@@ -2668,7 +2668,7 @@ public class SystemManager extends MovieClip
         }
 
         // Add the application as child 1.
-        noTopMostIndex++;
+        noTopMostIndex = noTopMostIndex + 1;
         super.addChildAt(DisplayObject(app), 1);
 
         CONFIG::performanceInstrumentation


[07/48] git commit: [flex-sdk] [refs/heads/iso7skins] - FLEX-34539 - verify s:Application assumption to prevent RTE

Posted by bi...@apache.org.
FLEX-34539 - verify s:Application assumption to prevent RTE

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 0de450fde3866c1b950e25956bef39c061ef16c8
Parents: 6bcc923
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 9 09:58:22 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 9 09:58:22 2014 +0200

----------------------------------------------------------------------
 .../src/spark/skins/android4/supportClasses/CalloutArrow.as    | 6 +++++-
 .../src/spark/skins/mobile/supportClasses/CalloutArrow.as      | 6 +++++-
 .../spark/src/spark/skins/spark/supportClasses/CalloutArrow.as | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0de450fd/frameworks/projects/mobiletheme/src/spark/skins/android4/supportClasses/CalloutArrow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/supportClasses/CalloutArrow.as b/frameworks/projects/mobiletheme/src/spark/skins/android4/supportClasses/CalloutArrow.as
index c18d457..64f6e0c 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/android4/supportClasses/CalloutArrow.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/supportClasses/CalloutArrow.as
@@ -57,7 +57,11 @@ public class CalloutArrow extends UIComponent
         
         useBackgroundGradient = true;
         
-        var applicationDPI:Number = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		var applicationDPI:Number = DPIClassification.DPI_160;
+		if (FlexGlobals.topLevelApplication is Application)
+		{
+			applicationDPI = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		}
         
         // Copy DPI-specific values from CalloutSkin
         switch (applicationDPI)

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0de450fd/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
index 34f896b..605e01a 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as
@@ -56,7 +56,11 @@ public class CalloutArrow extends UIComponent
         
         useBackgroundGradient = true;
         
-        var applicationDPI:Number = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		var applicationDPI:Number = DPIClassification.DPI_160;
+		if (FlexGlobals.topLevelApplication is Application)
+		{
+			applicationDPI = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		}
         
         // Copy DPI-specific values from CalloutSkin
         switch (applicationDPI)

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0de450fd/frameworks/projects/spark/src/spark/skins/spark/supportClasses/CalloutArrow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/skins/spark/supportClasses/CalloutArrow.as b/frameworks/projects/spark/src/spark/skins/spark/supportClasses/CalloutArrow.as
index 9a22c67..a39ecad 100644
--- a/frameworks/projects/spark/src/spark/skins/spark/supportClasses/CalloutArrow.as
+++ b/frameworks/projects/spark/src/spark/skins/spark/supportClasses/CalloutArrow.as
@@ -58,7 +58,11 @@ public class CalloutArrow extends UIComponent
 
         useBackgroundGradient = true;
 
-        var applicationDPI:Number = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		var applicationDPI:Number = DPIClassification.DPI_160;
+		if (FlexGlobals.topLevelApplication is Application)
+		{
+			applicationDPI = Application(FlexGlobals.topLevelApplication).applicationDPI;
+		}
 
         // Copy DPI-specific values from CalloutSkin
         switch (applicationDPI)


[05/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Fix for https://issues.apache.org/jira/browse/FLEX-34556 (thanks to Jorn Nolles)

Posted by bi...@apache.org.
Fix for https://issues.apache.org/jira/browse/FLEX-34556 (thanks to Jorn Nolles)


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

Branch: refs/heads/iso7skins
Commit: 74dca41e004668f1914b1dc494a9d454f7205e61
Parents: e72f72e
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Tue Oct 7 12:26:03 2014 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Tue Oct 7 12:26:03 2014 -0700

----------------------------------------------------------------------
 .../framework/src/mx/core/RuntimeDPIProvider.as | 51 +++++++++++---------
 1 file changed, 27 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/74dca41e/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as b/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
index 7ce8cc7..7d82fb8 100644
--- a/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
+++ b/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
@@ -118,31 +118,34 @@ public class RuntimeDPIProvider
      */
 
     public function get runtimeDPI():Number
-    {
-        var isIOS:Boolean = Platform.isIOS;
-        var screenDPI:Number = Capabilities.screenDPI;
-
-        if (isIOS) // as isIPad returns false in the simulator
+	{
+		if (Platform.isIOS) // as isIPad returns false in the simulator
 		{
-            var root:DisplayObject = SystemManager.getSWFRoot(this);
-            if (root != null )  {
-                var stage:Stage = root.stage;
-                if (stage != null){
-                    var scX:Number = stage.fullScreenWidth;
-                    var scY:Number = stage.fullScreenHeight;
-                    /*  as of Dec 2013,  iPad (resp. iPad retina) are the only iOS devices to have 1024 (resp. 2048) screen width or height
-                     cf http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density#Apple
-                     * */
-                    if ((scX == IPAD_RETINA_MAX_EXTENT || scY == IPAD_RETINA_MAX_EXTENT))
-                        return DPIClassification.DPI_320;
-                    else if (scX == IPAD_MAX_EXTENT || scY == IPAD_MAX_EXTENT)
-                        return DPIClassification.DPI_160;
-                }
-            }
-        }
-		
-        return classifyDPI(screenDPI);
-    }
+			var scX:Number = Capabilities.screenResolutionX;
+			var scY:Number = Capabilities.screenResolutionY;
+					
+			// Use the stage width/height only when debugging, because Capabilities reports the computer resolution
+			if (Capabilities.isDebugger)
+			{
+				var root:DisplayObject = SystemManager.getSWFRoot(this);
+				if (root && root.stage)
+				{
+					scX = root.stage.fullScreenWidth;
+					scY = root.stage.fullScreenHeight;
+				}
+			}
+					
+			/*  as of Dec 2013,  iPad (resp. iPad retina) are the only iOS devices to have 1024 (resp. 2048) screen width or height
+			cf http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density#Apple
+			* */
+			if (scX == IPAD_MAX_EXTENT || scY == IPAD_MAX_EXTENT)
+				return DPIClassification.DPI_160;
+			else if ((scX == IPAD_RETINA_MAX_EXTENT || scY == IPAD_RETINA_MAX_EXTENT))
+				return DPIClassification.DPI_320;
+		}
+				
+		return classifyDPI(Capabilities.screenDPI);
+	}
     
     /**
      *  @private


[20/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Added FP 15 swfversion condition

Posted by bi...@apache.org.
Added FP 15 swfversion condition

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/iso7skins
Commit: 39e5a906a80227ceb77322b057e8cee8807f7dfc
Parents: 332ec43
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Oct 24 12:58:36 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri Oct 24 13:04:18 2014 +0200

----------------------------------------------------------------------
 frameworks/build.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/39e5a906/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index fcfa9f9..3780f11 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -204,6 +204,9 @@
 		<condition property="playerglobal.swfversion" value="25">
 			<equals arg1="${playerglobal.version}" arg2="14.0" />
 		</condition>
+		<condition property="playerglobal.swfversion" value="26">
+			<equals arg1="${playerglobal.version}" arg2="15.0" />
+		</condition>
 	</target>	
 
     <!--