flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [20/21] move AS code into a projects/FlexJSUI
Date Mon, 18 Nov 2013 21:03:15 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/jquery-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/jquery-manifest.xml b/frameworks/as/jquery-manifest.xml
deleted file mode 100644
index cdb9dd5..0000000
--- a/frameworks/as/jquery-manifest.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
-
--->
-
-
-<componentPackage>
-
-    <component id="Application" class="org.apache.flex.jquery.Application"/>
-    <component id="TextButton" class="org.apache.flex.jquery.staticControls.TextButton"/>
-    <component id="CheckBox" class="org.apache.flex.jquery.staticControls.CheckBox"/>
-    <component id="RadioButton" class="org.apache.flex.jquery.staticControls.RadioButton"/>
-
-</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/mx-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/mx-manifest.xml b/frameworks/as/mx-manifest.xml
deleted file mode 100644
index 6654ace..0000000
--- a/frameworks/as/mx-manifest.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?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.
-
--->
-
-
-<componentPackage>
-
-    <component id="State" class="mx.states.State"/>
-
-</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/basic-manifest.xml b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
new file mode 100644
index 0000000..7b2aaa5
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
@@ -0,0 +1,74 @@
+<?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.
+
+-->
+
+
+<componentPackage>
+
+    <component id="Application" class="org.apache.flex.core.Application"/>
+    <component id="SimpleValuesImpl" class="org.apache.flex.core.SimpleValuesImpl"/>
+    <component id="SimpleCSSValuesImpl" class="org.apache.flex.core.SimpleCSSValuesImpl"/>
+    <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
+    <component id="ConstantBinding" class="org.apache.flex.binding.ConstantBinding"/>
+    <component id="SimpleBinding" class="org.apache.flex.binding.SimpleBinding"/>
+    <component id="Button" class="org.apache.flex.html.staticControls.Button"/>
+    <component id="ButtonBar" class="org.apache.flex.html.staticControls.ButtonBar"/>
+    <component id="DataGrid" class="org.apache.flex.html.staticControls.DataGrid"/>
+    <component id="DropDownList" class="org.apache.flex.html.staticControls.DropDownList"/>
+    <component id="DropDownListList" class="org.apache.flex.html.staticControls.supportClasses.DropDownListList"/>
+    <component id="Image" class="org.apache.flex.html.staticControls.Image"/>
+    <component id="Label" class="org.apache.flex.html.staticControls.Label"/>
+    <component id="TextButton" class="org.apache.flex.html.staticControls.TextButton"/>
+    <component id="TextInput" class="org.apache.flex.html.staticControls.TextInput"/>
+    <component id="TextArea" class="org.apache.flex.html.staticControls.TextArea"/>
+    <component id="List" class="org.apache.flex.html.staticControls.List"/>
+    <component id="SimpleList" class="org.apache.flex.html.staticControls.SimpleList"/>
+    <component id="CheckBox" class="org.apache.flex.html.staticControls.CheckBox"/>
+    <component id="RadioButton" class="org.apache.flex.html.staticControls.RadioButton"/>
+    <component id="ComboBox" class="org.apache.flex.html.staticControls.ComboBox"/>
+    <component id="HTTPService" class="org.apache.flex.net.HTTPService"/>
+    <component id="LazyCollection" class="org.apache.flex.net.dataConverters.LazyCollection"/>
+    <component id="JSONInputParser" class="org.apache.flex.net.JSONInputParser"/>
+    <component id="JSONItemConverter" class="org.apache.flex.net.JSONItemConverter"/>
+    <component id="ViewSourceContextMenuOption" class="org.apache.flex.utils.ViewSourceContextMenuOption"/>
+    <component id="BinaryUploader" class="org.apache.flex.net.BinaryUploader"/>
+    <component id="Container" class="org.apache.flex.html.staticControls.Container"/>
+    <component id="Panel" class="org.apache.flex.html.staticControls.Panel"/>
+    <component id="ControlBar" class="org.apache.flex.html.staticControls.ControlBar"/>
+    <component id="TitleBar" class="org.apache.flex.html.staticControls.TitleBar"/>
+    <component id="TitleBarModel" class="org.apache.flex.html.staticControls.beads.models.TitleBarModel"/>
+    <component id="NonVirtualVerticalLayout" class="org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalLayout"/>
+    <component id="NonVirtualHorizontalLayout" class="org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout"/>
+    <component id="SimpleAlert" class="org.apache.flex.html.staticControls.SimpleAlert"/>
+    <component id="Alert" class="org.apache.flex.html.staticControls.Alert"/>
+    <component id="Spinner" class="org.apache.flex.html.staticControls.Spinner"/>
+    <component id="Slider" class="org.apache.flex.html.staticControls.Slider"/>
+    <component id="ViewBaseDataBinding" class="org.apache.flex.core.ViewBaseDataBinding"/>
+    <component id="NumericStepper" class="org.apache.flex.html.staticControls.NumericStepper" />
+    <component id="TextFieldItemRenderer" class="org.apache.flex.html.staticControls.supportClasses.TextFieldItemRenderer"/>
+    <component id="StringItemRenderer" class="org.apache.flex.html.staticControls.supportClasses.StringItemRenderer"/>
+    <component id="DataItemRenderer" class="org.apache.flex.html.staticControls.supportClasses.DataItemRenderer"/>
+    <component id="ButtonBarButtonItemRenderer" class="org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer"/>
+    <component id="ScrollBar" class="org.apache.flex.html.staticControls.supportClasses.ScrollBar"/>
+    <component id="NumericOnlyTextInputBead" class="org.apache.flex.html.staticControls.accessories.NumericOnlyTextInputBead" />
+    <component id="PasswordInputBead" class="org.apache.flex.html.staticControls.accessories.PasswordInputBead" />
+    <component id="TextPromptBead" class="org.apache.flex.html.staticControls.accessories.TextPromptBead" />
+    <component id="DataGridPresentationModel" class="org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel" />
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/build.properties
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/build.properties b/frameworks/as/projects/FlexJSUI/build.properties
new file mode 100644
index 0000000..06c0c33
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/build.properties
@@ -0,0 +1,60 @@
+################################################################################
+##
+##  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-sdk-description values
+release = Apache Flex ASJS 0.0.1
+release.version = 0.0.1
+
+# override on command line with -Dbuild.number=999 or in local.properties
+build.number = 0
+
+playerglobal.version = 11.1
+
+# locale = en_US
+
+qa.dir = ${basedir}/../qa
+asc = ${basedir}/bin/asc
+
+# TextLayoutFormat version.  This is a sub-directory in frameworks/textLayout.
+tlf.version = 3.0.33
+
+# For Java 7 on Mac OS X, you need an Intel-based Mac running Mac OS X version 10.7.3 
+# (Lion) and above.  Only the 64-bit data model is available so leave this blank.
+# Since ant properties are immutable, if this property is set in the build file before
+# this file is included, setting it to nothing here is a no-op.
+local.d32 =
+
+src.depend = true
+src.debug = on
+
+# JVM options for <compc> and <mxmlc> tasks
+jvm.args = ${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true
+    # -d32/-d64 for 32-bit/64-bit code model (or don't specify for the default)
+	# -Xms64m: start out with a 64 MB heap
+	# -Xmx384m: allow the heap to grow to 384 MB
+	# -ea: enable Java assertions
+compc.jvm.args = ${jvm.args}
+mxmlc.jvm.args = ${jvm.args}
+
+# JAR Manifest Entries
+manifest.sealed=false
+manifest.Implementation-Title=Apache Flex ASJS
+manifest.Implementation-Version=${release.version}
+manifest.Implementation-Vendor=The Apache Software Foundation
+manifest.Implementation-Vendor-Id=org.apache

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/build.xml b/frameworks/as/projects/FlexJSUI/build.xml
new file mode 100644
index 0000000..3a31fbe
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/build.xml
@@ -0,0 +1,69 @@
+<?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="framework" default="main" basedir=".">
+    <property name="FLEXJS_HOME" location="."/>
+    
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/build.properties"/>
+    <property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
+
+    <target name="main" depends="clean,compile" description="Clean build of FlexJSUI.swc">
+    </target>
+    
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${FLEXJS_HOME}/libs">
+                <include name="FlexJSUI.swc"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <target name="compile" description="Compiles FlexJSUI.swc">
+        <echo message="Compiling libs/FlexJSUI.swc"/>
+        <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+
+        <!-- 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"/>
+        <!--
+            Link in the classes (and their dependencies) for the MXML tags
+            listed in this project's manifest.xml.
+            Also link the additional classes (and their dependencies)
+            listed in FlexJSUIClasses.as,
+            because these aren't referenced by the manifest classes.
+            Keep the standard metadata when compiling.
+            Include the appropriate CSS files and assets in the SWC.
+            Don't include any resources in the SWC.
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+        -->
+        <compc fork="true"
+               output="${FLEXJS_HOME}/libs/FlexJSUI.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>
+    
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/compile-config.xml b/frameworks/as/projects/FlexJSUI/compile-config.xml
new file mode 100644
index 0000000..aa41d8e
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/compile-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+  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>false</accessible>
+        
+        <external-library-path>
+            <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
+        </external-library-path>
+        
+        <locale/>
+        
+        <library-path/>
+
+        <namespaces>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/basic</uri>
+                <manifest>basic-manifest.xml</manifest>
+            </namespace>
+            <namespace>
+                <uri>library://ns.adobe.com/flex/mx</uri>
+                <manifest>mx-manifest.xml</manifest>
+            </namespace>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/html5</uri>
+                <manifest>html5-manifest.xml</manifest>
+            </namespace>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/jquery</uri>
+                <manifest>jquery-manifest.xml</manifest>
+            </namespace>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/createjs</uri>
+                <manifest>createjs-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>src</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-file>
+        <name>defaults.css</name>
+        <path>defaults.css</path>
+    </include-file>
+
+    <include-classes>
+        <class>FlexJSUIClasses</class>
+    </include-classes>
+    
+    <include-namespaces>
+        <uri>library://ns.apache.org/flexjs/basic</uri>
+        <uri>library://ns.adobe.com/flex/mx</uri>
+        <uri>library://ns.apache.org/flexjs/html5</uri>
+        <uri>library://ns.apache.org/flexjs/jquery</uri>
+        <uri>library://ns.apache.org/flexjs/createjs</uri>
+    </include-namespaces>  
+        
+    <target-player>${playerglobal.version}</target-player>
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/createjs-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/createjs-manifest.xml b/frameworks/as/projects/FlexJSUI/createjs-manifest.xml
new file mode 100644
index 0000000..c72090c
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/createjs-manifest.xml
@@ -0,0 +1,31 @@
+<?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.
+
+-->
+
+
+<componentPackage>
+
+    <component id="Application" class="org.apache.flex.createjs.Application"/>
+    <component id="UIBase" class="org.apache.flex.createjs.core.UIBase"/>
+    <component id="ViewBase" class="org.apache.flex.createjs.core.ViewBase"/>
+    <component id="Label" class="org.apache.flex.createjs.staticControls.Label"/>
+    <component id="TextButton" class="org.apache.flex.createjs.staticControls.TextButton"/>
+    <component id="CheckBox" class="org.apache.flex.createjs.staticControls.CheckBox"/>
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/defaults.css b/frameworks/as/projects/FlexJSUI/defaults.css
new file mode 100644
index 0000000..69ffc96
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/defaults.css
@@ -0,0 +1,388 @@
+/*
+ *
+ *  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.
+ *
+ */
+
+@namespace "library://ns.apache.org/flexjs/basic";
+@namespace h5 "library://ns.apache.org/flexjs/html5";
+@namespace jq "library://ns.apache.org/flexjs/jquery";
+@namespace createjs "library://ns.apache.org/flexjs/createjs";
+
+/* Global style declaration */
+*
+{
+    font-family: "Arial";
+    font-size: 12px;
+}
+
+Button
+{
+	background-color: #d8d8d8;
+	border: 1px solid #000000;
+	padding: 4px;
+	/*IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CSSButtonView");*/
+}
+
+Button:hover
+{
+	background-color: #9fa0a1;
+	border: 1px solid #000000;
+	padding: 4px;
+}
+
+Button:active
+{
+	background-color: #929496;
+	border: 1px solid #000000;
+	padding: 4px;
+}
+
+ButtonBar
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.ButtonBarView");			
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ListSingleSelectionMouseController");
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout");
+    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer");
+
+    border-style: none;
+}
+
+ButtonBarButtonItemRenderer
+{
+    width: 80;
+    height: 30;
+}
+
+DataGrid
+{
+    IDataGridPresentationModel: ClassReference("org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.DataGridView");
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.DataGridModel");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.StringItemRenderer");
+
+    background-color: #FFFFFF;
+}
+
+List
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.ListView");			
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ListSingleSelectionMouseController");
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalScrollingLayout");
+    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.staticControls.beads.DataItemRendererFactoryForArrayData");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.DataItemRenderer");
+}
+
+SimpleList
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.ListView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ListSingleSelectionMouseController");
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalScrollingLayout");
+    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.StringItemRenderer");
+}
+
+StringItemRenderer
+{
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController");
+    height: 16;
+}
+
+/* Global Style Declaration */
+global
+{
+    IStatesImpl: ClassReference("org.apache.flex.core.SimpleStatesImpl");
+}
+
+@media -flex-flash
+{
+
+Alert
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.AlertModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.AlertView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.AlertController");
+    iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
+    iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
+    
+    background-color: #FFFFFF;
+    border-style: solid;
+    border-color: #000000;
+    border-thickness: 1;
+}
+
+CheckBox
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxView");			
+}
+
+ComboBox
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ComboBoxModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ComboBoxController");
+    IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
+    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.StringItemRenderer");
+}
+
+Container
+{
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ContainerView")
+}
+
+ControlBar
+{
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout");
+    iMeasurementBead: ClassReference("org.apache.flex.html.staticControls.beads.ControlBarMeasurementBead");
+    iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
+    iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
+    
+    background-color: #CECECE;
+    border-style: solid;
+    border-color: #000000;
+    border-thickness: 1;
+}
+
+DropDownList
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.DropDownListView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.DropDownListController");
+    IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
+}
+
+DropDownListList
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData");
+    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+    IItemRenderer: ClassReference("org.apache.flex.html.staticControls.supportClasses.StringItemRenderer");
+}
+
+Image
+{
+    width: 64;
+    height: 64;
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ImageModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.ImageView");
+}
+
+Label
+{
+	width: 95;
+	height: 18;
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextFieldView");
+	iMeasurementBead: ClassReference("org.apache.flex.html.staticControls.beads.TextFieldLabelMeasurementBead");
+}
+
+NumericStepper
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.RangeModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.NumericStepperView");
+    
+    padding: 0px;
+    border-style: solid;
+    border-color: #000000;
+    border-thickness: 1;
+    background-color: #FFFFFF;
+    iBorderBead: ClassReference('org.apache.flex.html.staticControls.beads.SingleLineBorderBead');
+    iBackgroundBead: ClassReference('org.apache.flex.html.staticControls.beads.SolidBackgroundBead');
+}
+
+Panel
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.PanelModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.PanelView");
+    iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
+    iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
+    
+    background-color: #FFFFFF;
+    border-style: solid;
+    border-color: #000000;
+    border-thickness: 1;
+}
+
+RadioButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonView");			
+}
+
+ScrollBar
+{
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.VScrollBarLayout");
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ScrollBarModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ScrollBarView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.VScrollBarMouseController");
+}
+
+SimpleAlert
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.AlertModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.SimpleAlertView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.AlertController");
+    iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
+    iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
+    
+    background-color: #FFFFFF;
+    border-style: solid;
+    border-color: #000000;
+    border-thickness: 1;
+}
+
+Slider
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.RangeModel");
+    iBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.SliderView");
+    iBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.SliderMouseController");
+    iThumbView: ClassReference("org.apache.flex.html.staticControls.beads.SliderThumbView");
+    iTrackView: ClassReference("org.apache.flex.html.staticControls.beads.SliderTrackView");
+}
+
+Spinner
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.RangeModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.SpinnerView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController");
+}
+
+TextArea
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextAreaView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.EditableTextKeyboardController");
+    width: 135;
+    height: 20;
+}
+
+TextButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonView");
+    iMeasurementBead: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonMeasurementBead");
+}
+
+TextFieldItemRenderer
+{
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController");
+    height: 16;
+}
+
+TextInput
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderView");
+    IBeadController: ClassReference("org.apache.flex.html.staticControls.beads.controllers.EditableTextKeyboardController");
+	width: 135;
+	height: 20;
+}
+
+TitleBar
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TitleBarModel");
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout");
+    iMeasurementBead: ClassReference("org.apache.flex.html.staticControls.beads.TitleBarMeasurementBead");
+}
+
+/* HTML5 */
+
+h5|TextButton
+{
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonView");
+}
+
+h5|TextInput
+{
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderView");
+}
+
+h5|CheckBox
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxView");			
+}
+
+h5|RadioButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonView");			
+}
+
+h5|List
+{
+	IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+}
+
+h5|DropDownList
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelectionModel");
+    IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
+}
+
+h5|ComboBox
+{
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxView");
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ComboBoxModel");
+    IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
+}
+
+/* jQuery */
+
+jq|TextButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonView");
+}
+
+
+jq|CheckBox
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxView");			
+}
+
+jq|RadioButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
+    IBeadView:  ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonView");			
+}
+
+/* createjs */
+
+createjs|TextButton
+{
+    IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonView");
+}
+
+createjs|CheckBox
+{
+    IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxView");
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/flex-config.xml b/frameworks/as/projects/FlexJSUI/flex-config.xml
new file mode 100644
index 0000000..e91d830
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/flex-config.xml
@@ -0,0 +1,434 @@
+<?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.
+
+-->
+
+
+<flex-config>
+    <!-- Specifies the minimum player version that will run the compiled SWF. -->
+   <target-player>11.1</target-player>
+
+    <!-- Specifies the version of the compiled SWF -->
+   <swf-version>14</swf-version>
+
+   <compiler>
+
+      <!-- Turn on generation of accessible SWFs. -->
+      <accessible>true</accessible>
+
+      <!-- Specifies the locales for internationalization. -->
+      <locale>
+          <locale-element>en_US</locale-element>
+      </locale>
+
+      <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
+      <!-- not set -->
+      <!--
+      <source-path>
+         <path-element>string</path-element>
+      </source-path>
+      -->
+
+     <!-- Allow the source-path to have path-elements which contain other path-elements -->
+     <allow-source-path-overlap>false</allow-source-path-overlap>
+
+      <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+      <!-- code.                                                                       -->
+      <show-actionscript-warnings>true</show-actionscript-warnings>
+
+      <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
+      <!-- but true by default for compc. -->
+      <!--
+      <debug>true</debug>
+      -->
+
+      <!-- List of SWC files or directories to compile against but to omit from -->
+      <!-- linking.                                                             -->
+      <external-library-path>
+          <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+      </external-library-path>
+
+      <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
+      <!-- the compiler during mxml translation and are helpful with understanding and   -->
+      <!-- debugging Flex applications.                                                  -->
+      <keep-generated-actionscript>false</keep-generated-actionscript>
+
+      <!-- not set -->
+      <!--
+      <include-libraries>
+         <library>string</library>
+      </include-libraries>
+      -->
+
+      <!-- List of SWC files or directories that contain SWC files. -->
+      <library-path>
+         <path-element>libs</path-element>
+         <path-element>locale/en_US</path-element>
+         <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+      </library-path>
+
+      <namespaces>
+      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+      <!-- elements.                                                                -->
+         <namespace>
+            <uri>library://ns.apache.org/flexjs/basic</uri>
+            
+            <manifest>basic-manifest.xml</manifest>
+         
+        </namespace>                                                 
+         <namespace>
+            <uri>library://ns.apache.org/flexjs/html5</uri>
+            
+            <manifest>html5-manifest.xml</manifest>
+         
+        </namespace>   
+      </namespaces>
+
+      <!-- Enable post-link SWF optimization. -->
+      <optimize>true</optimize>
+
+      <!-- Enable trace statement omission. -->
+      <omit-trace-statements>true</omit-trace-statements>
+
+      <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+      <!-- Warning: For the data binding feature in the Flex framework to work properly,                 -->
+      <!--          the following metadata must be kept:                                                 -->
+      <!--          1. Bindable                                                                          -->
+      <!--          2. Managed                                                                           -->
+      <!--          3. ChangeEvent                                                                       -->
+      <!--          4. NonCommittingChangeEvent                                                          -->
+      <!--          5. Transient                                                                         -->
+      <!--
+      <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+      </keep-as3-metadata>
+      -->
+
+      <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
+      <!-- will not be able to detect assignments to "foo".                               -->
+      <show-binding-warnings>true</show-binding-warnings>
+
+      <!-- toggle whether warnings generated from unused type selectors are displayed -->
+      <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
+
+      <!-- Run the AS3 compiler in strict error checking mode. -->
+      <strict>true</strict>
+
+      <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
+      <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
+      <!-- (-strict is recommended, but not required, for earlier errors) -->
+      <as3>true</as3>
+
+      <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
+      <!-- properties. In the prototype based object model built-in functions are implemented as dynamic      -->
+      <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for         -->
+      <!-- references to dynamic properties) -->
+      <es>false</es>
+
+      <!-- List of CSS or SWC files to apply as a theme. -->
+      <theme>
+      </theme>
+
+      <!-- Turns on the display of stack traces for uncaught runtime errors. -->
+      <verbose-stacktraces>false</verbose-stacktraces>
+
+      <!-- Defines the AS3 file encoding. -->
+      <!-- not set -->
+      <!--
+      <actionscript-file-encoding></actionscript-file-encoding>
+      -->
+
+      <fonts>
+
+          <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
+          <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
+          <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
+          <advanced-anti-aliasing>true</advanced-anti-aliasing>
+
+          <!-- The number of embedded font faces that are cached. -->
+          <max-cached-fonts>20</max-cached-fonts>
+
+          <!-- The number of character glyph outlines to cache for each font face. -->
+          <max-glyphs-per-face>1000</max-glyphs-per-face>
+
+          <!-- Defines ranges that can be used across multiple font-face declarations. -->
+          <!-- See flash-unicode-table.xml for more examples. -->
+          <!-- not set -->
+          <!--
+          <languages>
+              <language-range>
+                  <lang>englishRange</lang>
+                  <range>U+0020-007E</range>
+              </language-range>
+          </languages>
+          -->
+
+          <!-- Compiler font manager classes, in policy resolution order -->
+          <!-- NOTE: For Apache Flex -->
+          <!-- AFEFontManager and CFFFontManager both use proprietary technology.  -->
+          <!-- You must install the optional font jars if you wish to use embedded fonts  -->
+          <!-- directly or you can use fontswf to precompile the font as a swf.  -->
+          <managers>
+              <manager-class>flash.fonts.JREFontManager</manager-class>
+              <manager-class>flash.fonts.BatikFontManager</manager-class>
+              <manager-class>flash.fonts.AFEFontManager</manager-class>
+              <manager-class>flash.fonts.CFFFontManager</manager-class>
+          </managers>
+
+          <!-- File containing cached system font licensing information produced via
+               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
+               Will default to winFonts.ser on Windows XP and
+               macFonts.ser on Mac OS X, so is commented out by default.
+
+          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
+          -->
+
+      </fonts>
+      
+      <!-- Array.toString() format has changed. -->
+      <warn-array-tostring-changes>false</warn-array-tostring-changes>
+
+      <!-- Assignment within conditional. -->
+      <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
+
+      <!-- Possibly invalid Array cast operation. -->
+      <warn-bad-array-cast>true</warn-bad-array-cast>
+
+      <!-- Non-Boolean value used where a Boolean value was expected. -->
+      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
+
+      <!-- Invalid Date cast operation. -->
+      <warn-bad-date-cast>true</warn-bad-date-cast>
+
+      <!-- Unknown method. -->
+      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
+
+      <!-- Unknown property. -->
+      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
+
+      <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
+      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
+
+      <!-- Impossible assignment to null. -->
+      <warn-bad-null-assignment>true</warn-bad-null-assignment>
+
+      <!-- Illogical comparison with null. -->
+      <warn-bad-null-comparison>true</warn-bad-null-comparison>
+
+      <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
+      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+      <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
+      <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
+
+      <!-- __resolve is no longer supported. -->
+      <warn-changes-in-resolve>false</warn-changes-in-resolve>
+
+      <!-- Class is sealed. It cannot have members added to it dynamically. -->
+      <warn-class-is-sealed>true</warn-class-is-sealed>
+
+      <!-- Constant not initialized. -->
+      <warn-const-not-initialized>true</warn-const-not-initialized>
+
+      <!-- Function used in new expression returns a value. Result will be what the -->
+      <!-- function returns, rather than a new instance of that function.           -->
+      <warn-constructor-returns-value>false</warn-constructor-returns-value>
+
+      <!-- EventHandler was not added as a listener. -->
+      <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
+
+      <!-- Unsupported ActionScript 2.0 function. -->
+      <warn-deprecated-function-error>true</warn-deprecated-function-error>
+
+      <!-- Unsupported ActionScript 2.0 property. -->
+      <warn-deprecated-property-error>true</warn-deprecated-property-error>
+
+      <!-- More than one argument by the same name. -->
+      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
+
+      <!-- Duplicate variable definition -->
+      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+      <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
+      <warn-for-var-in-changes>false</warn-for-var-in-changes>
+
+      <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
+      <warn-import-hides-class>true</warn-import-hides-class>
+
+      <!-- Use of the instanceof operator. -->
+      <warn-instance-of-changes>true</warn-instance-of-changes>
+
+      <!-- Internal error in compiler. -->
+      <warn-internal-error>true</warn-internal-error>
+
+      <!-- _level is no longer supported. For more information, see the flash.display package. -->
+      <warn-level-not-supported>true</warn-level-not-supported>
+
+      <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+      <!-- Negative value will become a large positive value when assigned to a uint data type. -->
+      <warn-negative-uint-literal>true</warn-negative-uint-literal>
+
+      <!-- Missing constructor. -->
+      <warn-no-constructor>false</warn-no-constructor>
+
+      <!-- The super() statement was not called within the constructor. -->
+      <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
+
+      <!-- Missing type declaration. -->
+      <warn-no-type-decl>true</warn-no-type-decl>
+
+      <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
+      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
+      <warn-number-from-string-changes>false</warn-number-from-string-changes>
+
+      <!-- Change in scoping for the this keyword. Class methods extracted from an  -->
+      <!-- instance of a class will always resolve this back to that instance. In   -->
+      <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
+      <!-- is invoked from.                                                         -->
+      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
+
+      <!-- Inefficient use of += on a TextField.-->
+      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
+
+      <!-- Possible missing parentheses. -->
+      <warn-unlikely-function-value>true</warn-unlikely-function-value>
+
+      <!-- Possible usage of the ActionScript 2.0 XML class. -->
+      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+
+   </compiler>
+
+   <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
+                        cross-domain rsl.-->
+   <!-- compute-digest usage:
+   <compute-digest>boolean</compute-digest>
+   -->
+
+   <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
+   <remove-unused-rsls>true</remove-unused-rsls>
+
+   <!-- A list of runtime shared library URLs to be loaded before applications start. -->
+   <!-- not set -->
+   <!--
+   <runtime-shared-libraries>
+      <url>string</url>
+      <url>string</url>
+   </runtime-shared-libraries>
+   -->
+	
+	<!-- runtime-shared-library-path: specifies a SWC or directory to link against and an RSL URL to load with optional failover URLs -->  
+      <!-- Framework SWC 
+      	<runtime-shared-library-path>
+		<path-element>libs/framework.swc</path-element>
+		<rsl-url>framework_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+	-->
+
+  
+	  <!-- TextLayout SWC -->
+	<!-- 
+	    Even though there is no textLayout rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    <runtime-shared-library-path>
+		<path-element>libs/textLayout.swc</path-element>
+		<rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+    -->
+    
+      <!-- Spark SWC
+   	<runtime-shared-library-path>
+		<path-element>libs/spark.swc</path-element>
+		<rsl-url>spark_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+    -->	
+      <!-- Sparkskins SWC
+   	<runtime-shared-library-path>
+		<path-element>libs/sparkskins.swc</path-element>
+		<rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+	 -->
+	  <!-- RPC SWC
+	<runtime-shared-library-path>
+		<path-element>libs/rpc.swc</path-element>
+		<rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+	 -->    	
+      <!-- Charts SWC 
+	<runtime-shared-library-path>
+		<path-element>libs/charts.swc</path-element>
+		<rsl-url>charts_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+     -->
+      <!-- Spark_dmv SWC 
+	<runtime-shared-library-path>
+		<path-element>libs/spark_dmv.swc</path-element>
+		<rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+    -->
+      <!-- OSMF SWC -->
+	<!-- 
+	    Even though there is no OSMF rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    <runtime-shared-library-path>
+		<path-element>libs/osmf.swc</path-element>
+		<rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+    -->
+      
+      <!-- MX SWC 
+	<runtime-shared-library-path>
+		<path-element>libs/mx/mx.swc</path-element>
+		<rsl-url>mx_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+   -->
+      <!-- Advancedgrids SWC 
+	<runtime-shared-library-path>
+		<path-element>libs/advancedgrids.swc</path-element>
+		<rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
+	</runtime-shared-library-path>
+	-->
+	<!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
+	<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
+
+   <!-- target-player: specifies the version of the player the application is targeting.
+                       Features requiring a later version will not be compiled into the application.
+                       The minimum value supported is "9.0.0".-->
+   <!-- target-player usage:
+   <target-player>version</target-player>
+   -->
+
+   <!-- Enables SWFs to access the network. -->
+   <use-network>true</use-network>
+
+   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+   <metadata>
+      <title>Apache FlexJS Application</title>
+      <description>http://flex.apache.org/</description>
+      <publisher>Apache Software Foundation</publisher>
+      <creator>unknown</creator>
+      <language>EN</language>
+   </metadata>
+   
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/flex-sdk-description.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/flex-sdk-description.xml b/frameworks/as/projects/FlexJSUI/flex-sdk-description.xml
new file mode 100644
index 0000000..cc72eab
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/flex-sdk-description.xml
@@ -0,0 +1,25 @@
+<?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.
+
+-->
+<flex-sdk-description>
+<name>Apache FlexJS Prototype</name>
+<version>4.9.0</version>
+<build>1425567</build>
+</flex-sdk-description>
+        
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/html5-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/html5-manifest.xml b/frameworks/as/projects/FlexJSUI/html5-manifest.xml
new file mode 100644
index 0000000..efba2fa
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/html5-manifest.xml
@@ -0,0 +1,35 @@
+<?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.
+
+-->
+
+
+<componentPackage>
+
+    
+    <component id="Label" class="org.apache.flex.html5.staticControls.Label"/>
+    <component id="TextButton" class="org.apache.flex.html5.staticControls.TextButton"/>
+    <component id="TextInput" class="org.apache.flex.html5.staticControls.TextInput"/>
+    <component id="TextArea" class="org.apache.flex.html5.staticControls.TextArea"/>
+    <component id="CheckBox" class="org.apache.flex.html5.staticControls.CheckBox"/>
+    <component id="RadioButton" class="org.apache.flex.html5.staticControls.RadioButton"/>
+    <component id="List" class="org.apache.flex.html5.staticControls.List"/>
+    <component id="DropDownList" class="org.apache.flex.html5.staticControls.DropDownList"/>
+    <component id="ComboBox" class="org.apache.flex.html5.staticControls.ComboBox"/>
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/jquery-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/jquery-manifest.xml b/frameworks/as/projects/FlexJSUI/jquery-manifest.xml
new file mode 100644
index 0000000..cdb9dd5
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/jquery-manifest.xml
@@ -0,0 +1,29 @@
+<?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.
+
+-->
+
+
+<componentPackage>
+
+    <component id="Application" class="org.apache.flex.jquery.Application"/>
+    <component id="TextButton" class="org.apache.flex.jquery.staticControls.TextButton"/>
+    <component id="CheckBox" class="org.apache.flex.jquery.staticControls.CheckBox"/>
+    <component id="RadioButton" class="org.apache.flex.jquery.staticControls.RadioButton"/>
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/mx-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/mx-manifest.xml b/frameworks/as/projects/FlexJSUI/mx-manifest.xml
new file mode 100644
index 0000000..6654ace
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/mx-manifest.xml
@@ -0,0 +1,26 @@
+<?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.
+
+-->
+
+
+<componentPackage>
+
+    <component id="State" class="mx.states.State"/>
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as b/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
new file mode 100644
index 0000000..f9c6a68
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
@@ -0,0 +1,127 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 rpc.swc
+ *  beyond those that are found by dependecy analysis starting
+ *  from the classes specified in manifest.xml.
+ */
+internal class FlexJSUIClasses
+{
+	import org.apache.flex.html.staticControls.accessories.NumericOnlyTextInputBead; NumericOnlyTextInputBead;
+	import org.apache.flex.html.staticControls.accessories.PasswordInputBead; PasswordInputBead;
+	import org.apache.flex.html.staticControls.accessories.TextPromptBead; TextPromptBead;
+    import org.apache.flex.html.staticControls.beads.AlertView; AlertView;
+	import org.apache.flex.html.staticControls.beads.ButtonBarView; ButtonBarView;
+	import org.apache.flex.html.staticControls.beads.CheckBoxView; CheckBoxView;
+    import org.apache.flex.html.staticControls.beads.ComboBoxView; ComboBoxView;
+    import org.apache.flex.html.staticControls.beads.ContainerView; ContainerView;
+    import org.apache.flex.html.staticControls.beads.ControlBarMeasurementBead; ControlBarMeasurementBead;
+	import org.apache.flex.html.staticControls.beads.CSSTextButtonView; CSSTextButtonView;
+	import org.apache.flex.html.staticControls.beads.DataGridColumnView; DataGridColumnView;
+	import org.apache.flex.html.staticControls.beads.DataGridView; DataGridView;
+    import org.apache.flex.html.staticControls.beads.DropDownListView; DropDownListView;
+	import org.apache.flex.html.staticControls.beads.ImageView; ImageView;
+    import org.apache.flex.html.staticControls.beads.ListView; ListView;
+    import org.apache.flex.html.staticControls.beads.NumericStepperView; NumericStepperView;
+    import org.apache.flex.html.staticControls.beads.PanelView; PanelView;
+	import org.apache.flex.html.staticControls.beads.RadioButtonView; RadioButtonView;
+    import org.apache.flex.html.staticControls.beads.ScrollBarView; ScrollBarView;
+	import org.apache.flex.html.staticControls.beads.SimpleAlertView; SimpleAlertView;
+	import org.apache.flex.html.staticControls.beads.SliderView; SliderView;
+	import org.apache.flex.html.staticControls.beads.SliderThumbView; SliderThumbView;
+	import org.apache.flex.html.staticControls.beads.SliderTrackView; SliderTrackView;
+    import org.apache.flex.html.staticControls.beads.SpinnerView; SpinnerView;
+    import org.apache.flex.html.staticControls.beads.TextButtonMeasurementBead; TextButtonMeasurementBead;
+	import org.apache.flex.html.staticControls.beads.TextFieldLabelMeasurementBead; TextFieldLabelMeasurementBead;
+    import org.apache.flex.html.staticControls.beads.TextAreaView; TextAreaView;
+    import org.apache.flex.html.staticControls.beads.TextButtonView; TextButtonView;
+    import org.apache.flex.html.staticControls.beads.TextFieldView; TextFieldView;
+    import org.apache.flex.html.staticControls.beads.TextInputView; TextInputView;
+    import org.apache.flex.html.staticControls.beads.TextInputWithBorderView; TextInputWithBorderView;
+    import org.apache.flex.html.staticControls.beads.TitleBarMeasurementBead; TitleBarMeasurementBead;
+    import org.apache.flex.html.staticControls.beads.models.AlertModel; AlertModel;
+    import org.apache.flex.html.staticControls.beads.models.ArraySelectionModel; ArraySelectionModel;
+    import org.apache.flex.html.staticControls.beads.models.ComboBoxModel; ComboBoxModel;
+	import org.apache.flex.html.staticControls.beads.models.DataGridModel; DataGridModel;
+	import org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel; DataGridPresentationModel;
+	import org.apache.flex.html.staticControls.beads.models.ImageModel; ImageModel;
+	import org.apache.flex.html.staticControls.beads.models.PanelModel; PanelModel;
+	import org.apache.flex.html.staticControls.beads.models.TextModel; TextModel;
+    import org.apache.flex.html.staticControls.beads.models.TitleBarModel; TitleBarModel;
+	import org.apache.flex.html.staticControls.beads.models.ToggleButtonModel; ToggleButtonModel;
+	import org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel; ValueToggleButtonModel;
+    import org.apache.flex.html.staticControls.beads.controllers.AlertController; AlertController;
+	import org.apache.flex.html.staticControls.beads.controllers.ComboBoxController; ComboBoxController;
+    import org.apache.flex.html.staticControls.beads.controllers.DropDownListController; DropDownListController;
+	import org.apache.flex.html.staticControls.beads.controllers.EditableTextKeyboardController; EditableTextKeyboardController;
+    import org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController; ItemRendererMouseController;
+    import org.apache.flex.html.staticControls.beads.controllers.ListSingleSelectionMouseController; ListSingleSelectionMouseController;
+	import org.apache.flex.html.staticControls.beads.controllers.SliderMouseController; SliderMouseController;
+	import org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController; SpinnerMouseController;
+    import org.apache.flex.html.staticControls.beads.controllers.VScrollBarMouseController; VScrollBarMouseController;
+	import org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout; ButtonBarLayout;
+    import org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalScrollingLayout; NonVirtualVerticalScrollingLayout;  
+	import org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalScrollingLayout; NonVirtualHorizontalScrollingLayout;
+    import org.apache.flex.html.staticControls.beads.layouts.VScrollBarLayout; VScrollBarLayout;
+    import org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData; TextItemRendererFactoryForArrayData;
+	import org.apache.flex.html.staticControls.beads.DataItemRendererFactoryForArrayData; DataItemRendererFactoryForArrayData;
+    import org.apache.flex.core.ItemRendererClassFactory; ItemRendererClassFactory;    
+	import org.apache.flex.events.CustomEvent; CustomEvent;
+	import org.apache.flex.events.Event; Event;
+	import org.apache.flex.utils.Timer; Timer;
+    import org.apache.flex.core.SimpleStatesImpl; SimpleStatesImpl;
+    
+    import mx.binding.ArrayElementWatcher; ArrayElementWatcher;
+    import mx.binding.Binding; Binding;
+    import mx.binding.BindingManager; BindingManager;
+    import mx.binding.FunctionReturnWatcher; FunctionReturnWatcher;
+    import mx.binding.IBindingClient; IBindingClient;
+    import mx.binding.IWatcherSetupUtil2; IWatcherSetupUtil2;
+    import mx.binding.PropertyWatcher; PropertyWatcher;
+    import mx.binding.RepeaterComponentWatcher; RepeaterComponentWatcher;
+    import mx.binding.RepeaterItemWatcher; RepeaterItemWatcher;
+    import mx.binding.StaticPropertyWatcher; StaticPropertyWatcher;
+    import mx.binding.Watcher; Watcher;
+    import mx.binding.XMLWatcher; XMLWatcher;
+    import mx.core.ClassFactory; ClassFactory;
+    import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
+    import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
+    import mx.core.IDeferredInstance; IDeferredInstance;
+    import mx.core.IFactory; IFactory;
+    import mx.core.IFlexModuleFactory; IFlexModuleFactory;
+    import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
+    import mx.core.IStateClient2; IStateClient2;
+    import mx.events.PropertyChangeEvent; PropertyChangeEvent;
+    import mx.filters.IBitmapFilter; IBitmapFilter;
+    import mx.styles.CSSCondition; CSSCondition;
+    import mx.styles.CSSSelector; CSSSelector;
+    import mx.styles.CSSStyleDeclaration; CSSStyleDeclaration;
+    import mx.styles.IStyleManager2; IStyleManager2;
+    import mx.styles.StyleManager; StyleManager;
+    
+    import mx.states.AddItems; AddItems;
+    import mx.states.SetProperty; SetProperty;
+    import mx.states.State; State;
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
new file mode 100644
index 0000000..024af6c
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
@@ -0,0 +1,77 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+[ExcludeClass]
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class ArrayElementWatcher extends Watcher
+{
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 *  Constructor
+	 */
+    public function ArrayElementWatcher(document:Object,
+                                        accessorFunc:Function,
+                                        listeners:Array)
+    {
+		super(listeners);
+
+        this.document = document;
+        this.accessorFunc = accessorFunc;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 */
+	private var document:Object;
+    
+    /**
+	 *  @private
+	 */
+	private var accessorFunc:Function;
+
+    /**
+	 *  @private
+	 */
+    public var arrayWatcher:Watcher;
+
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
new file mode 100644
index 0000000..b822dcd
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
@@ -0,0 +1,85 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class Binding
+{
+    
+    //--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Create a Binding object
+	 *
+     *  @param document The document that is the target of all of this work.
+	 *
+     *  @param srcFunc The function that returns us the value
+	 *  to use in this Binding.
+	 *
+     *  @param destFunc The function that will take a value
+	 *  and assign it to the destination.
+	 *
+     *  @param destString The destination represented as a String.
+	 *  We can then tell the ValidationManager to validate this field.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function Binding(document:Object, srcFunc:Function,
+						    destFunc:Function, destString:String,
+							srcString:String = null)
+    {
+    }
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Execute the binding.
+     *  Call the source function and get the value we'll use.
+     *  Then call the destination function passing the value as an argument.
+     *  Finally try to validate the destination.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function execute(o:Object = null):void
+    {
+    }
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
new file mode 100644
index 0000000..3ef557b
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+package mx.binding
+{
+	public class BindingManager
+	{
+        public static function executeBindings(document:Object,
+                                               destStr:String,
+                                               destObj:Object):void
+        {
+            
+        }
+ 	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
new file mode 100644
index 0000000..2dfd63e
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
@@ -0,0 +1,129 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+[ExcludeClass]
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class FunctionReturnWatcher extends Watcher
+{
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 *  Constructor.
+	 */
+	public function FunctionReturnWatcher(functionName:String,
+										  document:Object,
+										  parameterFunction:Function,
+										  events:Object,
+                                          listeners:Array,
+                                          functionGetter:Function = null,
+                                          isStyle:Boolean = false)
+    {
+		super(listeners);
+
+        this.functionName = functionName;
+        this.document = document;
+        this.parameterFunction = parameterFunction;
+        this.events = events;
+        this.functionGetter = functionGetter;
+        this.isStyle = isStyle;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+     *  The name of the property, used to actually get the property
+	 *  and for comparison in propertyChanged events.
+     */
+    private var functionName:String;
+    
+	/**
+ 	 *  @private
+     *  The document is what we need to use to execute the parameter function.
+     */
+    private var document:Object;
+    
+	/**
+ 	 *  @private
+     *  The function that will give us the parameters for calling the function.
+     */
+    private var parameterFunction:Function;
+    
+    /**
+ 	 *  @private
+     *  The events that indicate the property has changed.
+     */
+    private var events:Object;
+    
+	/**
+	 *  @private
+     *  The parent object of this function.
+     */
+    private var parentObj:Object;
+    
+	/**
+	 *  @private
+     *  The watcher holding onto the parent object.
+     */
+    public var parentWatcher:Watcher;
+
+    /**
+     *  Storage for the functionGetter property.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    private var functionGetter:Function;
+
+    /**
+     *  Storage for the isStyle property.  This will be true, when
+     *  watching a function marked with [Bindable(style="true")].  For
+     *  example, UIComponent.getStyle().
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+    private var isStyle:Boolean;
+
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
new file mode 100644
index 0000000..14f2fb4
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public interface IBindingClient
+{
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66246d8a/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
new file mode 100644
index 0000000..e2311d4
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+[ExcludeClass]
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public interface IWatcherSetupUtil2
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	function setup(target:Object, propertyGetter:Function,
+                   staticPropertyGetter:Function,
+				   bindings:Array, watchers:Array):void;
+}
+
+}


Mime
View raw message