You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/04/24 08:16:41 UTC

[1/9] git commit: [flex-asjs] [refs/heads/develop] - don't need this import

Repository: flex-asjs
Updated Branches:
  refs/heads/develop cb294dffc -> 930e8bcd9


don't need this import


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

Branch: refs/heads/develop
Commit: 95d0e5b75f2bef5e9f853d1695a1b4195d9a8599
Parents: cb294df
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 22 12:21:27 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 22 12:21:27 2015 -0700

----------------------------------------------------------------------
 examples/FlexJSStore/src/productsView/ProductDetails.mxml | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/95d0e5b7/examples/FlexJSStore/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductDetails.mxml b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
index 08886ad..4e22f74 100755
--- a/examples/FlexJSStore/src/productsView/ProductDetails.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
@@ -35,8 +35,6 @@ limitations under the License.
     <fx:Script>
         <![CDATA[
 
-		import mx.events.*;
-		
 		import samples.flexstore.Product;
 		import samples.flexstore.ProductThumbEvent;
 


[5/9] git commit: [flex-asjs] [refs/heads/develop] - move mx classes into org.apache.flex

Posted by ah...@apache.org.
move mx classes into org.apache.flex


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

Branch: refs/heads/develop
Commit: 6dc5cfb981f7f283b1d973983ffc7e79d180d972
Parents: 71b9923
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 22 13:23:23 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 22 13:23:23 2015 -0700

----------------------------------------------------------------------
 .../Core/as/src/mx/core/ClassFactory.as         |  90 -------------
 .../projects/Core/as/src/mx/core/IFactory.as    |  46 -------
 .../projects/Core/as/src/mx/states/AddItems.as  | 101 ---------------
 .../Core/as/src/mx/states/ItemAndDescriptor.as  |  70 ----------
 .../Core/as/src/mx/states/SetEventHandler.as    |  79 ------------
 .../Core/as/src/mx/states/SetProperty.as        |  81 ------------
 .../projects/Core/as/src/mx/states/State.as     |  83 ------------
 .../as/src/org/apache/flex/core/ClassFactory.as |  90 +++++++++++++
 .../as/src/org/apache/flex/core/IFactory.as     |  46 +++++++
 .../as/src/org/apache/flex/states/AddItems.as   | 101 +++++++++++++++
 .../org/apache/flex/states/ItemAndDescriptor.as |  70 ++++++++++
 .../org/apache/flex/states/SetEventHandler.as   |  79 ++++++++++++
 .../src/org/apache/flex/states/SetProperty.as   |  81 ++++++++++++
 .../Core/as/src/org/apache/flex/states/State.as |  83 ++++++++++++
 .../Core/js/src/mx/core/ClassFactory.js         |  64 ---------
 .../projects/Core/js/src/mx/core/IFactory.js    |  45 -------
 .../projects/Core/js/src/mx/states/AddItems.js  | 129 -------------------
 .../Core/js/src/mx/states/SetEventHandler.js    |  91 -------------
 .../Core/js/src/mx/states/SetProperty.js        |  98 --------------
 .../projects/Core/js/src/mx/states/State.js     |  49 -------
 .../js/src/org/apache/flex/core/ClassFactory.js |  64 +++++++++
 .../js/src/org/apache/flex/core/IFactory.js     |  45 +++++++
 .../js/src/org/apache/flex/states/AddItems.js   | 129 +++++++++++++++++++
 .../org/apache/flex/states/SetEventHandler.js   |  91 +++++++++++++
 .../src/org/apache/flex/states/SetProperty.js   |  98 ++++++++++++++
 .../Core/js/src/org/apache/flex/states/State.js |  49 +++++++
 26 files changed, 1026 insertions(+), 1026 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/core/ClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/core/ClassFactory.as b/frameworks/projects/Core/as/src/mx/core/ClassFactory.as
deleted file mode 100644
index 5c0964c..0000000
--- a/frameworks/projects/Core/as/src/mx/core/ClassFactory.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 mx.core
-{
-	import mx.core.IFactory;
-	
-    /**
-     *  The ClassFactory class is the basic implementation
-     *  of an IFactory that will generate multiple
-     *  instances of item renderers or custom classes.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class ClassFactory implements IFactory
-	{
-        /**
-         *  The class to instantiate.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public var generator:Class;
-
-        /**
-         *  Initial properties assigned to each instance.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public var properties:Object;
-		
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function ClassFactory(generator:Class=null)
-		{
-			this.generator = generator;
-		}
-		
-        /**
-         *  @copy mx.core.IFactory#newInstance()
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function newInstance():*
-		{
-			var obj:* = new generator();
-			
-			if (properties) {
-				for (var prop:String in properties) {
-					obj[prop] = properties[prop];
-				}
-			}
-			
-			return obj;
-		}
-	}
-}
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/core/IFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/core/IFactory.as b/frameworks/projects/Core/as/src/mx/core/IFactory.as
deleted file mode 100644
index aaac8e3..0000000
--- a/frameworks/projects/Core/as/src/mx/core/IFactory.as
+++ /dev/null
@@ -1,46 +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 mx.core
-{
-    /**
-     *  The IFactory interface is the basic interface used as the 
-     *  type for properties that specify a factory for item renderers
-     *  and other scenarios where multiple copies of a custom
-     *  class are generated.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public interface IFactory
-	{
-        /**
-         *  This method is called to generate a new instance of
-         *  an item renderer or other custom class.
-         * 
-         *  @return A new instance of an item renderer or other custom class.
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		function newInstance():*;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/states/AddItems.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/states/AddItems.as b/frameworks/projects/Core/as/src/mx/states/AddItems.as
deleted file mode 100644
index 99777cb..0000000
--- a/frameworks/projects/Core/as/src/mx/states/AddItems.as
+++ /dev/null
@@ -1,101 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-// shim the mx classes for states.  Be careful about updates to the main SDK's
-// version as that will move the timestamp ahead of this one and then it will
-// take precedence over this one at link time.
-package mx.states
-{
-    import org.apache.flex.core.IDocument;
-    
-    [ExcludeClass]
-    
-    /**
-     *  The AddItems class is one of the classes in the
-     *  view states subsystem.  Note that the FlexJS
-     *  versions are simply data structures interpreted
-     *  by a central States implementation.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class AddItems implements IDocument
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function AddItems()
-		{
-			super();
-		}
-		
-        public var items:Array;
-        
-		public var itemsDescriptorIndex:int;     
-
-        public var itemsDescriptor:ItemAndDescriptor;     
-        
-        public var destination:String;
-        
-        public var propertyName:String;
-        
-        public var position:String;
-        
-        public var relativeTo:String;
-        
-        public var document:Object;
-        
-        public function setDocument(document:Object, id:String = null):void
-        {
-            this.document = document;
-            var data:Object = document.mxmlsd[itemsDescriptorIndex];
-            if (data is Array)
-            {
-                itemsDescriptor = new ItemAndDescriptor();
-                itemsDescriptor.descriptor = data as Array;
-                // replace the entry in the document so subsequent
-                // addItems know it is shared
-                document.mxmlsd[itemsDescriptorIndex] = itemsDescriptor;
-            }
-            else
-                itemsDescriptor = data as ItemAndDescriptor;
-        }
-        
-        /**
-         * @private 
-         * Initialize this object from a descriptor.
-         */
-        public function initializeFromObject(properties:Object):Object
-        {
-            for (var p:String in properties)
-            {
-                this[p] = properties[p];
-            }
-            
-            return Object(this);
-        }
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/states/ItemAndDescriptor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/states/ItemAndDescriptor.as b/frameworks/projects/Core/as/src/mx/states/ItemAndDescriptor.as
deleted file mode 100644
index e704917..0000000
--- a/frameworks/projects/Core/as/src/mx/states/ItemAndDescriptor.as
+++ /dev/null
@@ -1,70 +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 mx.states
-{
-    
-    [ExcludeClass]
-    
-    /**
-     *  A data structure to store an instance
-     *  and its descriptor array.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class ItemAndDescriptor
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function ItemAndDescriptor()
-		{
-			super();
-		}
-		
-        /**
-         *  The item or items created from the descriptor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-        public var items:Object;
-        
-        /**
-         *  The descriptor used to create the item(s).
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-        public var descriptor:Array;     
-        
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/states/SetEventHandler.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/states/SetEventHandler.as b/frameworks/projects/Core/as/src/mx/states/SetEventHandler.as
deleted file mode 100644
index 95246a0..0000000
--- a/frameworks/projects/Core/as/src/mx/states/SetEventHandler.as
+++ /dev/null
@@ -1,79 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-// shim the mx classes for states
-package mx.states
-{
-    import org.apache.flex.core.IDocument;
-    
-    [ExcludeClass]
-    
-    /**
-     *  The SetEventHandler class is one of the classes in the
-     *  view states subsystem.  Note that the FlexJS
-     *  versions are simply data structures interpreted
-     *  by a central States implementation.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class SetEventHandler implements IDocument
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function SetEventHandler()
-		{
-			super();
-		}
-		
-        public var target:String;
-        
-        public var name:String;
-        
-        public var handlerFunction:Function;
-
-        public var document:Object;
-        
-        public function setDocument(document:Object, id:String = null):void
-        {
-            this.document = document;
-        }
-        
-        /**
-         * @private 
-         * Initialize this object from a descriptor.
-         */
-        public function initializeFromObject(properties:Object):Object
-        {
-            for (var p:String in properties)
-            {
-                this[p] = properties[p];
-            }
-            
-            return Object(this);
-        }
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/states/SetProperty.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/states/SetProperty.as b/frameworks/projects/Core/as/src/mx/states/SetProperty.as
deleted file mode 100644
index 595f84a..0000000
--- a/frameworks/projects/Core/as/src/mx/states/SetProperty.as
+++ /dev/null
@@ -1,81 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-// shim the mx classes for states
-package mx.states
-{
-    import org.apache.flex.core.IDocument;
-    
-    [ExcludeClass]
-    
-    /**
-     *  The SetProperty class is one of the classes in the
-     *  view states subsystem.  Note that the FlexJS
-     *  versions are simply data structures interpreted
-     *  by a central States implementation.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class SetProperty implements IDocument
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function SetProperty()
-		{
-			super();
-		}
-		
-        public var target:String;
-        
-        public var name:String;
-        
-        public var value:*;
-
-        public var previousValue:*;
-        
-        public var document:Object;
-        
-        public function setDocument(document:Object, id:String = null):void
-        {
-            this.document = document;
-        }
-        
-        /**
-         * @private 
-         * Initialize this object from a descriptor.
-         */
-        public function initializeFromObject(properties:Object):Object
-        {
-            for (var p:String in properties)
-            {
-                this[p] = properties[p];
-            }
-            
-            return Object(this);
-        }
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/mx/states/State.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/mx/states/State.as b/frameworks/projects/Core/as/src/mx/states/State.as
deleted file mode 100644
index 3c08d57..0000000
--- a/frameworks/projects/Core/as/src/mx/states/State.as
+++ /dev/null
@@ -1,83 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-// shim the mx classes for states
-package mx.states
-{
-    /**
-     *  The State class is one of the classes in the
-     *  view states subsystem.  It is used to declare a 
-     *  view state in an MXML document.  This is one of the
-     *  few classes in FlexJS that use the same name as
-     *  a Flex SDK class because some of the IDEs and
-     *  compilers are hard-coded to assume this name.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class State
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @param properties This parameter is not used in FlexJS and exists to make legacy compilers happy.
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public function State(properties:Object = null)
-		{
-			super();
-		}
-		
-        /**
-         *  The name of the state.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-		public var name:String;
-        
-        /**
-         *  Comma-delimited list of state groups of the state.
-         *  It is not an array so don't use square brackets [].
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-        public var stateGroups:String;
-        
-        /**
-         *  The array of overrides.  This is normally set by the compiler.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
-         *  @productversion Flex 3
-         */
-        public var overrides:Array;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
new file mode 100644
index 0000000..5c0964c
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.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 mx.core
+{
+	import mx.core.IFactory;
+	
+    /**
+     *  The ClassFactory class is the basic implementation
+     *  of an IFactory that will generate multiple
+     *  instances of item renderers or custom classes.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class ClassFactory implements IFactory
+	{
+        /**
+         *  The class to instantiate.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public var generator:Class;
+
+        /**
+         *  Initial properties assigned to each instance.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public var properties:Object;
+		
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function ClassFactory(generator:Class=null)
+		{
+			this.generator = generator;
+		}
+		
+        /**
+         *  @copy mx.core.IFactory#newInstance()
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function newInstance():*
+		{
+			var obj:* = new generator();
+			
+			if (properties) {
+				for (var prop:String in properties) {
+					obj[prop] = properties[prop];
+				}
+			}
+			
+			return obj;
+		}
+	}
+}
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
new file mode 100644
index 0000000..aaac8e3
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.core
+{
+    /**
+     *  The IFactory interface is the basic interface used as the 
+     *  type for properties that specify a factory for item renderers
+     *  and other scenarios where multiple copies of a custom
+     *  class are generated.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public interface IFactory
+	{
+        /**
+         *  This method is called to generate a new instance of
+         *  an item renderer or other custom class.
+         * 
+         *  @return A new instance of an item renderer or other custom class.
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		function newInstance():*;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as b/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
new file mode 100644
index 0000000..99777cb
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
@@ -0,0 +1,101 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+// shim the mx classes for states.  Be careful about updates to the main SDK's
+// version as that will move the timestamp ahead of this one and then it will
+// take precedence over this one at link time.
+package mx.states
+{
+    import org.apache.flex.core.IDocument;
+    
+    [ExcludeClass]
+    
+    /**
+     *  The AddItems class is one of the classes in the
+     *  view states subsystem.  Note that the FlexJS
+     *  versions are simply data structures interpreted
+     *  by a central States implementation.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class AddItems implements IDocument
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function AddItems()
+		{
+			super();
+		}
+		
+        public var items:Array;
+        
+		public var itemsDescriptorIndex:int;     
+
+        public var itemsDescriptor:ItemAndDescriptor;     
+        
+        public var destination:String;
+        
+        public var propertyName:String;
+        
+        public var position:String;
+        
+        public var relativeTo:String;
+        
+        public var document:Object;
+        
+        public function setDocument(document:Object, id:String = null):void
+        {
+            this.document = document;
+            var data:Object = document.mxmlsd[itemsDescriptorIndex];
+            if (data is Array)
+            {
+                itemsDescriptor = new ItemAndDescriptor();
+                itemsDescriptor.descriptor = data as Array;
+                // replace the entry in the document so subsequent
+                // addItems know it is shared
+                document.mxmlsd[itemsDescriptorIndex] = itemsDescriptor;
+            }
+            else
+                itemsDescriptor = data as ItemAndDescriptor;
+        }
+        
+        /**
+         * @private 
+         * Initialize this object from a descriptor.
+         */
+        public function initializeFromObject(properties:Object):Object
+        {
+            for (var p:String in properties)
+            {
+                this[p] = properties[p];
+            }
+            
+            return Object(this);
+        }
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as b/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
new file mode 100644
index 0000000..e704917
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
@@ -0,0 +1,70 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.states
+{
+    
+    [ExcludeClass]
+    
+    /**
+     *  A data structure to store an instance
+     *  and its descriptor array.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class ItemAndDescriptor
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function ItemAndDescriptor()
+		{
+			super();
+		}
+		
+        /**
+         *  The item or items created from the descriptor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var items:Object;
+        
+        /**
+         *  The descriptor used to create the item(s).
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var descriptor:Array;     
+        
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as b/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
new file mode 100644
index 0000000..95246a0
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
@@ -0,0 +1,79 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+// shim the mx classes for states
+package mx.states
+{
+    import org.apache.flex.core.IDocument;
+    
+    [ExcludeClass]
+    
+    /**
+     *  The SetEventHandler class is one of the classes in the
+     *  view states subsystem.  Note that the FlexJS
+     *  versions are simply data structures interpreted
+     *  by a central States implementation.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class SetEventHandler implements IDocument
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function SetEventHandler()
+		{
+			super();
+		}
+		
+        public var target:String;
+        
+        public var name:String;
+        
+        public var handlerFunction:Function;
+
+        public var document:Object;
+        
+        public function setDocument(document:Object, id:String = null):void
+        {
+            this.document = document;
+        }
+        
+        /**
+         * @private 
+         * Initialize this object from a descriptor.
+         */
+        public function initializeFromObject(properties:Object):Object
+        {
+            for (var p:String in properties)
+            {
+                this[p] = properties[p];
+            }
+            
+            return Object(this);
+        }
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as b/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
new file mode 100644
index 0000000..595f84a
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
@@ -0,0 +1,81 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+// shim the mx classes for states
+package mx.states
+{
+    import org.apache.flex.core.IDocument;
+    
+    [ExcludeClass]
+    
+    /**
+     *  The SetProperty class is one of the classes in the
+     *  view states subsystem.  Note that the FlexJS
+     *  versions are simply data structures interpreted
+     *  by a central States implementation.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class SetProperty implements IDocument
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function SetProperty()
+		{
+			super();
+		}
+		
+        public var target:String;
+        
+        public var name:String;
+        
+        public var value:*;
+
+        public var previousValue:*;
+        
+        public var document:Object;
+        
+        public function setDocument(document:Object, id:String = null):void
+        {
+            this.document = document;
+        }
+        
+        /**
+         * @private 
+         * Initialize this object from a descriptor.
+         */
+        public function initializeFromObject(properties:Object):Object
+        {
+            for (var p:String in properties)
+            {
+                this[p] = properties[p];
+            }
+            
+            return Object(this);
+        }
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/State.as b/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
new file mode 100644
index 0000000..3c08d57
--- /dev/null
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
@@ -0,0 +1,83 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+// shim the mx classes for states
+package mx.states
+{
+    /**
+     *  The State class is one of the classes in the
+     *  view states subsystem.  It is used to declare a 
+     *  view state in an MXML document.  This is one of the
+     *  few classes in FlexJS that use the same name as
+     *  a Flex SDK class because some of the IDEs and
+     *  compilers are hard-coded to assume this name.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class State
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @param properties This parameter is not used in FlexJS and exists to make legacy compilers happy.
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public function State(properties:Object = null)
+		{
+			super();
+		}
+		
+        /**
+         *  The name of the state.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+		public var name:String;
+        
+        /**
+         *  Comma-delimited list of state groups of the state.
+         *  It is not an array so don't use square brackets [].
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var stateGroups:String;
+        
+        /**
+         *  The array of overrides.  This is normally set by the compiler.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var overrides:Array;
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/core/ClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/core/ClassFactory.js b/frameworks/projects/Core/js/src/mx/core/ClassFactory.js
deleted file mode 100644
index 97fec5c..0000000
--- a/frameworks/projects/Core/js/src/mx/core/ClassFactory.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('mx_core_ClassFactory');
-
-goog.require('mx_core_IFactory');
-
-
-
-/**
- * @constructor
- * @implements {mx_core_IFactory}
- * @param {Function} generator The class definition to use for newInstance.
- */
-mx_core_ClassFactory = function(generator) {
-  /**
-   * @private
-   * @type {Function}
-   */
-  this.generator_ = generator;
-  this.properties_ = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_core_ClassFactory.prototype.
-    FLEXJS_CLASS_INFO =
-        { names: [{ name: 'ClassFactory',
-           qName: 'mx_core_ClassFactory' }],
-    interfaces: [mx_core_IFactory] };
-
-
-/**
- * @expose
- * @return {Object} The new instance of the class described by generator.
- */
-mx_core_ClassFactory.
-    prototype.newInstance = function() {
-  var obj = new this.generator_();
-
-  if (this.properties_) {
-    var prop;
-    for (prop in this.properties_) {
-      obj[prop] = this.properties_[prop];
-    }
-  }
-
-  return obj;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/core/IFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/core/IFactory.js b/frameworks/projects/Core/js/src/mx/core/IFactory.js
deleted file mode 100644
index 556a4e0..0000000
--- a/frameworks/projects/Core/js/src/mx/core/IFactory.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed 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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('mx_core_IFactory');
-
-
-
-/**
- * @interface
- */
-mx_core_IFactory = function() {
-};
-
-
-/**
- * @expose
- * @return {Object} A new instance of the itemRenderer.
- */
-mx_core_IFactory.prototype.newInstance = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_core_IFactory.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IFactory',
-                qName: 'mx_core_IFactory' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/states/AddItems.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/states/AddItems.js b/frameworks/projects/Core/js/src/mx/states/AddItems.js
deleted file mode 100644
index 22f7619..0000000
--- a/frameworks/projects/Core/js/src/mx/states/AddItems.js
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('mx_states_AddItems');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_AddItems = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_AddItems.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'AddItems',
-                qName: 'mx_states_AddItems' }],
-      interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_AddItems.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-  var data = document['mxmlsd'][this.itemsDescriptorIndex];
-  if (typeof(data.slice) == 'function') {
-    this.itemsDescriptor = {};
-    this.itemsDescriptor.descriptor = data;
-    // replace the entry in the document so subsequent
-    // addItems know it is shared
-    this.document['mxmlsd'][this.itemsDescriptorIndex] = this.itemsDescriptor;
-  } else
-    this.itemsDescriptor = data;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_AddItems.prototype.document = null;
-
-
-/**
- * @expose
- * @type {Array} items The array of items to add.
- */
-mx_states_AddItems.prototype.items = null;
-
-
-/**
- * @expose
- * @type {number} itemsDescriptor The index into the array
- *                               of itemDescriptors on the document
- */
-mx_states_AddItems.prototype.itemsDescriptorIndex = -1;
-
-
-/**
- * @expose
- * @type {Object} itemsDescriptor The descriptors for items.
- */
-mx_states_AddItems.prototype.itemsDescriptor = null;
-
-
-/**
- * @expose
- * @type {string} destination The id of the parent.
- */
-mx_states_AddItems.prototype.destination = '';
-
-
-/**
- * @expose
- * @type {string} propertyName The child property name (e.g. mxmlContent).
- */
-mx_states_AddItems.prototype.propertyName = '';
-
-
-/**
- * @expose
- * @type {string} position Where the item goes relative to relativeTo.
- */
-mx_states_AddItems.prototype.position = '';
-
-
-/**
- * @expose
- * @type {?string} relativeTo The id of the child where the item goes.
- */
-mx_states_AddItems.prototype.relativeTo = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_AddItems.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/states/SetEventHandler.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/states/SetEventHandler.js b/frameworks/projects/Core/js/src/mx/states/SetEventHandler.js
deleted file mode 100644
index 1edc36e..0000000
--- a/frameworks/projects/Core/js/src/mx/states/SetEventHandler.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('mx_states_SetEventHandler');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_SetEventHandler = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SetEventHandler',
-                qName: 'mx_states_SetEventHandler' }],
-      interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_SetEventHandler.prototype.document = null;
-
-
-/**
- * @expose
- * @type {string} name The event to listen for.
- */
-mx_states_SetEventHandler.prototype.name = '';
-
-
-/**
- * @expose
- * @type {string} target The id of the object.
- */
-mx_states_SetEventHandler.prototype.target = '';
-
-
-/**
- * @expose
- * @type {Object} handlerFunction The listener to be added.
- */
-mx_states_SetEventHandler.prototype.handlerFunction = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_SetEventHandler.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/states/SetProperty.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/states/SetProperty.js b/frameworks/projects/Core/js/src/mx/states/SetProperty.js
deleted file mode 100644
index f7feca9..0000000
--- a/frameworks/projects/Core/js/src/mx/states/SetProperty.js
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('mx_states_SetProperty');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_SetProperty = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SetProperty',
-                qName: 'mx_states_SetProperty' }],
-      interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_SetProperty.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_SetProperty.prototype.document = null;
-
-
-/**
- * @expose
- * @type {string} name The target property name.
- */
-mx_states_SetProperty.prototype.name = '';
-
-
-/**
- * @expose
- * @type {?string} target The id of the object.
- */
-mx_states_SetProperty.prototype.target = null;
-
-
-/**
- * @expose
- * @type {Object} previousValue The value to revert to.
- */
-mx_states_SetProperty.prototype.previousValue = null;
-
-
-/**
- * @expose
- * @type {Object} value The value to set.
- */
-mx_states_SetProperty.prototype.value = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_SetProperty.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/mx/states/State.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/mx/states/State.js b/frameworks/projects/Core/js/src/mx/states/State.js
deleted file mode 100644
index 0d6df35..0000000
--- a/frameworks/projects/Core/js/src/mx/states/State.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('mx_states_State');
-
-
-
-/**
- * @constructor
- * @param {Object=} opt_props The initial properties.
- */
-mx_states_State = function(opt_props) {
-  opt_props = typeof opt_props !== 'undefined' ? opt_props : null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_State.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'State',
-                qName: 'mx_states_State' }] };
-
-
-/**
- * @expose
- * @type {string} name The state name.
- */
-mx_states_State.prototype.name = '';
-
-
-/**
- * @expose
- * @type {Array} overrides The state data.
- */
-mx_states_State.prototype.overrides = null;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
new file mode 100644
index 0000000..97fec5c
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
@@ -0,0 +1,64 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('mx_core_ClassFactory');
+
+goog.require('mx_core_IFactory');
+
+
+
+/**
+ * @constructor
+ * @implements {mx_core_IFactory}
+ * @param {Function} generator The class definition to use for newInstance.
+ */
+mx_core_ClassFactory = function(generator) {
+  /**
+   * @private
+   * @type {Function}
+   */
+  this.generator_ = generator;
+  this.properties_ = null;
+};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_core_ClassFactory.prototype.
+    FLEXJS_CLASS_INFO =
+        { names: [{ name: 'ClassFactory',
+           qName: 'mx_core_ClassFactory' }],
+    interfaces: [mx_core_IFactory] };
+
+
+/**
+ * @expose
+ * @return {Object} The new instance of the class described by generator.
+ */
+mx_core_ClassFactory.
+    prototype.newInstance = function() {
+  var obj = new this.generator_();
+
+  if (this.properties_) {
+    var prop;
+    for (prop in this.properties_) {
+      obj[prop] = this.properties_[prop];
+    }
+  }
+
+  return obj;
+};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
new file mode 100644
index 0000000..556a4e0
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
@@ -0,0 +1,45 @@
+/**
+ * Licensed 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.
+ */
+
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
+goog.provide('mx_core_IFactory');
+
+
+
+/**
+ * @interface
+ */
+mx_core_IFactory = function() {
+};
+
+
+/**
+ * @expose
+ * @return {Object} A new instance of the itemRenderer.
+ */
+mx_core_IFactory.prototype.newInstance = function() {};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_core_IFactory.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'IFactory',
+                qName: 'mx_core_IFactory' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js b/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
new file mode 100644
index 0000000..22f7619
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
@@ -0,0 +1,129 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('mx_states_AddItems');
+
+goog.require('org_apache_flex_core_IDocument');
+
+
+
+/**
+ * @constructor
+ * @implements {org_apache_flex_core_IDocument}
+ */
+mx_states_AddItems = function() {
+};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_states_AddItems.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'AddItems',
+                qName: 'mx_states_AddItems' }],
+      interfaces: [org_apache_flex_core_IDocument] };
+
+
+/**
+ * @param {Object} document The MXML object.
+ * @param {?string=} opt_id The id.
+ */
+mx_states_AddItems.prototype.setDocument = function(document, opt_id) {
+  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
+  this.document = document;
+  var data = document['mxmlsd'][this.itemsDescriptorIndex];
+  if (typeof(data.slice) == 'function') {
+    this.itemsDescriptor = {};
+    this.itemsDescriptor.descriptor = data;
+    // replace the entry in the document so subsequent
+    // addItems know it is shared
+    this.document['mxmlsd'][this.itemsDescriptorIndex] = this.itemsDescriptor;
+  } else
+    this.itemsDescriptor = data;
+};
+
+
+/**
+ * @expose
+ * @type {Object} document The MXML object.
+ */
+mx_states_AddItems.prototype.document = null;
+
+
+/**
+ * @expose
+ * @type {Array} items The array of items to add.
+ */
+mx_states_AddItems.prototype.items = null;
+
+
+/**
+ * @expose
+ * @type {number} itemsDescriptor The index into the array
+ *                               of itemDescriptors on the document
+ */
+mx_states_AddItems.prototype.itemsDescriptorIndex = -1;
+
+
+/**
+ * @expose
+ * @type {Object} itemsDescriptor The descriptors for items.
+ */
+mx_states_AddItems.prototype.itemsDescriptor = null;
+
+
+/**
+ * @expose
+ * @type {string} destination The id of the parent.
+ */
+mx_states_AddItems.prototype.destination = '';
+
+
+/**
+ * @expose
+ * @type {string} propertyName The child property name (e.g. mxmlContent).
+ */
+mx_states_AddItems.prototype.propertyName = '';
+
+
+/**
+ * @expose
+ * @type {string} position Where the item goes relative to relativeTo.
+ */
+mx_states_AddItems.prototype.position = '';
+
+
+/**
+ * @expose
+ * @type {?string} relativeTo The id of the child where the item goes.
+ */
+mx_states_AddItems.prototype.relativeTo = null;
+
+
+/**
+ * @expose
+ * @param {Object} properties The properties for the new object.
+ * @return {Object} The new object.
+ */
+mx_states_AddItems.prototype.initializeFromObject = function(properties) {
+  var p;
+
+  for (p in properties) {
+    this[p] = properties[p];
+  }
+
+  return this;
+};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
new file mode 100644
index 0000000..1edc36e
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
@@ -0,0 +1,91 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('mx_states_SetEventHandler');
+
+goog.require('org_apache_flex_core_IDocument');
+
+
+
+/**
+ * @constructor
+ * @implements {org_apache_flex_core_IDocument}
+ */
+mx_states_SetEventHandler = function() {
+};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'SetEventHandler',
+                qName: 'mx_states_SetEventHandler' }],
+      interfaces: [org_apache_flex_core_IDocument] };
+
+
+/**
+ * @param {Object} document The MXML object.
+ * @param {?string=} opt_id The id.
+ */
+mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
+  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
+  this.document = document;
+};
+
+
+/**
+ * @expose
+ * @type {Object} document The MXML object.
+ */
+mx_states_SetEventHandler.prototype.document = null;
+
+
+/**
+ * @expose
+ * @type {string} name The event to listen for.
+ */
+mx_states_SetEventHandler.prototype.name = '';
+
+
+/**
+ * @expose
+ * @type {string} target The id of the object.
+ */
+mx_states_SetEventHandler.prototype.target = '';
+
+
+/**
+ * @expose
+ * @type {Object} handlerFunction The listener to be added.
+ */
+mx_states_SetEventHandler.prototype.handlerFunction = null;
+
+
+/**
+ * @expose
+ * @param {Object} properties The properties for the new object.
+ * @return {Object} The new object.
+ */
+mx_states_SetEventHandler.prototype.initializeFromObject = function(properties) {
+  var p;
+
+  for (p in properties) {
+    this[p] = properties[p];
+  }
+
+  return this;
+};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
new file mode 100644
index 0000000..f7feca9
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
@@ -0,0 +1,98 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('mx_states_SetProperty');
+
+goog.require('org_apache_flex_core_IDocument');
+
+
+
+/**
+ * @constructor
+ * @implements {org_apache_flex_core_IDocument}
+ */
+mx_states_SetProperty = function() {
+};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'SetProperty',
+                qName: 'mx_states_SetProperty' }],
+      interfaces: [org_apache_flex_core_IDocument] };
+
+
+/**
+ * @param {Object} document The MXML object.
+ * @param {?string=} opt_id The id.
+ */
+mx_states_SetProperty.prototype.setDocument = function(document, opt_id) {
+  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
+  this.document = document;
+};
+
+
+/**
+ * @expose
+ * @type {Object} document The MXML object.
+ */
+mx_states_SetProperty.prototype.document = null;
+
+
+/**
+ * @expose
+ * @type {string} name The target property name.
+ */
+mx_states_SetProperty.prototype.name = '';
+
+
+/**
+ * @expose
+ * @type {?string} target The id of the object.
+ */
+mx_states_SetProperty.prototype.target = null;
+
+
+/**
+ * @expose
+ * @type {Object} previousValue The value to revert to.
+ */
+mx_states_SetProperty.prototype.previousValue = null;
+
+
+/**
+ * @expose
+ * @type {Object} value The value to set.
+ */
+mx_states_SetProperty.prototype.value = null;
+
+
+/**
+ * @expose
+ * @param {Object} properties The properties for the new object.
+ * @return {Object} The new object.
+ */
+mx_states_SetProperty.prototype.initializeFromObject = function(properties) {
+  var p;
+
+  for (p in properties) {
+    this[p] = properties[p];
+  }
+
+  return this;
+};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6dc5cfb9/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js b/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
new file mode 100644
index 0000000..0d6df35
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
@@ -0,0 +1,49 @@
+/**
+ * Licensed 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.
+ */
+
+goog.provide('mx_states_State');
+
+
+
+/**
+ * @constructor
+ * @param {Object=} opt_props The initial properties.
+ */
+mx_states_State = function(opt_props) {
+  opt_props = typeof opt_props !== 'undefined' ? opt_props : null;
+};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+mx_states_State.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'State',
+                qName: 'mx_states_State' }] };
+
+
+/**
+ * @expose
+ * @type {string} name The state name.
+ */
+mx_states_State.prototype.name = '';
+
+
+/**
+ * @expose
+ * @type {Array} overrides The state data.
+ */
+mx_states_State.prototype.overrides = null;


[2/9] git commit: [flex-asjs] [refs/heads/develop] - remove MXMLCClasses.SWC. We don't need it anymore

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectUtil.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectUtil.as
deleted file mode 100644
index bdf69ab..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectUtil.as
+++ /dev/null
@@ -1,1424 +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 mx.utils
-{
-
-import flash.utils.ByteArray;
-import flash.utils.Dictionary;
-import flash.utils.getQualifiedClassName;
-import flash.xml.XMLNode;
-
-/**
- *  The ObjectUtil class is an all-static class with methods for
- *  working with Objects within Flex.
- *  You do not create instances of ObjectUtil;
- *  instead you simply call static methods such as the 
- *  <code>ObjectUtil.isSimple()</code> method.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public class ObjectUtil
-{
-    
-    /**
-    *  Array of properties to exclude from debugging output.
-    *  
-    *  @langversion 3.0
-    *  @playerversion Flash 9
-    *  @playerversion AIR 1.1
-    *  @productversion Flex 3
-    */
-    private static var defaultToStringExcludes:Array = ["password", "credentials"];
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Compares the Objects and returns an integer value 
-     *  indicating if the first item is less than greater than or equal to
-     *  the second item.
-     *  This method will recursively compare properties on nested objects and
-     *  will return as soon as a non-zero result is found.
-     *  By default this method will recurse to the deepest level of any property.
-     *  To change the depth for comparison specify a non-negative value for
-     *  the <code>depth</code> parameter.
-     *
-     *  @param a Object.
-     *
-     *  @param b Object.
-     *
-     *  @param depth Indicates how many levels should be 
-     *  recursed when performing the comparison.
-     *  Set this value to 0 for a shallow comparison of only the primitive 
-     *  representation of each property.
-     *  For example:<pre>
-     *  var a:Object = {name:"Bob", info:[1,2,3]};
-     *  var b:Object = {name:"Alice", info:[5,6,7]};
-     *  var c:int = ObjectUtil.compare(a, b, 0);</pre>
-     *
-     *  <p>In the above example the complex properties of <code>a</code> and 
-     *  <code>b</code> will be flattened by a call to <code>toString()</code>
-     *  when doing the comparison.
-     *  In this case the <code>info</code> property will be turned into a string
-     *  when performing the comparison.</p>
-     *
-     *  @return Return 0 if a and b are null, NaN, or equal. 
-     *  Return 1 if a is null or greater than b. 
-     *  Return -1 if b is null or greater than a. 
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function compare(a:Object, b:Object, depth:int = -1):int
-    {
-        return internalCompare(a, b, 0, depth, new Dictionary(true));
-    }
-    
-    /**
-     *  Copies the specified Object and returns a reference to the copy.
-     *  The copy is made using a native serialization technique. 
-     *  This means that custom serialization will be respected during the copy.
-     *
-     *  <p>This method is designed for copying data objects, 
-     *  such as elements of a collection. It is not intended for copying 
-     *  a UIComponent object, such as a TextInput control. If you want to create copies 
-     *  of specific UIComponent objects, you can create a subclass of the component and implement 
-     *  a <code>clone()</code> method, or other method to perform the copy.</p>
-     * 
-     *  @param value Object that should be copied.
-     * 
-     *  @return Copy of the specified Object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */ 
-    public static function copy(value:Object):Object
-    {
-        var buffer:ByteArray = new ByteArray();
-        buffer.writeObject(value);
-        buffer.position = 0;
-        var result:Object = buffer.readObject();
-        return result;
-    }
-
-    /**
-     *  Clones the specified Object and returns a reference to the clone.
-     *  The clone is made using a native serialization technique. 
-     *  This means that custom serialization will be respected during the
-     *  cloning.  clone() differs from copy() in that the uid property of
-     *  each object instance is retained.
-     *
-     *  <p>This method is designed for cloning data objects, 
-     *  such as elements of a collection. It is not intended for cloning 
-     *  a UIComponent object, such as a TextInput control. If you want to clone
-     *  specific UIComponent objects, you can create a subclass of the component
-     *  and implement a <code>clone()</code> method.</p>
-     * 
-     *  @param value Object that should be cloned.
-     * 
-     *  @return Clone of the specified Object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
-     */ 
-    public static function clone(value:Object):Object
-    {
-        var result:Object = copy(value);
-        cloneInternal(result, value);
-        return result;
-    }
-
-    /**
-     *  Recursive helper used by the public clone method. 
-     *  @private
-     */    
-    private static function cloneInternal(result:Object, value:Object):void
-    {
-        if (value && value.hasOwnProperty("uid"))
-            result.uid = value.uid;
-
-        var classInfo:Object = getClassInfo(value);
-        var v:Object;
-        for each (var p:* in classInfo.properties) 
-        {
-            v = value[p];
-            if (v && v.hasOwnProperty("uid")) 
-                cloneInternal(result[p], v);
-        }
-    }
-   
-    /**
-     *  Returns <code>true</code> if the object reference specified
-     *  is a simple data type. The simple data types include the following:
-     *  <ul>
-     *    <li><code>String</code></li>
-     *    <li><code>Number</code></li>
-     *    <li><code>uint</code></li>
-     *    <li><code>int</code></li>
-     *    <li><code>Boolean</code></li>
-     *    <li><code>Date</code></li>
-     *    <li><code>Array</code></li>
-     *  </ul>
-     *
-     *  @param value Object inspected.
-     *
-     *  @return <code>true</code> if the object specified
-     *  is one of the types above; <code>false</code> otherwise.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function isSimple(value:Object):Boolean
-    {
-        var type:String = typeof(value);
-        switch (type)
-        {
-            case "number":
-            case "string":
-            case "boolean":
-            {
-                return true;
-            }
-
-            case "object":
-            {
-                return (value is Date) || (value is Array);
-            }
-        }
-
-        return false;
-    }
-
-    /**
-     *  Compares two numeric values.
-     * 
-     *  @param a First number.
-     * 
-     *  @param b Second number.
-     *
-     *  @return 0 is both numbers are NaN. 
-     *  1 if only <code>a</code> is a NaN.
-     *  -1 if only <code>b</code> is a NaN.
-     *  -1 if <code>a</code> is less than <code>b</code>.
-     *  1 if <code>a</code> is greater than <code>b</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function numericCompare(a:Number, b:Number):int
-    {
-        if (isNaN(a) && isNaN(b))
-            return 0;
-
-        if (isNaN(a))
-            return 1;
-
-        if (isNaN(b))
-           return -1;
-
-        if (a < b)
-            return -1;
-
-        if (a > b)
-            return 1;
-
-        return 0;
-    }
-
-    /**
-     *  Compares two String values.
-     * 
-     *  @param a First String value.
-     * 
-     *  @param b Second String value.
-     *
-     *  @param caseInsensitive Specifies to perform a case insensitive compare, 
-     *  <code>true</code>, or not, <code>false</code>.
-     *
-     *  @return 0 is both Strings are null. 
-     *  1 if only <code>a</code> is null.
-     *  -1 if only <code>b</code> is null.
-     *  -1 if <code>a</code> precedes <code>b</code>.
-     *  1 if <code>b</code> precedes <code>a</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function stringCompare(a:String, b:String,
-                                         caseInsensitive:Boolean = false):int
-    {
-        if (a == null && b == null)
-            return 0;
-
-        if (a == null)
-          return 1;
-
-        if (b == null)
-           return -1;
-
-        // Convert to lowercase if we are case insensitive.
-        if (caseInsensitive)
-        {
-            a = a.toLocaleLowerCase();
-            b = b.toLocaleLowerCase();
-        }
-
-        var result:int = a.localeCompare(b);
-        
-        if (result < -1)
-            result = -1;
-        else if (result > 1)
-            result = 1;
-
-        return result;
-    }
-
-    /**
-     *  Compares the two Date objects and returns an integer value 
-     *  indicating if the first Date object is before, equal to, 
-     *  or after the second item.
-     *
-     *  @param a Date object.
-     *
-     *  @param b Date object.
-     *
-     *  @return 0 if <code>a</code> and <code>b</code> are equal
-     *  (or both are <code>null</code>);
-     *  -1 if <code>a</code> is before <code>b</code>
-     *  (or <code>b</code> is <code>null</code>);
-     *  1 if <code>a</code> is after <code>b</code>
-     *  (or <code>a</code> is <code>null</code>);
-	 *  0 is both dates getTime's are NaN;
-     *  1 if only <code>a</code> getTime is a NaN;
-     *  -1 if only <code>b</code> getTime is a NaN.    
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function dateCompare(a:Date, b:Date):int
-    {
-        if (a == null && b == null)
-            return 0;
-
-        if (a == null)
-          return 1;
-
-        if (b == null)
-           return -1;
-
-        var na:Number = a.getTime();
-        var nb:Number = b.getTime();
-        
-        if (na < nb)
-            return -1;
-
-        if (na > nb)
-            return 1;
-		
-		if (isNaN(na) && isNaN(nb))
-			return 0;
-		
-		if (isNaN(na))
-			return 1;
-		
-		if (isNaN(nb))
-			return -1;
-
-        return 0;
-    }
-        
-    /**
-     *  Pretty-prints the specified Object into a String.
-     *  All properties will be in alpha ordering.
-     *  Each object will be assigned an id during printing;
-     *  this value will be displayed next to the object type token
-     *  preceded by a '#', for example:
-     *
-     *  <pre>
-     *  (mx.messaging.messages::AsyncMessage)#2.</pre>
-     *
-     *  <p>This id is used to indicate when a circular reference occurs.
-     *  Properties of an object that are of the <code>Class</code> type will
-     *  appear only as the assigned type.
-     *  For example a custom definition like the following:</p>
-     *
-     *  <pre>
-     *    public class MyCustomClass {
-     *      public var clazz:Class;
-     *    }</pre>
-     * 
-     *  <p>With the <code>clazz</code> property assigned to <code>Date</code>
-     *  will display as shown below:</p>
-     * 
-     *  <pre>
-     *   (somepackage::MyCustomClass)#0
-     *      clazz = (Date)</pre>
-     *
-     *  @param obj Object to be pretty printed.
-     * 
-     *  @param namespaceURIs Array of namespace URIs for properties 
-     *  that should be included in the output.
-     *  By default only properties in the public namespace will be included in
-     *  the output.
-     *  To get all properties regardless of namespace pass an array with a 
-     *  single element of "*".
-     * 
-     *  @param exclude Array of the property names that should be 
-     *  excluded from the output.
-     *  Use this to remove data from the formatted string.
-     * 
-     *  @return String containing the formatted version
-     *  of the specified object.
-     *
-     *  @example
-     *  <pre>
-     *  // example 1
-     *  var obj:AsyncMessage = new AsyncMessage();
-     *  obj.body = [];
-     *  obj.body.push(new AsyncMessage());
-     *  obj.headers["1"] = { name: "myName", num: 15.3};
-     *  obj.headers["2"] = { name: "myName", num: 15.3};
-     *  obj.headers["10"] = { name: "myName", num: 15.3};
-     *  obj.headers["11"] = { name: "myName", num: 15.3};
-     *  trace(ObjectUtil.toString(obj));
-     *
-     *  // will output to flashlog.txt
-     *  (mx.messaging.messages::AsyncMessage)#0
-     *    body = (Array)#1
-     *      [0] (mx.messaging.messages::AsyncMessage)#2
-     *        body = (Object)#3
-     *        clientId = (Null)
-     *        correlationId = ""
-     *        destination = ""
-     *        headers = (Object)#4
-     *        messageId = "378CE96A-68DB-BC1B-BCF7FFFFFFFFB525"
-     *        sequenceId = (Null)
-     *        sequencePosition = 0
-     *        sequenceSize = 0
-     *        timeToLive = 0
-     *        timestamp = 0
-     *    clientId = (Null)
-     *    correlationId = ""
-     *    destination = ""
-     *    headers = (Object)#5
-     *      1 = (Object)#6
-     *        name = "myName"
-     *        num = 15.3
-     *      10 = (Object)#7
-     *        name = "myName"
-     *        num = 15.3
-     *      11 = (Object)#8
-     *        name = "myName"
-     *        num = 15.3
-     *      2 = (Object)#9
-     *        name = "myName"
-     *        num = 15.3
-     *    messageId = "1D3E6E96-AC2D-BD11-6A39FFFFFFFF517E"
-     *    sequenceId = (Null)
-     *    sequencePosition = 0
-     *    sequenceSize = 0
-     *    timeToLive = 0
-     *    timestamp = 0
-     *
-     *  // example 2 with circular references
-     *  obj = {};
-     *  obj.prop1 = new Date();
-     *  obj.prop2 = [];
-     *  obj.prop2.push(15.2);
-     *  obj.prop2.push("testing");
-     *  obj.prop2.push(true);
-     *  obj.prop3 = {};
-     *  obj.prop3.circular = obj;
-     *  obj.prop3.deeper = new ErrorMessage();
-     *  obj.prop3.deeper.rootCause = obj.prop3.deeper;
-     *  obj.prop3.deeper2 = {};
-     *  obj.prop3.deeper2.deeperStill = {};
-     *  obj.prop3.deeper2.deeperStill.yetDeeper = obj;
-     *  trace(ObjectUtil.toString(obj));
-     *
-     *  // will output to flashlog.txt
-     *  (Object)#0
-     *    prop1 = Tue Apr 26 13:59:17 GMT-0700 2005
-     *    prop2 = (Array)#1
-     *      [0] 15.2
-     *      [1] "testing"
-     *      [2] true
-     *    prop3 = (Object)#2
-     *      circular = (Object)#0
-     *      deeper = (mx.messaging.messages::ErrorMessage)#3
-     *        body = (Object)#4
-     *        clientId = (Null)
-     *        code = (Null)
-     *        correlationId = ""
-     *        destination = ""
-     *        details = (Null)
-     *        headers = (Object)#5
-     *        level = (Null)
-     *        message = (Null)
-     *        messageId = "14039376-2BBA-0D0E-22A3FFFFFFFF140A"
-     *        rootCause = (mx.messaging.messages::ErrorMessage)#3
-     *        sequenceId = (Null)
-     *        sequencePosition = 0
-     *        sequenceSize = 0
-     *        timeToLive = 0
-     *        timestamp = 0
-     *      deeper2 = (Object)#6
-     *        deeperStill = (Object)#7
-     *          yetDeeper = (Object)#0
-     * 
-     * // example 3 with Dictionary
-     * var point:Point = new Point(100, 100);
-     * var point2:Point = new Point(100, 100);
-     * var obj:Dictionary = new Dictionary();
-     * obj[point] = "point";
-     * obj[point2] = "point2";
-     * obj["1"] = { name: "one", num: 1};
-     * obj["two"] = { name: "2", num: 2};
-     * obj[3] = 3;
-     * trace(ObjectUtil.toString(obj));
-     * 
-     * // will output to flashlog.txt
-     * (flash.utils::Dictionary)#0
-     *   {(flash.geom::Point)#1
-     *     length = 141.4213562373095
-     *     x = 100
-     *     y = 100} = "point2"
-     *   {(flash.geom::Point)#2
-     *     length = 141.4213562373095
-     *     x = 100
-     *     y = 100} = "point"
-     *   {1} = (Object)#3
-     *     name = "one"
-     *     num = 1
-     *   {3} = 3
-     *   {"two"} = (Object)#4
-     *     name = "2"
-     *     num = 2
-     * 
-     * </pre>
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function toString(value:Object, 
-                                    namespaceURIs:Array = null, 
-                                    exclude:Array = null):String
-    {
-        if (exclude == null)
-        {
-            exclude = defaultToStringExcludes;
-        }
-        
-        refCount = 0;
-        return internalToString(value, 0, null, namespaceURIs, exclude);
-    }
-    
-    /**
-     *  This method cleans up all of the additional parameters that show up in AsDoc
-     *  code hinting tools that developers shouldn't ever see.
-     *  @private
-     */
-    private static function internalToString(value:Object, 
-                                             indent:int = 0,
-                                             refs:Dictionary= null, 
-                                             namespaceURIs:Array = null, 
-                                             exclude:Array = null):String
-    {
-        var str:String;
-        var type:String = value == null ? "null" : typeof(value);
-        switch (type)
-        {
-            case "boolean":
-            case "number":
-            {
-                return value.toString();
-            }
-
-            case "string":
-            {
-                return "\"" + value.toString() + "\"";
-            }
-
-            case "object":
-            {
-                if (value is Date)
-                {
-                    return value.toString();
-                }
-                else if (value is XMLNode)
-                {
-                    return value.toString();
-                }
-                else if (value is Class)
-                {
-                    return "(" + getQualifiedClassName(value) + ")";
-                }
-                else
-                {
-                    var classInfo:Object = getClassInfo(value, exclude,
-                        { includeReadOnly: true, uris: namespaceURIs });
-                        
-                    var properties:Array = classInfo.properties;
-                    
-                    str = "(" + classInfo.name + ")";
-                    
-                    // refs help us avoid circular reference infinite recursion.
-                    // Each time an object is encoumtered it is pushed onto the
-                    // refs stack so that we can determine if we have visited
-                    // this object already.
-                    if (refs == null)
-                        refs = new Dictionary(true);
-
-                    // Check to be sure we haven't processed this object before
-                    // Dictionary has some bugs, so we want to work around them as best we can
-                    try
-                    {
-                        var id:Object = refs[value];
-                        if (id != null)
-                        {
-                            str += "#" + int(id);
-                            return str;
-                        }
-                    }
-                    catch (e:Error)
-                    {
-                        //Since we can't test for infinite loop, we simply return toString.
-                        return String(value);
-                    }
-                    
-                    if (value != null)
-                    {
-                        str += "#" + refCount.toString();
-                        refs[value] = refCount;
-                        refCount++;
-                    }
-
-                    var isArray:Boolean = value is Array;
-                    var isDict:Boolean = value is Dictionary;
-                    var prop:*;
-                    indent += 2;
-                    
-                    // Print all of the variable values.
-                    for (var j:int = 0; j < properties.length; j++)
-                    {
-                        str = newline(str, indent);
-                        prop = properties[j];
-                        
-                        if (isArray)
-                            str += "[";
-                        else if (isDict)
-                            str += "{";
-
-                    
-                        if (isDict)
-                        {
-                            // in dictionaries, recurse on the key, because it can be a complex object
-                            str += internalToString(prop, indent, refs,
-                                                    namespaceURIs, exclude);
-                        }
-                        else
-                        {
-                            str += prop.toString();
-                        }
-                        
-                        if (isArray)
-                            str += "] ";
-                        else if (isDict)
-                            str += "} = ";
-                        else
-                            str += " = ";
-                        
-                        try
-                        {
-                            // print the value
-                            str += internalToString(value[prop], indent, refs,
-                                                    namespaceURIs, exclude);
-                        }
-                        catch(e:Error)
-                        {
-                            // value[prop] can cause an RTE
-                            // for certain properties of certain objects.
-                            // For example, accessing the properties
-                            //   actionScriptVersion
-                            //   childAllowsParent
-                            //   frameRate
-                            //   height
-                            //   loader
-                            //   parentAllowsChild
-                            //   sameDomain
-                            //   swfVersion
-                            //   width
-                            // of a Stage's loaderInfo causes
-                            //   Error #2099: The loading object is not
-                            //   sufficiently loaded to provide this information
-                            // In this case, we simply output ? for the value.
-                            str += "?";
-                        }
-                    }
-                    indent -= 2;
-                    return str;
-                }
-                break;
-            }
-
-            case "xml":
-            {
-                return value.toXMLString();
-            }
-
-            default:
-            {
-                return "(" + type + ")";
-            }
-        }
-        
-        return "(unknown)";
-    }
-
-    /**
-     *  @private
-     *  This method will append a newline and the specified number of spaces
-     *  to the given string.
-     */
-    private static function newline(str:String, n:int = 0):String
-    {
-        var result:String = str;
-        result += "\n";
-        
-        for (var i:int = 0; i < n; i++)
-        {
-            result += " ";
-        }
-        return result;
-    }
-    
-    private static function internalCompare(a:Object, b:Object,
-                                            currentDepth:int, desiredDepth:int,
-                                            refs:Dictionary):int
-    {
-        if (a == null && b == null)
-            return 0;
-    
-        if (a == null)
-            return 1;
-    
-        if (b == null)
-            return -1;
-           
-        if (a is ObjectProxy)
-            a = ObjectProxy(a).object_proxy::object;
-            
-        if (b is ObjectProxy)
-            b = ObjectProxy(b).object_proxy::object;
-            
-        var typeOfA:String = typeof(a);
-        var typeOfB:String = typeof(b);
-        
-        var result:int = 0;
-        
-        if (typeOfA == typeOfB)
-        {
-            switch(typeOfA)
-            {
-                case "boolean":
-                {
-                    result = numericCompare(Number(a), Number(b));
-                    break;
-                }
-                
-                case "number":
-                {
-                    result = numericCompare(a as Number, b as Number);
-                    break;
-                }
-                
-                case "string":
-                {
-                    result = stringCompare(a as String, b as String);
-                    break;
-                }
-                
-                case "object":
-                {
-                    var newDepth:int = desiredDepth > 0 ? desiredDepth -1 : desiredDepth;
-                    
-                    // refs help us avoid circular reference infinite recursion.
-                    var aRef:Object = getRef(a,refs);
-                    var bRef:Object = getRef(b,refs);
-                    
-                    if (aRef == bRef)
-                        return 0;
-                    // the cool thing about our dictionary is that if 
-                    // we've seen objects and determined that they are inequal, then 
-                    // we would've already exited out of this compare() call.  So the 
-                    // only info in the dictionary are sets of equal items
-                    
-                    // let's first define them as equal
-                    // this stops an "infinite loop" problem where A.i = B and B.i = A
-                    // if we later find that an object (one of the subobjects) is in fact unequal, 
-                    // then we will return false and quit out of everything.  These refs are thrown away
-                    // so it doesn't matter if it's correct.
-                    refs[bRef] = aRef;
-                    
-                    if (desiredDepth != -1 && (currentDepth > desiredDepth))
-                    {
-                        // once we try to go beyond the desired depth we should 
-                        // toString() our way out
-                        result = stringCompare(a.toString(), b.toString());
-                    }
-                    else if ((a is Array) && (b is Array))
-                    {
-                        result = arrayCompare(a as Array, b as Array, currentDepth, desiredDepth, refs);
-                    }
-                    else if ((a is Date) && (b is Date))
-                    {
-                        result = dateCompare(a as Date, b as Date);
-                    }
-                    else if ((a is ByteArray) && (b is ByteArray))
-                    {
-                        result = byteArrayCompare(a as ByteArray, b as ByteArray);
-                    }
-                    else if (getQualifiedClassName(a) == getQualifiedClassName(b))
-                    {
-                        var aProps:Array = getClassInfo(a).properties;
-                        var bProps:Array;
-                        
-                        // if the objects are dynamic they could have different 
-                        // # of properties and should be treated on that basis first
-                        var isDynamicObject:Boolean = isDynamicObject(a);
-                        
-                        // if it's dynamic, check to see that they have all the same properties
-                        if (isDynamicObject)
-                        {
-                            bProps = getClassInfo(b).properties;
-                            result = arrayCompare(aProps, bProps, currentDepth, newDepth, refs);
-                            if (result != 0)
-                                return result;
-                        }
-                        
-                        // now that we know we have the same properties, let's compare the values
-                        var propName:QName;
-                        var aProp:Object;
-                        var bProp:Object;
-                        for (var i:int = 0; i < aProps.length; i++)
-                        {
-                            propName = aProps[i];
-                            aProp = a[propName];
-                            bProp = b[propName];
-                            result = internalCompare(aProp, bProp, currentDepth+1, newDepth, refs);
-                            if (result != 0)
-                            {
-                                return result;
-                            }
-                        }
-                    }
-                    else
-                    {
-                        // We must be inequal, so return 1
-                        return 1;
-                    }
-                    break;
-                }
-            }
-        }
-        else // be consistent with the order we return here
-        {
-            return stringCompare(typeOfA, typeOfB);
-        }
-
-        return result;
-    }
-    
-    /**
-     *  Returns information about the class, and properties of the class, for
-     *  the specified Object.
-     *
-     *  @param obj The Object to inspect.
-     *
-     *  @param exclude Array of Strings specifying the property names that should be 
-     *  excluded from the returned result. For example, you could specify 
-     *  <code>["currentTarget", "target"]</code> for an Event object since these properties 
-     *  can cause the returned result to become large.
-     *
-     *  @param options An Object containing one or more properties 
-     *  that control the information returned by this method. 
-     *  The properties include the following:
-     *
-     *  <ul>
-     *    <li><code>includeReadOnly</code>: If <code>false</code>, 
-     *      exclude Object properties that are read-only. 
-     *      The default value is <code>true</code>.</li>
-     *  <li><code>includeTransient</code>: If <code>false</code>, 
-     *      exclude Object properties and variables that have <code>[Transient]</code> metadata.
-     *      The default value is <code>true</code>.</li>
-     *  <li><code>uris</code>: Array of Strings of all namespaces that should be included in the output.
-     *      It does allow for a wildcard of "~~". 
-     *      By default, it is null, meaning no namespaces should be included. 
-     *      For example, you could specify <code>["mx_internal", "mx_object"]</code> 
-     *      or <code>["~~"]</code>.</li>
-     *  </ul>
-     * 
-     *  @return An Object containing the following properties:
-     *  <ul>
-     *    <li><code>name</code>: String containing the name of the class.</li>
-     *    <li><code>properties</code>: Sorted list of the property names of the specified object,
-     *    or references to the original key if the specified object is a Dictionary. The individual
-     *    array elements are QName instances, which contain both the local name of the property as well as the URI.</li>
-     *  </ul>
-    *  
-    *  @langversion 3.0
-    *  @playerversion Flash 9
-    *  @playerversion AIR 1.1
-    *  @productversion Flex 3
-    */
-    public static function getClassInfo(obj:Object,
-                                        excludes:Array = null,
-                                        options:Object = null):Object
-    {   
-        var n:int;
-        var i:int;
-
-        if (obj is ObjectProxy)
-            obj = ObjectProxy(obj).object_proxy::object;
-
-        if (options == null)
-            options = { includeReadOnly: true, uris: null, includeTransient: true };
-
-        var result:Object;
-        var propertyNames:Array = [];
-        var cacheKey:String;
-
-        var className:String;
-        var classAlias:String;
-        var properties:XMLList;
-        var prop:XML;
-        var dynamic:Boolean = false;
-        var metadataInfo:Object;
-
-        if (typeof(obj) == "xml")
-        {
-            className = "XML";
-            properties = obj.text();
-            if (properties.length())
-                propertyNames.push("*");
-            properties = obj.attributes();
-        }
-        else
-        {
-            var classInfo:XML = DescribeTypeCache.describeType(obj).typeDescription;
-            className = classInfo.@name.toString();
-            classAlias = classInfo.@alias.toString();
-            dynamic = (classInfo.@isDynamic.toString() == "true");
-
-            if (options.includeReadOnly)
-                properties = classInfo..accessor.(@access != "writeonly") + classInfo..variable;
-            else
-                properties = classInfo..accessor.(@access == "readwrite") + classInfo..variable;
-
-            var numericIndex:Boolean = false;
-        }
-
-        // If type is not dynamic, check our cache for class info...
-        if (!dynamic)
-        {
-            cacheKey = getCacheKey(obj, excludes, options);
-            result = CLASS_INFO_CACHE[cacheKey];
-            if (result != null)
-                return result;
-        }
-
-        result = {};
-        result["name"] = className;
-        result["alias"] = classAlias;
-        result["properties"] = propertyNames;
-        result["dynamic"] = dynamic;
-        result["metadata"] = metadataInfo = recordMetadata(properties);
-        
-        var excludeObject:Object = {};
-        if (excludes)
-        {
-            n = excludes.length;
-            for (i = 0; i < n; i++)
-            {
-                excludeObject[excludes[i]] = 1;
-            }
-        }
-
-        var isArray:Boolean = (obj is Array);
-        var isDict:Boolean  = (obj is Dictionary);
-        
-        if (isDict)
-        {
-            // dictionaries can have multiple keys of the same type,
-            // (they can index by reference rather than QName, String, or number),
-            // which cannot be looked up by QName, so use references to the actual key
-            for (var key:* in obj)
-            {
-                propertyNames.push(key);
-            }
-        }
-        else if (dynamic)
-        {
-            for (var p:String in obj)
-            {
-                if (excludeObject[p] != 1)
-                {
-                    if (isArray)
-                    {
-                         var pi:Number = parseInt(p);
-                         if (isNaN(pi))
-                            propertyNames.push(new QName("", p));
-                         else
-                            propertyNames.push(pi);
-                    }
-                    else
-                    {
-                        propertyNames.push(new QName("", p));
-                    }
-                }
-            }
-            numericIndex = isArray && !isNaN(Number(p));
-        }
-
-        if (isArray || isDict || className == "Object")
-        {
-            // Do nothing since we've already got the dynamic members
-        }
-        else if (className == "XML")
-        {
-            n = properties.length();
-            for (i = 0; i < n; i++)
-            {
-                p = properties[i].name();
-                if (excludeObject[p] != 1)
-                    propertyNames.push(new QName("", "@" + p));
-            }
-        }
-        else
-        {
-            n = properties.length();
-            var uris:Array = options.uris;
-            var uri:String;
-            var qName:QName;
-            for (i = 0; i < n; i++)
-            {
-                prop = properties[i];
-                p = prop.@name.toString();
-                uri = prop.@uri.toString();
-                
-                if (excludeObject[p] == 1)
-                    continue;
-                    
-                if (!options.includeTransient && internalHasMetadata(metadataInfo, p, "Transient"))
-                    continue;
-                
-                if (uris != null)
-                {
-                    if (uris.length == 1 && uris[0] == "*")
-                    {   
-                        qName = new QName(uri, p);
-                        try
-                        {
-                            obj[qName]; // access the property to ensure it is supported
-                            propertyNames.push();
-                        }
-                        catch(e:Error)
-                        {
-                            // don't keep property name 
-                        }
-                    }
-                    else
-                    {
-                        for (var j:int = 0; j < uris.length; j++)
-                        {
-                            uri = uris[j];
-                            if (prop.@uri.toString() == uri)
-                            {
-                                qName = new QName(uri, p);
-                                try
-                                {
-                                    obj[qName];
-                                    propertyNames.push(qName);
-                                }
-                                catch(e:Error)
-                                {
-                                    // don't keep property name 
-                                }
-                            }
-                        }
-                    }
-                }
-                else if (uri.length == 0)
-                {
-                    qName = new QName(uri, p);
-                    try
-                    {
-                        obj[qName];
-                        propertyNames.push(qName);
-                    }
-                    catch(e:Error)
-                    {
-                        // don't keep property name 
-                    }
-                }
-            }
-        }
-
-        propertyNames.sort(Array.CASEINSENSITIVE |
-                           (numericIndex ? Array.NUMERIC : 0));
-
-        // dictionary keys can be indexed by an object reference
-        // there's a possibility that two keys will have the same toString()
-        // so we don't want to remove dupes
-        if (!isDict)
-        {
-            // for Arrays, etc., on the other hand...
-            // remove any duplicates, i.e. any items that can't be distingushed by toString()
-            for (i = 0; i < propertyNames.length - 1; i++)
-            {
-                // the list is sorted so any duplicates should be adjacent
-                // two properties are only equal if both the uri and local name are identical
-                if (propertyNames[i].toString() == propertyNames[i + 1].toString())
-                {
-                    propertyNames.splice(i, 1);
-                    i--; // back up
-                }
-            }
-        }
-
-        // For normal, non-dynamic classes we cache the class info
-		// Don't cache XML as it can be dynamic
-        if (!dynamic && className != "XML")
-        {
-            cacheKey = getCacheKey(obj, excludes, options);
-            CLASS_INFO_CACHE[cacheKey] = result;
-        }
-
-        return result;
-    }
-
-    /**
-     * Uses <code>getClassInfo</code> and examines the metadata information to
-     * determine whether a property on a given object has the specified 
-     * metadata.
-     * 
-     * @param obj The object holding the property.
-     * @param propName The property to check for metadata.
-     * @param metadataName The name of the metadata to check on the property.
-     * @param excludes If any properties need to be excluded when generating class info. (Optional)
-     * @param options If any options flags need to changed when generating class info. (Optional)
-     * @return true if the property has the specified metadata.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function hasMetadata(obj:Object, 
-                propName:String, 
-                metadataName:String, 
-                excludes:Array = null,
-                options:Object = null):Boolean
-    {
-        var classInfo:Object = getClassInfo(obj, excludes, options);
-        var metadataInfo:Object = classInfo["metadata"];
-        return internalHasMetadata(metadataInfo, propName, metadataName);
-    }
-
-    /**
-     *  Returns <code>true</code> if the object is an instance of a dynamic class.
-     *
-     *  @param obj The object.
-     *
-     *  @return <code>true</code> if the object is an instance of a dynamic class.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function isDynamicObject(obj:Object):Boolean
-    {
-        try
-        {
-            // this test for checking whether an object is dynamic or not is 
-            // pretty hacky, but it assumes that no-one actually has a 
-            // property defined called "wootHackwoot"
-            obj["wootHackwoot"];
-        }
-        catch (e:Error)
-        {
-            // our object isn't from a dynamic class
-            return false;
-        }
-        return true;
-    }
-    
-    /**
-     *  @private
-     */
-    private static function internalHasMetadata(metadataInfo:Object, propName:String, metadataName:String):Boolean
-    {
-        if (metadataInfo != null)
-        {
-            var metadata:Object = metadataInfo[propName];
-            if (metadata != null)
-            {
-                if (metadata[metadataName] != null)
-                    return true;
-            }
-        }
-        return false;
-    }
-
-    /**
-     *  @private
-     */
-    private static function recordMetadata(properties:XMLList):Object
-    {
-        var result:Object = null;
-
-        try
-        {
-            for each (var prop:XML in properties)
-            {
-                var propName:String = prop.attribute("name").toString();
-                var metadataList:XMLList = prop.metadata;
-
-                if (metadataList.length() > 0)
-                {
-                    if (result == null)
-                        result = {};
-
-                    var metadata:Object = {};
-                    result[propName] = metadata;
-
-                    for each (var md:XML in metadataList)
-                    {
-                        var mdName:String = md.attribute("name").toString();
-                        
-                        var argsList:XMLList = md.arg;
-                        var value:Object = {};
-
-                        for each (var arg:XML in argsList)
-                        {
-                            var argKey:String = arg.attribute("key").toString();
-                            if (argKey != null)
-                            {
-                                var argValue:String = arg.attribute("value").toString();
-                                value[argKey] = argValue;
-                            }
-                        }
-
-                        var existing:Object = metadata[mdName];
-                        if (existing != null)
-                        {
-                            var existingArray:Array;
-                            if (existing is Array)
-                                existingArray = existing as Array;
-                            else
-                            {
-                                existingArray = [existing];
-                                delete metadata[mdName];
-                            }
-                            existingArray.push(value);
-                            existing = existingArray;
-                        }
-                        else
-                        {
-                            existing = value;
-                        }
-                        metadata[mdName] = existing;
-                    }
-                }
-            }
-        }
-        catch(e:Error)
-        {
-        }
-        
-        return result;
-    }
-
-
-    /**
-     *  @private
-     */
-    private static function getCacheKey(o:Object, excludes:Array = null, options:Object = null):String
-    {
-        var key:String = getQualifiedClassName(o);
-		
-        if (excludes != null)
-        {
-			var length:int = excludes.length;
-            for (var i:uint = 0; i < length; i++)
-            {
-                var excl:String = excludes[i] as String;
-                if (excl != null)
-                    key += excl;
-            }
-        }
-
-        if (options != null)
-        {
-            for (var flag:String in options)
-            {
-                key += flag;
-				var value:String = options[flag];
-				if (value != null)
-					key += value.toString();
-			}
-        }
-        return key;
-    }
-
-    /**
-     *  @private
-     */
-    private static function arrayCompare(a:Array, b:Array,
-                                         currentDepth:int, desiredDepth:int,
-                                         refs:Dictionary):int
-    {
-        var result:int = 0;
-
-        if (a.length != b.length)
-        {
-            if (a.length < b.length)
-                result = -1;
-            else
-                result = 1;
-        }
-        else
-        {
-            var key:Object;
-            for (key in a)
-            {
-                if (b.hasOwnProperty(key))
-                {
-                    result = internalCompare(a[key], b[key], currentDepth,
-                                         desiredDepth, refs);
-
-                    if (result != 0)
-                        return result;
-                }
-                else
-                {
-                    return -1;
-                }
-            }
-
-            for (key in b)
-            {
-                if (!a.hasOwnProperty(key))
-                {
-                    return 1;
-                }
-            }
-        }
-
-        return result;
-    }
-    
-    /**
-     * @private
-     */
-    private static function byteArrayCompare(a:ByteArray, b:ByteArray):int
-    {
-        var result:int = 0;
-        
-        if (a == b)
-            return result;
-            
-        if (a.length != b.length)
-        {
-            if (a.length < b.length)
-                result = -1;
-            else
-                result = 1;
-        }
-        else
-        {
-            for (var i:int = 0; i < a.length; i++)
-            {
-                result = numericCompare(a[i], b[i]);
-                if (result != 0)
-                {
-                    i = a.length;
-                }
-            }
-        }
-        return result;
-    }
-
-    
-    /**
-     * @private
-     * This is the "find" for our union-find algorithm when doing object searches.
-     * The dictionary keeps track of sets of equal objects
-     */
-    private static function getRef(o:Object, refs:Dictionary):Object
-    {
-        var oRef:Object = refs[o]; 
-        while (oRef && oRef != refs[oRef])
-        {
-            oRef = refs[oRef];
-        }
-        if (!oRef)
-            oRef = o;
-        if (oRef != refs[o])
-            refs[o] = oRef;
-        
-        return oRef
-    }
-    
-    /**
-     * @private
-     */
-    private static var refCount:int = 0;
-
-    /**
-     * @private
-     */ 
-    private static var CLASS_INFO_CACHE:Object = {};
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/StringUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/StringUtil.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/StringUtil.as
deleted file mode 100644
index ee6a6d0..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/StringUtil.as
+++ /dev/null
@@ -1,364 +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 mx.utils
-{
-
-/**
- *  The StringUtil utility class is an all-static class with methods for
- *  working with String objects within Flex.
- *  You do not create instances of StringUtil;
- *  instead you call methods such as 
- *  the <code>StringUtil.substitute()</code> method.  
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public class StringUtil
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Removes all whitespace characters from the beginning and end
-     *  of the specified string.
-     *
-     *  @param str The String whose whitespace should be trimmed. 
-     *
-     *  @return Updated String where whitespace was removed from the 
-     *  beginning and end. 
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function trim(str:String):String
-    {
-        if (str == null) return '';
-        
-        var startIndex:int = 0;
-        while (isWhitespace(str.charAt(startIndex)))
-            ++startIndex;
-
-        var endIndex:int = str.length - 1;
-        while (isWhitespace(str.charAt(endIndex)))
-            --endIndex;
-
-        if (endIndex >= startIndex)
-            return str.slice(startIndex, endIndex + 1);
-        else
-            return "";
-    }
-    
-    /**
-     *  Removes all whitespace characters from the beginning and end
-     *  of each element in an Array, where the Array is stored as a String. 
-     *
-     *  @param value The String whose whitespace should be trimmed. 
-     *
-     *  @param separator The String that delimits each Array element in the string.
-     *
-     *  @return Updated String where whitespace was removed from the 
-     *  beginning and end of each element. 
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function trimArrayElements(value:String, delimiter:String):String
-    {
-        if (value != "" && value != null)
-        {
-            var items:Array = value.split(delimiter);
-            
-            var len:int = items.length;
-            for (var i:int = 0; i < len; i++)
-            {
-                items[i] = StringUtil.trim(items[i]);
-            }
-            
-            if (len > 0)
-            {
-                value = items.join(delimiter);
-            }
-        }
-        
-        return value;
-    }
-
-    /**
-     *  Returns <code>true</code> if the specified string is
-     *  a single space, tab, carriage return, newline, or formfeed character.
-     *
-     *  @param str The String that is is being queried. 
-     *
-     *  @return <code>true</code> if the specified string is
-     *  a single space, tab, carriage return, newline, or formfeed character.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function isWhitespace(character:String):Boolean
-    {
-        switch (character)
-        {
-            case " ":
-            case "\t":
-            case "\r":
-            case "\n":
-            case "\f":
-			// non breaking space
-			case "\u00A0":
-			// line seperator
-			case "\u2028":
-			// paragraph seperator
-			case "\u2029":
-			// ideographic space
-			case "\u3000":
-                return true;
-
-            default:
-                return false;
-        }
-    }
-
-    /**
-     *  Substitutes "{n}" tokens within the specified string
-     *  with the respective arguments passed in.
-	 * 
-	 *  Note that this uses String.replace and "$" can have special
-	 *  meaning in the argument strings escape by using "$$".
-     *
-     *  @param str The string to make substitutions in.
-     *  This string can contain special tokens of the form
-     *  <code>{n}</code>, where <code>n</code> is a zero based index,
-     *  that will be replaced with the additional parameters
-     *  found at that index if specified.
-     *
-     *  @param rest Additional parameters that can be substituted
-     *  in the <code>str</code> parameter at each <code>{n}</code>
-     *  location, where <code>n</code> is an integer (zero based)
-     *  index value into the array of values specified.
-     *  If the first parameter is an array this array will be used as
-     *  a parameter list.
-     *  This allows reuse of this routine in other methods that want to
-     *  use the ... rest signature.
-     *  For example <pre>
-     *     public function myTracer(str:String, ... rest):void
-     *     { 
-     *         label.text += StringUtil.substitute(str, rest) + "\n";
-     *     } </pre>
-     *
-     *  @return New string with all of the <code>{n}</code> tokens
-     *  replaced with the respective arguments specified.
-     *
-     *  @example
-     *
-     *  var str:String = "here is some info '{0}' and {1}";
-     *  trace(StringUtil.substitute(str, 15.4, true));
-     *
-     *  // this will output the following string:
-     *  // "here is some info '15.4' and true"
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function substitute(str:String, ... rest):String
-    {
-        if (str == null) return '';
-        
-        // Replace all of the parameters in the msg string.
-        var len:uint = rest.length;
-        var args:Array;
-        if (len == 1 && rest[0] is Array)
-        {
-            args = rest[0] as Array;
-            len = args.length;
-        }
-        else
-        {
-            args = rest;
-        }
-        
-        for (var i:int = 0; i < len; i++)
-        {
-            str = str.replace(new RegExp("\\{"+i+"\\}", "g"), args[i]);
-        }
-
-        return str;
-    }
-
-    /**
-     *  Returns a string consisting of a specified string
-     *  concatenated with itself a specified number of times.
-     *
-     *  @param str The string to be repeated.
-     *
-     *  @param n The repeat count.
-     *
-     *  @return The repeated string.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.1
-     */
-    public static function repeat(str:String, n:int):String
-    {
-        if (n == 0)
-            return "";
-
-        var s:String = str;
-        for (var i:int = 1; i < n; i++)
-        {
-            s += str;
-        }
-        return s;
-    }
-
-    /**
-     *  Removes "unallowed" characters from a string.
-     *  A "restriction string" such as <code>"A-Z0-9"</code>
-     *  is used to specify which characters are allowed.
-     *  This method uses the same logic as the <code>restrict</code>
-     *  property of TextField.
-     *
-     *  @param str The input string.
-     *
-     *  @param restrict The restriction string.
-     *
-     *  @return The input string, minus any characters
-     *  that are not allowed by the restriction string.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.1
-     */
-    public static function restrict(str:String, restrict:String):String
-    {
-        // A null 'restrict' string means all characters are allowed.
-        if (restrict == null)
-            return str;
-            
-        // An empty 'restrict' string means no characters are allowed.
-        if (restrict == "")
-            return "";
-            
-        // Otherwise, we need to test each character in 'str'
-        // to determine whether the 'restrict' string allows it.
-        var charCodes:Array = [];
-        
-        var n:int = str.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var charCode:uint = str.charCodeAt(i);
-            if (testCharacter(charCode, restrict))
-                charCodes.push(charCode);
-        }
-        
-        return String.fromCharCode.apply(null, charCodes);
-    }
-                            
-    /**
-     *  @private
-     *  Helper method used by restrict() to test each character
-     *  in the input string against the restriction string.
-     *  The logic in this method implements the same algorithm
-     *  as in TextField's 'restrict' property (which is quirky,
-     *  such as how it handles a '-' at the beginning of the
-     *  restriction string).
-     */
-    private static function testCharacter(charCode:uint,
-                                          restrict:String):Boolean
-    {
-        var allowIt:Boolean = false;
-        
-        var inBackSlash:Boolean = false;
-        var inRange:Boolean = false;
-        var setFlag:Boolean = true;
-        var lastCode:uint = 0;
-                        
-        var n:int = restrict.length;
-        var code:uint;
-        
-        if (n > 0)
-        {
-            code = restrict.charCodeAt(0);
-            if (code == 94) // caret
-                allowIt = true;
-        }
-        
-        for (var i:int = 0; i < n; i++)
-        {
-            code = restrict.charCodeAt(i)
-            
-            var acceptCode:Boolean = false;
-            if (!inBackSlash)
-            {
-                if (code == 45) // hyphen
-                    inRange = true;
-                else if (code == 94) // caret
-                    setFlag = !setFlag;
-                else if (code == 92) // backslash
-                    inBackSlash = true;
-                else
-                    acceptCode = true;
-            }
-            else
-            {
-                acceptCode = true;
-                inBackSlash = false;
-            }
-            
-            if (acceptCode)
-            {
-                if (inRange)
-                {
-                    if (lastCode <= charCode && charCode <= code)
-                        allowIt = setFlag;
-                    inRange = false;
-                    lastCode = 0;
-                }
-                else
-                {
-                    if (charCode == code)
-                        allowIt = setFlag;
-                    lastCode = code;
-                }
-            }
-        }
-        
-        return allowIt;
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/UIDUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/UIDUtil.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/UIDUtil.as
deleted file mode 100644
index f6cf737..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/UIDUtil.as
+++ /dev/null
@@ -1,296 +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 mx.utils
-{
-
-import flash.utils.ByteArray;
-import flash.utils.Dictionary;
-
-import mx.core.mx_internal;
-
-use namespace mx_internal;
-
-/**
- *  The UIDUtil class is an all-static class
- *  with methods for working with UIDs (unique identifiers) within Flex.
- *  You do not create instances of UIDUtil;
- *  instead you simply call static methods such as the
- *  <code>UIDUtil.createUID()</code> method.
- * 
- *  <p><b>Note</b>: If you have a dynamic object that has no [Bindable] properties 
- *  (which force the object to implement the IUID interface), Flex  adds an 
- *  <code>mx_internal_uid</code> property that contains a UID to the object. 
- *  To avoid having this field 
- *  in your dynamic object, make it [Bindable], implement the IUID interface
- *  in the object class, or set a <coded>uid</coded> property with a value.</p>
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public class UIDUtil
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class constants
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  Char codes for 0123456789ABCDEF
-     */
-	private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54, 
-		55, 56, 57, 65, 66, 67, 68, 69, 70];
-
-    private static const DASH:int = 45;       // dash ascii
-    private static const UIDBuffer:ByteArray = new ByteArray();       // static ByteArray used for UID generation to save memory allocation cost
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class variables
-    //
-    //--------------------------------------------------------------------------
-
-    /** 
-     *  This Dictionary records all generated uids for all existing items.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private static var uidDictionary:Dictionary = new Dictionary(true);
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Generates a UID (unique identifier) based on ActionScript's
-     *  pseudo-random number generator and the current time.
-     *
-     *  <p>The UID has the form
-     *  <code>"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"</code>
-     *  where X is a hexadecimal digit (0-9, A-F).</p>
-     *
-     *  <p>This UID will not be truly globally unique; but it is the best
-     *  we can do without player support for UID generation.</p>
-     *
-     *  @return The newly-generated UID.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-	public static function createUID():String
-    {
-        UIDBuffer.position = 0;
-
-        var i:int;
-        var j:int;
-
-        for (i = 0; i < 8; i++)
-        {
-            UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
-        }
-
-        for (i = 0; i < 3; i++)
-        {
-            UIDBuffer.writeByte(DASH);
-            for (j = 0; j < 4; j++)
-            {
-                UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
-            }
-        }
-
-        UIDBuffer.writeByte(DASH);
-
-        var time:uint = new Date().getTime(); // extract last 8 digits
-        var timeString:String = time.toString(16).toUpperCase();
-        // 0xFFFFFFFF milliseconds ~= 3 days, so timeString may have between 1 and 8 digits, hence we need to pad with 0s to 8 digits
-        for (i = 8; i > timeString.length; i--)
-            UIDBuffer.writeByte(48);
-        UIDBuffer.writeUTFBytes(timeString);
-
-        for (i = 0; i < 4; i++)
-        {
-            UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
-        }
-
-        return UIDBuffer.toString();
-    }
-
-    /**
-     * Converts a 128-bit UID encoded as a ByteArray to a String representation.
-     * The format matches that generated by createUID. If a suitable ByteArray
-     * is not provided, null is returned.
-     * 
-     * @param ba ByteArray 16 bytes in length representing a 128-bit UID.
-     * 
-     * @return String representation of the UID, or null if an invalid
-     * ByteArray is provided.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function fromByteArray(ba:ByteArray):String
-    {
-        if (ba != null && ba.length >= 16 && ba.bytesAvailable >= 16)
-        {
-            UIDBuffer.position = 0;
-            var index:uint = 0;
-            for (var i:uint = 0; i < 16; i++)
-            {
-                if (i == 4 || i == 6 || i == 8 || i == 10)
-                    UIDBuffer.writeByte(DASH); // Hyphen char code
-
-                var b:int = ba.readByte();
-                UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0xF0) >>> 4]);
-                UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0x0F)]);
-            }
-            return UIDBuffer.toString();
-        }
-
-        return null;
-    }
-
-    /**
-     * A utility method to check whether a String value represents a 
-     * correctly formatted UID value. UID values are expected to be 
-     * in the format generated by createUID(), implying that only
-     * capitalized A-F characters in addition to 0-9 digits are
-     * supported.
-     * 
-     * @param uid The value to test whether it is formatted as a UID.
-     * 
-     * @return Returns true if the value is formatted as a UID.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function isUID(uid:String):Boolean
-    {
-        if (uid != null && uid.length == 36)
-        {
-            for (var i:uint = 0; i < 36; i++)
-            {
-                var c:Number = uid.charCodeAt(i);
-
-                // Check for correctly placed hyphens
-                if (i == 8 || i == 13 || i == 18 || i == 23)
-                {
-                    if (c != DASH)
-                    {
-                        return false;
-                    }
-                }
-                // We allow capital alpha-numeric hex digits only
-                else if (c < 48 || c > 70 || (c > 57 && c < 65))
-                {
-                    return false;
-                }
-            }
-
-            return true;
-        }
-
-        return false;
-    }
-
-    /**
-     * Converts a UID formatted String to a ByteArray. The UID must be in the
-     * format generated by createUID, otherwise null is returned.
-     * 
-     * @param String representing a 128-bit UID
-     * 
-     * @return ByteArray 16 bytes in length representing the 128-bits of the
-     * UID or null if the uid could not be converted.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function toByteArray(uid:String):ByteArray
-    {
-        if (isUID(uid))
-        {
-            var result:ByteArray = new ByteArray();
-
-            for (var i:uint = 0; i < uid.length; i++)
-            {
-                var c:String = uid.charAt(i);
-                if (c == "-")
-                    continue;
-                var h1:uint = getDigit(c);
-                i++;
-                var h2:uint = getDigit(uid.charAt(i));
-                result.writeByte(((h1 << 4) | h2) & 0xFF);
-            }
-            result.position = 0;
-            return result;
-        }
-
-        return null;
-    }
-
-    /**
-     * Returns the decimal representation of a hex digit.
-     * @private
-     */
-    private static function getDigit(hex:String):uint
-    {
-        switch (hex) 
-        {
-            case "A": 
-            case "a":           
-                return 10;
-            case "B":
-            case "b":
-                return 11;
-            case "C":
-            case "c":
-                return 12;
-            case "D":
-            case "d":
-                return 13;
-            case "E":
-            case "e":
-                return 14;                
-            case "F":
-            case "f":
-                return 15;
-            default:
-                return new uint(hex);
-        }    
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/object_proxy.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/object_proxy.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/object_proxy.as
deleted file mode 100644
index 5aea911..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/object_proxy.as
+++ /dev/null
@@ -1,34 +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 mx.utils
-{
-
-/**
- *  Documentation is not currently available.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public namespace object_proxy =
-	"http://www.adobe.com/2006/actionscript/flash/objectproxy";
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index 654d6d6..70ffa3e 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -76,7 +76,6 @@
     
     <target name="compile" description="Builds all SWCs but not their resource bundles">
         <!-- order may matter due to dependencies -->
-        <antcall target="mxmlcclasses"/>
         <antcall target="Core"/>
         <antcall target="Graphics"/>
         <antcall target="Binding"/>
@@ -186,7 +185,6 @@
         <ant dir="${basedir}/projects/JQuery" target="clean"/>
         <ant dir="${basedir}/projects/Mobile" target="clean"/>
         <ant dir="${basedir}/projects/Network" target="clean"/>
-        <ant dir="${basedir}/as/projects/MXMLCClasses" target="clean"/>
 
         <!-- delete the FlashBuilder executable directories -->
         <delete includeemptydirs="true" failonerror="false">
@@ -266,10 +264,6 @@
         <ant dir="${basedir}/projects/Network"/>
     </target>
 
-    <target name="mxmlcclasses" description="Clean build of MXMLClasses.swc">
-        <ant dir="${basedir}/as/projects/MXMLCClasses"/>
-    </target>
-
 	<target name="flex-config" depends="playerglobal-setswfversion" description="Copy the flex config template to flex-config.xml and inject version numbers">
 		<copy file="${basedir}/flex-config-template.xml" tofile="${basedir}/flex-config.xml" overwrite="true">
 			<filterset>


[9/9] git commit: [flex-asjs] [refs/heads/develop] - adjust install for removal of mx

Posted by ah...@apache.org.
adjust install for removal of mx


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

Branch: refs/heads/develop
Commit: 930e8bcd92a9d9cb8e62bc97433bf595a0282cf2
Parents: 3871d2c
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 23 23:16:21 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 23 23:16:21 2015 -0700

----------------------------------------------------------------------
 installer.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/930e8bcd/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 6b73822..f791ff8 100644
--- a/installer.xml
+++ b/installer.xml
@@ -952,7 +952,7 @@
         <mkdir dir="${FLEXJS_HOME}/frameworks/rsls" />
         <mkdir dir="${FLEXJS_HOME}/frameworks/themes/Halo" />
         <mkdir dir="${FLEXJS_HOME}/frameworks/themes/Spark" />
-        <copy file="${FLEXJS_HOME}/frameworks/libs/MXMLCClasses.swc"
+        <copy file="${FLEXJS_HOME}/frameworks/libs/Binding.swc"
 tofile="${FLEXJS_HOME}/frameworks/themes/Halo/Halo.swc" />
         <touch file="${FLEXJS_HOME}/frameworks/themes/Spark/spark.css" />
         <copy file="${FLEXJS_HOME}/frameworks/air-config.xml"


[7/9] git commit: [flex-asjs] [refs/heads/develop] - fix checkintests

Posted by ah...@apache.org.
fix checkintests


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

Branch: refs/heads/develop
Commit: 4ad613e9515a434dc431d7721c20dae03d314e22
Parents: d54a593
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 23 15:14:45 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 23 15:14:45 2015 -0700

----------------------------------------------------------------------
 build.xml                                       |   2 +
 mustella/tests/basicTests/BasicTests.mxml       | 140 +++++++++----------
 .../tests/basicTests/mx/styles/StyleManager.as  |  35 +++++
 3 files changed, 107 insertions(+), 70 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4ad613e9/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index dfc7269..db14bbb 100644
--- a/build.xml
+++ b/build.xml
@@ -1198,6 +1198,8 @@
             <arg line="-compiler.mxml.children-as-data=true" />
             <library-path dir="${FLEX_SDK_HOME}" append="true">
                 <include name="mustella/mustella.swc"/>
+                <include name="frameworks/libs/framework.swc"/>
+                <include name="frameworks/locale/en_US/framework_rb.swc"/>
             </library-path>
         </mxmlc>
         <!-- compile supporting swfs for basic tests

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4ad613e9/mustella/tests/basicTests/BasicTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests.mxml b/mustella/tests/basicTests/BasicTests.mxml
index b8835e5..2f8b636 100644
--- a/mustella/tests/basicTests/BasicTests.mxml
+++ b/mustella/tests/basicTests/BasicTests.mxml
@@ -33,76 +33,76 @@
 
     <!--  STEP 1: Add a state for your test here -->
     <js:states>
-        <mx:State name="basicTest" />
-        <mx:State name="haloButtonTest" />
-        <mx:State name="haloCheckBoxTest" />
-        <mx:State name="haloRadioButtonTest" />
-        <mx:State name="haloTextInputTest" />
-        <mx:State name="haloTextAreaTest" />
-        <mx:State name="haloComboBoxTest" />
-        <!--<mx:State name="haloColorPickerTest" />-->
-        <mx:State name="haloNumericStepperTest" />
-        <!--<mx:State name="haloDateFieldTest" />-->
-        <!--<mx:State name="haloMenuTest" />-->
-        <!--<mx:State name="haloMenuBarTest" />-->
-        <!--<mx:State name="haloFocusManagerTest" />-->
-        <mx:State name="haloListAndDataGridTest" />
-        <!--<mx:State name="haloTreeTest" />-->
-        <mx:State name="haloImageTest" />
-        <!--<mx:State name="haloSWFLoaderTest" />-->
-        <mx:State name="haloTextTest" />
-        <!--<mx:State name="haloFTETextTest" />-->
-        <!--<mx:State name="haloProgressBarTest" />-->
-        <mx:State name="haloSliderTest" />
-        <!--<mx:State name="haloTabNavigatorTest" />-->
-        <!--<mx:State name="haloAccordionTest" />-->
-        <mx:State name="haloAlertTest" />
-        <!--<mx:State name="haloRPCDataBindingTest" />-->
-        <!--<mx:State name="haloCollectionTest" />-->
-        <!--<mx:State name="dmvADGTest" />-->
-        <!--<mx:State name="dmvODGTest" />-->
-        <!--<mx:State name="dmvChartsTest" />        
-        <!--<mx:State name="sparkListDragDropTest" />-->
-        <!--<mx:State name="sparkBorderContainerTest" />-->
-        <!--<mx:State name="sparkButtonTest" />-->
-        <!--<mx:State name="sparkCheckBoxTest" />-->
-        <!--<mx:State name="sparkAnimateConstraintsTest" />-->
-        <!--<mx:State name="sparkEasingTest" />-->
-        <!--<mx:State name="sparkRadioButtonTest" />-->
-        <!--<mx:State name="sparkTextInputTest" />-->
-        <!--<mx:State name="sparkTextAreaTest" />-->
-        <!--<mx:State name="sparkComboBoxTest" />-->
-        <!--<mx:State name="sparkDropDownListTest" />-->
-        <!--<mx:State name="sparkFormTest" />-->
-        <!--<mx:State name="sparkLayoutDirectionTest" />-->
-        <!--<mx:State name="sparkNumericStepperTest" />-->
-        <!--<mx:State name="sparkSliderTest" />-->
-        <!--<mx:State name="sparkScrollBarTest" />-->
-        <!--<mx:State name="sparkDeferredInstantiationTest" />-->
-        <!--<mx:State name="sparkLayoutTest" />-->
-        <!--<mx:State name="sparkPanelControlBarTest" />-->
-        <!--<mx:State name="sparkButtonBarTest" />-->
-        <!--<mx:State name="sparkTileGroupTest" />-->
-        <!--<mx:State name="sparkTitleWindowTest" />-->
-        <!--<mx:State name="sparkVideoPlayerTest" />-->
-        <!--<mx:State name="mxItemRendererTest" />-->
-        <!--<mx:State name="graphicsTagsTest" />-->
-        <!--<mx:State name="fxgCompileTest" />-->
-        <!--<mx:State name="fxg2CompileTest" />-->
-        <!--<mx:State name="designLayerTest" />-->
-        <!--<mx:State name="styleManagerTest" />-->
-        <!--<mx:State name="fxg2RuntimeTest" />-->
-        <!--<mx:State name="imageTest" />-->
-        <!--<mx:State name="sparkDateTimeFormatterTest" />-->
-        <!--<mx:State name="sparkAdvancedStyleClientTest" />-->
-        <!--<mx:State name="sparkNumberFormatterTest" />-->
-        <!--<mx:State name="sparkStringToolsTest" />-->
-        <!--<mx:State name="sparkCollatorTest" />-->
-        <!--<mx:State name="sparkCurrencyFormatterTest" />-->
-        <!--<mx:State name="sparkDataGridTest" />-->
-        <!--<mx:State name="sparkCurrencyValidatorTest" />-->
-        <!--<mx:State name="sparkNumberValidatorTest" />-->
-        <!--<mx:State name="sparkSortTest" /> -->
+        <js:State name="basicTest" />
+        <js:State name="haloButtonTest" />
+        <js:State name="haloCheckBoxTest" />
+        <js:State name="haloRadioButtonTest" />
+        <js:State name="haloTextInputTest" />
+        <js:State name="haloTextAreaTest" />
+        <js:State name="haloComboBoxTest" />
+        <!--<js:State name="haloColorPickerTest" />-->
+        <js:State name="haloNumericStepperTest" />
+        <!--<js:State name="haloDateFieldTest" />-->
+        <!--<js:State name="haloMenuTest" />-->
+        <!--<js:State name="haloMenuBarTest" />-->
+        <!--<js:State name="haloFocusManagerTest" />-->
+        <js:State name="haloListAndDataGridTest" />
+        <!--<js:State name="haloTreeTest" />-->
+        <js:State name="haloImageTest" />
+        <!--<js:State name="haloSWFLoaderTest" />-->
+        <js:State name="haloTextTest" />
+        <!--<js:State name="haloFTETextTest" />-->
+        <!--<js:State name="haloProgressBarTest" />-->
+        <js:State name="haloSliderTest" />
+        <!--<js:State name="haloTabNavigatorTest" />-->
+        <!--<js:State name="haloAccordionTest" />-->
+        <js:State name="haloAlertTest" />
+        <!--<js:State name="haloRPCDataBindingTest" />-->
+        <!--<js:State name="haloCollectionTest" />-->
+        <!--<js:State name="dmvADGTest" />-->
+        <!--<js:State name="dmvODGTest" />-->
+        <!--<js:State name="dmvChartsTest" />        
+        <!--<js:State name="sparkListDragDropTest" />-->
+        <!--<js:State name="sparkBorderContainerTest" />-->
+        <!--<js:State name="sparkButtonTest" />-->
+        <!--<js:State name="sparkCheckBoxTest" />-->
+        <!--<js:State name="sparkAnimateConstraintsTest" />-->
+        <!--<js:State name="sparkEasingTest" />-->
+        <!--<js:State name="sparkRadioButtonTest" />-->
+        <!--<js:State name="sparkTextInputTest" />-->
+        <!--<js:State name="sparkTextAreaTest" />-->
+        <!--<js:State name="sparkComboBoxTest" />-->
+        <!--<js:State name="sparkDropDownListTest" />-->
+        <!--<js:State name="sparkFormTest" />-->
+        <!--<js:State name="sparkLayoutDirectionTest" />-->
+        <!--<js:State name="sparkNumericStepperTest" />-->
+        <!--<js:State name="sparkSliderTest" />-->
+        <!--<js:State name="sparkScrollBarTest" />-->
+        <!--<js:State name="sparkDeferredInstantiationTest" />-->
+        <!--<js:State name="sparkLayoutTest" />-->
+        <!--<js:State name="sparkPanelControlBarTest" />-->
+        <!--<js:State name="sparkButtonBarTest" />-->
+        <!--<js:State name="sparkTileGroupTest" />-->
+        <!--<js:State name="sparkTitleWindowTest" />-->
+        <!--<js:State name="sparkVideoPlayerTest" />-->
+        <!--<js:State name="mxItemRendererTest" />-->
+        <!--<js:State name="graphicsTagsTest" />-->
+        <!--<js:State name="fxgCompileTest" />-->
+        <!--<js:State name="fxg2CompileTest" />-->
+        <!--<js:State name="designLayerTest" />-->
+        <!--<js:State name="styleManagerTest" />-->
+        <!--<js:State name="fxg2RuntimeTest" />-->
+        <!--<js:State name="imageTest" />-->
+        <!--<js:State name="sparkDateTimeFormatterTest" />-->
+        <!--<js:State name="sparkAdvancedStyleClientTest" />-->
+        <!--<js:State name="sparkNumberFormatterTest" />-->
+        <!--<js:State name="sparkStringToolsTest" />-->
+        <!--<js:State name="sparkCollatorTest" />-->
+        <!--<js:State name="sparkCurrencyFormatterTest" />-->
+        <!--<js:State name="sparkDataGridTest" />-->
+        <!--<js:State name="sparkCurrencyValidatorTest" />-->
+        <!--<js:State name="sparkNumberValidatorTest" />-->
+        <!--<js:State name="sparkSortTest" /> -->
     </js:states>
     
     <!--  STEP 2: Add an mxml component with the widgets for your test here -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4ad613e9/mustella/tests/basicTests/mx/styles/StyleManager.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/mx/styles/StyleManager.as b/mustella/tests/basicTests/mx/styles/StyleManager.as
new file mode 100644
index 0000000..d03c0bb
--- /dev/null
+++ b/mustella/tests/basicTests/mx/styles/StyleManager.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 mx.styles
+{
+
+// this is a stub to prevent some other regular Flex SDK classes from being
+// linked into FlexJS tests 
+public class StyleManager
+{
+	public function StyleManager()
+	{
+		super();
+    }
+    
+}
+
+
+}
+


[6/9] git commit: [flex-asjs] [refs/heads/develop] - fix up files after renaming mx classes

Posted by ah...@apache.org.
fix up files after renaming mx classes


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

Branch: refs/heads/develop
Commit: d54a593714be1468114f1b9dfb6083380f0a41b4
Parents: 6dc5cfb
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 23 11:42:02 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 23 11:42:02 2015 -0700

----------------------------------------------------------------------
 examples/DataBindingTest/src/MyInitialView.mxml |  4 +--
 examples/FlexJSStore/src/FlexJSStore.mxml       | 20 +++++++-------
 examples/FlexJSStore/src/ProductsView.mxml      |  4 +--
 .../src/productsView/CatalogTitleButtons.mxml   |  4 +--
 .../src/productsView/ProductCatalogPanel.mxml   |  6 ++---
 .../productsView/ProductCatalogThumbnail.mxml   |  8 +++---
 .../src/productsView/ProductDetails.mxml        |  4 +--
 .../src/productsView/ProductFilterPanel.mxml    |  4 +--
 .../src/productsView/ProductListItem.mxml       |  4 +--
 frameworks/air-config-template.xml              | 12 +++++++++
 frameworks/air-config.xml                       | 12 +++++++++
 frameworks/flex-config-template.xml             | 10 +++++--
 frameworks/flex-config.xml                      | 10 +++++--
 .../org/apache/flex/charts/core/IChartSeries.as |  2 +-
 .../flex/charts/supportClasses/BarSeries.as     |  2 +-
 .../flex/charts/supportClasses/ColumnSeries.as  |  2 +-
 .../flex/charts/supportClasses/LineSeries.as    |  2 +-
 .../flex/charts/supportClasses/PieSeries.as     |  2 +-
 .../apache/flex/charts/core/IChartDataGroup.js  |  2 +-
 .../org/apache/flex/charts/core/IChartSeries.js |  2 +-
 frameworks/projects/Core/as/src/CoreClasses.as  | 10 +++----
 .../as/src/org/apache/flex/core/ClassFactory.as |  6 ++---
 .../src/org/apache/flex/core/ContainerBase.as   |  4 +--
 .../as/src/org/apache/flex/core/IFactory.as     |  2 +-
 .../flex/core/IItemRendererClassFactory.as      |  2 +-
 .../src/org/apache/flex/core/IStatesObject.as   |  2 +-
 .../flex/core/ItemRendererClassFactory.as       |  4 +--
 .../org/apache/flex/core/SimpleStatesImpl.as    |  8 +++---
 .../as/src/org/apache/flex/states/AddItems.as   |  2 +-
 .../org/apache/flex/states/ItemAndDescriptor.as |  2 +-
 .../org/apache/flex/states/SetEventHandler.as   |  2 +-
 .../src/org/apache/flex/states/SetProperty.as   |  2 +-
 .../Core/as/src/org/apache/flex/states/State.as |  2 +-
 frameworks/projects/Core/basic-manifest.xml     |  4 ++-
 frameworks/projects/Core/compile-config.xml     |  5 ----
 .../js/src/org/apache/flex/core/ClassFactory.js | 16 +++++------
 .../js/src/org/apache/flex/core/IFactory.js     | 10 +++----
 .../flex/core/ItemRendererClassFactory.js       |  4 +--
 .../org/apache/flex/core/SimpleStatesImpl.js    | 24 ++++++++---------
 .../js/src/org/apache/flex/states/AddItems.js   | 28 ++++++++++----------
 .../org/apache/flex/states/SetEventHandler.js   | 20 +++++++-------
 .../src/org/apache/flex/states/SetProperty.js   | 22 +++++++--------
 .../Core/js/src/org/apache/flex/states/State.js | 12 ++++-----
 frameworks/projects/Core/mx-manifest.xml        | 26 ------------------
 .../flex/core/StatesWithTransitionsImpl.as      |  8 +++---
 .../asjs/src/org/apache/flex/effects/Tween.as   |  6 ++---
 .../HTML/as/src/org/apache/flex/html/List.as    |  2 +-
 .../org/apache/flex/html/MXMLBeadViewBase.as    |  4 +--
 .../flex/html/supportClasses/DataGridColumn.as  |  2 +-
 .../HTML/js/src/org/apache/flex/html/List.js    |  2 +-
 .../flex/html/supportClasses/DataGridColumn.js  |  2 +-
 51 files changed, 184 insertions(+), 177 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/DataBindingTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/DataBindingTest/src/MyInitialView.mxml b/examples/DataBindingTest/src/MyInitialView.mxml
index f81deeb..3dcaa1e 100644
--- a/examples/DataBindingTest/src/MyInitialView.mxml
+++ b/examples/DataBindingTest/src/MyInitialView.mxml
@@ -97,8 +97,8 @@ limitations under the License.
         }
 	</fx:Style>
     <js:states>
-        <mx:State name="hideAll" />        
-        <mx:State name="showAll" />        
+        <js:State name="hideAll" />        
+        <js:State name="showAll" />        
     </js:states>
     <js:beads>
         <js:ViewBaseDataBinding />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/FlexJSStore.mxml b/examples/FlexJSStore/src/FlexJSStore.mxml
index a3a1d10..5824acc 100755
--- a/examples/FlexJSStore/src/FlexJSStore.mxml
+++ b/examples/FlexJSStore/src/FlexJSStore.mxml
@@ -191,16 +191,16 @@ limitations under the License.
                         initComplete="completeHandler(null)"
                         stateChangeComplete="chainStatesIfNeeded()">
             <js:states>
-                <mx:State name="HomeState" stateGroups="['Home']" />
-                <mx:State name="HomeWipeUp" stateGroups="['Home']" />
-                <mx:State name="HomeWipeDown" stateGroups="['Home']" />
-                <mx:State name="ProductsPreBake" stateGroups="['Home', 'Products']" />
-                <mx:State name="ProductsState" stateGroups="['Products']" />
-                <mx:State name="ProductsWipeUp" stateGroups="['Products']" />
-                <mx:State name="ProductsWipeDown" stateGroups="['Products']" />
-                <mx:State name="SupportState" stateGroups="['Support']" />
-                <mx:State name="SupportWipeUp" stateGroups="['Support']" />
-                <mx:State name="SupportWipeDown" stateGroups="['Support']" />
+                <js:State name="HomeState" stateGroups="['Home']" />
+                <js:State name="HomeWipeUp" stateGroups="['Home']" />
+                <js:State name="HomeWipeDown" stateGroups="['Home']" />
+                <js:State name="ProductsPreBake" stateGroups="['Home', 'Products']" />
+                <js:State name="ProductsState" stateGroups="['Products']" />
+                <js:State name="ProductsWipeUp" stateGroups="['Products']" />
+                <js:State name="ProductsWipeDown" stateGroups="['Products']" />
+                <js:State name="SupportState" stateGroups="['Support']" />
+                <js:State name="SupportWipeUp" stateGroups="['Support']" />
+                <js:State name="SupportWipeDown" stateGroups="['Support']" />
             </js:states>
             
             <js:transitions>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/ProductsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/ProductsView.mxml b/examples/FlexJSStore/src/ProductsView.mxml
index 54e1603..b28c9fe 100755
--- a/examples/FlexJSStore/src/ProductsView.mxml
+++ b/examples/FlexJSStore/src/ProductsView.mxml
@@ -109,8 +109,8 @@ limitations under the License.
     </productsView:ProductCatalogPanel>
     
     <js:states>
-       <mx:State name="showFilter" />
-       <mx:State name="showCart" />
+       <js:State name="showFilter" />
+       <js:State name="showCart" />
     </js:states>
     
     <!-- 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml b/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
index 1d2ae72..1df074a 100755
--- a/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
+++ b/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
@@ -64,7 +64,7 @@ limitations under the License.
              rollOut.showFilter="rollOutLabel(event)"/>
     
     <js:states>
-        <mx:State name="showFilter" />
-        <mx:State name="showCart" />
+        <js:State name="showFilter" />
+        <js:State name="showCart" />
     </js:states>
 </js:HContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
index e079ad2..04e9a9f 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
@@ -540,9 +540,9 @@ limitations under the License.
     </js:Container>
     
     <js:states>
-        <mx:State name="browse" />
-        <mx:State name="compare" />
-        <mx:State name="details" />
+        <js:State name="browse" />
+        <js:State name="compare" />
+        <js:State name="details" />
     </js:states>
     
 </js:Panel>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
index df70ab5..2105a88 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
@@ -209,13 +209,13 @@ limitations under the License.
 
     <js:states>
 
-        <mx:State name="compare" />
+        <js:State name="compare" />
 
-        <mx:State name="x4cols" />
+        <js:State name="x4cols" />
 
-        <mx:State name="x3cols" />
+        <js:State name="x3cols" />
 
-        <mx:State name="x2cols"/>
+        <js:State name="x2cols"/>
     </js:states>
 
 </js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductDetails.mxml b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
index 4e22f74..4fdca19 100755
--- a/examples/FlexJSStore/src/productsView/ProductDetails.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
@@ -60,8 +60,8 @@ limitations under the License.
     </fx:Declarations>
 
     <js:states>
-        <mx:State name="Features" />
-        <mx:State name="Support" />
+        <js:State name="Features" />
+        <js:State name="Support" />
     </js:states>
     
     <js:transitions>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml b/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
index 5240c0e..6f038e9 100755
--- a/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
@@ -209,8 +209,8 @@ limitations under the License.
                   image.showingComparison="assets/icon_tiles.png" />
     
     <js:states>
-       <mx:State name="showingThumbnails" />
-       <mx:State name="showingComparison" />
+       <js:State name="showingThumbnails" />
+       <js:State name="showingComparison" />
     </js:states>
 
 </js:VContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/examples/FlexJSStore/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductListItem.mxml b/examples/FlexJSStore/src/productsView/ProductListItem.mxml
index bf6a2a8..f533609 100755
--- a/examples/FlexJSStore/src/productsView/ProductListItem.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductListItem.mxml
@@ -124,8 +124,8 @@ limitations under the License.
     </js:TextInput>
     
     <js:states>
-        <mx:State name="compare" />
-        <mx:State name="showQuantity" />
+        <js:State name="compare" />
+        <js:State name="showQuantity" />
     </js:states>
     
 </js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/air-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/air-config-template.xml b/frameworks/air-config-template.xml
index 20ed8ec..e6c68d2 100644
--- a/frameworks/air-config-template.xml
+++ b/frameworks/air-config-template.xml
@@ -83,10 +83,22 @@
      
      <mxml>
          <children-as-data>true</children-as-data>
+         <imports>
+             <implicit-import>org.apache.flex.events.*</implicit-import>
+             <implicit-import>org.apache.flex.geom.*</implicit-import>
+             <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
+             <implicit-import>org.apache.flex.core.IFactory</implicit-import>
+         </imports>
      </mxml>
      <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
      <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
      <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+     <states-class>org.apache.flex.states.State</states-class>
+     <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
+     <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
+     <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
+     <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
+     <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>
 
      <namespaces>
       <!-- Specify a URI to associate with a manifest of components for use as MXML -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/air-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/air-config.xml b/frameworks/air-config.xml
index 789c730..8f82882 100644
--- a/frameworks/air-config.xml
+++ b/frameworks/air-config.xml
@@ -83,10 +83,22 @@
      
      <mxml>
          <children-as-data>true</children-as-data>
+         <imports>
+             <implicit-import>org.apache.flex.events.*</implicit-import>
+             <implicit-import>org.apache.flex.geom.*</implicit-import>
+             <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
+             <implicit-import>org.apache.flex.core.IFactory</implicit-import>
+         </imports>
      </mxml>
      <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
      <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
      <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+     <states-class>org.apache.flex.states.State</states-class>
+     <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
+     <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
+     <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
+     <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
+     <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>
 
      <namespaces>
       <!-- Specify a URI to associate with a manifest of components for use as MXML -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/flex-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index c003483..4aaaed5 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -87,8 +87,8 @@
           <imports>
               <implicit-import>org.apache.flex.events.*</implicit-import>
               <implicit-import>org.apache.flex.geom.*</implicit-import>
-              <implicit-import>mx.core.ClassFactory</implicit-import>
-              <implicit-import>mx.core.IFactory</implicit-import>
+              <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
+              <implicit-import>org.apache.flex.core.IFactory</implicit-import>
           </imports>
       </mxml>
       <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
@@ -96,6 +96,12 @@
       <binding-value-change-event-type>valueChange</binding-value-change-event-type>
       <binding-event-handler-event>org.apache.flex.events.Event</binding-event-handler-event>
       <binding-event-handler-class>org.apache.flex.events.EventDispatcher</binding-event-handler-class>
+      <states-class>org.apache.flex.states.State</states-class>
+      <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
+      <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
+      <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
+      <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
+      <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>
 
       <namespaces>
       <!-- Specify a URI to associate with a manifest of components for use as MXML -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config.xml b/frameworks/flex-config.xml
index ddf8b02..27828d2 100644
--- a/frameworks/flex-config.xml
+++ b/frameworks/flex-config.xml
@@ -87,8 +87,8 @@
           <imports>
               <implicit-import>org.apache.flex.events.*</implicit-import>
               <implicit-import>org.apache.flex.geom.*</implicit-import>
-              <implicit-import>mx.core.ClassFactory</implicit-import>
-              <implicit-import>mx.core.IFactory</implicit-import>
+              <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
+              <implicit-import>org.apache.flex.core.IFactory</implicit-import>
           </imports>
       </mxml>
       <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
@@ -96,6 +96,12 @@
       <binding-value-change-event-type>valueChange</binding-value-change-event-type>
       <binding-event-handler-event>org.apache.flex.events.Event</binding-event-handler-event>
       <binding-event-handler-class>org.apache.flex.events.EventDispatcher</binding-event-handler-class>
+      <states-class>org.apache.flex.states.State</states-class>
+      <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class>
+      <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class>
+      <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class>
+      <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class>
+      <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface>
 
       <namespaces>
       <!-- Specify a URI to associate with a manifest of components for use as MXML -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/as/src/org/apache/flex/charts/core/IChartSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/as/src/org/apache/flex/charts/core/IChartSeries.as b/frameworks/projects/Charts/as/src/org/apache/flex/charts/core/IChartSeries.as
index 4c2b1ce..65a2cdb 100644
--- a/frameworks/projects/Charts/as/src/org/apache/flex/charts/core/IChartSeries.as
+++ b/frameworks/projects/Charts/as/src/org/apache/flex/charts/core/IChartSeries.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.charts.core
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 
 	/**
 	 *  The IChartSeries interface is the basic interface for any type of

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
index b45d077..8001b20 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.charts.supportClasses
 {
-    import mx.core.IFactory;
+    import org.apache.flex.core.IFactory;
     
 	import org.apache.flex.charts.core.IChartSeries;
 	

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/ColumnSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/ColumnSeries.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/ColumnSeries.as
index 58924c6..db91267 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/ColumnSeries.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/ColumnSeries.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.charts.supportClasses
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 	
 	import org.apache.flex.charts.core.IChartSeries;
 	

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/LineSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/LineSeries.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/LineSeries.as
index b0b98c2..ca2b62a 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/LineSeries.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/LineSeries.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.charts.supportClasses
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 	
 	import org.apache.flex.charts.core.IChartSeries;
 	

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/PieSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/PieSeries.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/PieSeries.as
index e5e5c96..f12df3b 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/PieSeries.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/PieSeries.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.charts.supportClasses
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 	
 	import org.apache.flex.charts.core.IChartSeries;
 	

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
index 22c4d76..da5bb19 100644
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
+++ b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
@@ -20,7 +20,7 @@
 
 goog.provide('org_apache_flex_charts_core_IChartDataGroup');
 
-goog.require('mx_core_IFactory');
+goog.require('org_apache_flex_core_IFactory');
 goog.require('org_apache_flex_core_IItemRendererParent');
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
index b75086a..90a5649 100644
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
+++ b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
@@ -20,7 +20,7 @@
 
 goog.provide('org_apache_flex_charts_core_IChartSeries');
 
-goog.require('mx_core_IFactory');
+goog.require('org_apache_flex_core_IFactory');
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/CoreClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/CoreClasses.as b/frameworks/projects/Core/as/src/CoreClasses.as
index b0b7fe8..5e8bafb 100644
--- a/frameworks/projects/Core/as/src/CoreClasses.as
+++ b/frameworks/projects/Core/as/src/CoreClasses.as
@@ -87,11 +87,11 @@ internal class CoreClasses
 	import org.apache.flex.utils.Timer; Timer;
 	import org.apache.flex.utils.UIUtils; UIUtils;
     
-	import mx.core.ClassFactory; ClassFactory;
-    import mx.states.AddItems; AddItems;
-    import mx.states.SetEventHandler; SetEventHandler;
-    import mx.states.SetProperty; SetProperty;
-    import mx.states.State; State;
+	import org.apache.flex.core.ClassFactory; ClassFactory;
+    import org.apache.flex.states.AddItems; AddItems;
+    import org.apache.flex.states.SetEventHandler; SetEventHandler;
+    import org.apache.flex.states.SetProperty; SetProperty;
+    import org.apache.flex.states.State; State;
 }
 
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
index 5c0964c..8b1f254 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ClassFactory.as
@@ -16,9 +16,9 @@
 //  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.core
+package org.apache.flex.core
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 	
     /**
      *  The ClassFactory class is the basic implementation
@@ -66,7 +66,7 @@ package mx.core
 		}
 		
         /**
-         *  @copy mx.core.IFactory#newInstance()
+         *  @copy score.IFactory#newInstance()
          *  
          *  @langversion 3.0
          *  @playerversion Flash 9

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
index ab31e43..daeeae6 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.core
 {
-	import mx.states.State;
+	import org.apache.flex.states.State;
 	
 	import org.apache.flex.core.IMXMLDocument;
     import org.apache.flex.core.ValuesManager;
@@ -170,7 +170,7 @@ package org.apache.flex.core
         
         /**
          *  The array of view states. These should
-         *  be instances of mx.states.State.
+         *  be instances of org.apache.flex.states.State.
          *  
          *  @langversion 3.0
          *  @playerversion Flash 10.2

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
index aaac8e3..36c0841 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IFactory.as
@@ -16,7 +16,7 @@
 //  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.core
+package org.apache.flex.core
 {
     /**
      *  The IFactory interface is the basic interface used as the 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/IItemRendererClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IItemRendererClassFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IItemRendererClassFactory.as
index c1fccc4..36e9d9f 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IItemRendererClassFactory.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IItemRendererClassFactory.as
@@ -21,7 +21,7 @@ package org.apache.flex.core
     /**
      *  The IItemRendererClassFactory interface is the basic interface for beads
      *  that generate instances of IItemRenderers.  Note that this is not the same
-     *  as an mx.core.IFactory which is a lower-level interface for generating
+     *  as an org.apache.flex.core.IFactory which is a lower-level interface for generating
      *  an instance of just about anything.  IItemRendererClassFactory implementations
      *  often use IFactory to generate the actual item renderer instance, but
      *  the IItemRendererClassFactory bead allows for more computation about which 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/IStatesObject.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IStatesObject.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IStatesObject.as
index be11ac7..1432e35 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IStatesObject.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IStatesObject.as
@@ -33,7 +33,7 @@ package org.apache.flex.core
 	{
         /**
          *  The array of view states. These should
-         *  be instances of mx.states.State.
+         *  be instances of org.apache.flex.states.State.
          *  
          *  @langversion 3.0
          *  @playerversion Flash 10.2

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
index 96bd5a9..b2a7ef3 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
@@ -19,8 +19,8 @@
 package org.apache.flex.core
 {
     
-    import mx.core.ClassFactory;
-    import mx.core.IFactory;
+    import org.apache.flex.core.ClassFactory;
+    import org.apache.flex.core.IFactory;
     
     import org.apache.flex.utils.MXMLDataInterpreter;
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleStatesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleStatesImpl.as b/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleStatesImpl.as
index 34f27e9..e0982ed 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleStatesImpl.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleStatesImpl.as
@@ -20,10 +20,10 @@ package org.apache.flex.core
 {
     import flash.display.DisplayObject;
     
-    import mx.states.AddItems;
-    import mx.states.SetEventHandler;
-    import mx.states.SetProperty;
-    import mx.states.State;
+    import org.apache.flex.states.AddItems;
+    import org.apache.flex.states.SetEventHandler;
+    import org.apache.flex.states.SetProperty;
+    import org.apache.flex.states.State;
     
     import org.apache.flex.core.IParent;
     import org.apache.flex.core.IStatesObject;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as b/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
index 99777cb..1c26fd5 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/AddItems.as
@@ -20,7 +20,7 @@
 // shim the mx classes for states.  Be careful about updates to the main SDK's
 // version as that will move the timestamp ahead of this one and then it will
 // take precedence over this one at link time.
-package mx.states
+package org.apache.flex.states
 {
     import org.apache.flex.core.IDocument;
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as b/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
index e704917..58621f9 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/ItemAndDescriptor.as
@@ -17,7 +17,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.states
+package org.apache.flex.states
 {
     
     [ExcludeClass]

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as b/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
index 95246a0..035309b 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/SetEventHandler.as
@@ -17,7 +17,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 // shim the mx classes for states
-package mx.states
+package org.apache.flex.states
 {
     import org.apache.flex.core.IDocument;
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as b/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
index 595f84a..56ba67c 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/SetProperty.as
@@ -17,7 +17,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 // shim the mx classes for states
-package mx.states
+package org.apache.flex.states
 {
     import org.apache.flex.core.IDocument;
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/states/State.as b/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
index 3c08d57..dc620d1 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/states/State.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 
 // shim the mx classes for states
-package mx.states
+package org.apache.flex.states
 {
     /**
      *  The State class is one of the classes in the

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/basic-manifest.xml b/frameworks/projects/Core/basic-manifest.xml
index 8d9a3e0..ac43d5e 100644
--- a/frameworks/projects/Core/basic-manifest.xml
+++ b/frameworks/projects/Core/basic-manifest.xml
@@ -33,5 +33,7 @@
     <component id="ParentDocumentBead" class="org.apache.flex.core.ParentDocumentBead"/>
     <component id="MixinManager" class="org.apache.flex.utils.MixinManager" />
     <component id="ViewSourceContextMenuOption" class="org.apache.flex.utils.ViewSourceContextMenuOption" />
-
+    
+    <component id="State" class="org.apache.flex.states.State"/>
+    
 </componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/compile-config.xml b/frameworks/projects/Core/compile-config.xml
index 718bf56..7061e26 100644
--- a/frameworks/projects/Core/compile-config.xml
+++ b/frameworks/projects/Core/compile-config.xml
@@ -49,10 +49,6 @@
                 <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>
         </namespaces>
         
         <source-path>
@@ -79,7 +75,6 @@
     
     <include-namespaces>
         <uri>library://ns.apache.org/flexjs/basic</uri>
-        <uri>library://ns.adobe.com/flex/mx</uri>
 		<uri>library://ns.apache.org/flexjs/svg</uri>
     </include-namespaces>  
         

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
index 97fec5c..240b5b4 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
@@ -12,18 +12,18 @@
  * limitations under the License.
  */
 
-goog.provide('mx_core_ClassFactory');
+goog.provide('org_apache_flex_core_ClassFactory');
 
-goog.require('mx_core_IFactory');
+goog.require('org_apache_flex_core_IFactory');
 
 
 
 /**
  * @constructor
- * @implements {mx_core_IFactory}
+ * @implements {org_apache_flex_core_IFactory}
  * @param {Function} generator The class definition to use for newInstance.
  */
-mx_core_ClassFactory = function(generator) {
+org_apache_flex_core_ClassFactory = function(generator) {
   /**
    * @private
    * @type {Function}
@@ -38,18 +38,18 @@ mx_core_ClassFactory = function(generator) {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_core_ClassFactory.prototype.
+org_apache_flex_core_ClassFactory.prototype.
     FLEXJS_CLASS_INFO =
         { names: [{ name: 'ClassFactory',
-           qName: 'mx_core_ClassFactory' }],
-    interfaces: [mx_core_IFactory] };
+           qName: 'org_apache_flex_core_ClassFactory' }],
+    interfaces: [org_apache_flex_core_IFactory] };
 
 
 /**
  * @expose
  * @return {Object} The new instance of the class described by generator.
  */
-mx_core_ClassFactory.
+org_apache_flex_core_ClassFactory.
     prototype.newInstance = function() {
   var obj = new this.generator_();
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
index 556a4e0..036f702 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
@@ -17,14 +17,14 @@
  * @suppress {checkTypes}
  */
 
-goog.provide('mx_core_IFactory');
+goog.provide('org_apache_flex_core_IFactory');
 
 
 
 /**
  * @interface
  */
-mx_core_IFactory = function() {
+org_apache_flex_core_IFactory = function() {
 };
 
 
@@ -32,7 +32,7 @@ mx_core_IFactory = function() {
  * @expose
  * @return {Object} A new instance of the itemRenderer.
  */
-mx_core_IFactory.prototype.newInstance = function() {};
+org_apache_flex_core_IFactory.prototype.newInstance = function() {};
 
 
 /**
@@ -40,6 +40,6 @@ mx_core_IFactory.prototype.newInstance = function() {};
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_core_IFactory.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_core_IFactory.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'IFactory',
-                qName: 'mx_core_IFactory' }] };
+                qName: 'org_apache_flex_core_IFactory' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
index 84b16c4..2693ab0 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
@@ -14,7 +14,7 @@
 
 goog.provide('org_apache_flex_core_ItemRendererClassFactory');
 
-goog.require('mx_core_ClassFactory');
+goog.require('org_apache_flex_core_ClassFactory');
 goog.require('org_apache_flex_core_IItemRendererClassFactory');
 goog.require('org_apache_flex_core_ValuesManager');
 
@@ -66,7 +66,7 @@ Object.defineProperties(org_apache_flex_core_ItemRendererClassFactory.prototype,
               /** @type {Function} */ (org_apache_flex_core_ValuesManager.valuesImpl.
                   getValue(this.strand_, 'iItemRenderer'));
               if (this.itemRendererClass) {
-                this.itemRendererClassFactory = new mx_core_ClassFactory(this.itemRendererClass);
+                this.itemRendererClassFactory = new org_apache_flex_core_ClassFactory(this.itemRendererClass);
                 this.createFunction = this.createFromClass;
               }
            }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
index 34ecf93..2499cd6 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
@@ -14,15 +14,15 @@
 
 goog.provide('org_apache_flex_core_SimpleStatesImpl');
 
-goog.require('mx_states_AddItems');
-goog.require('mx_states_SetEventHandler');
-goog.require('mx_states_SetProperty');
-goog.require('mx_states_State');
 goog.require('org_apache_flex_core_IBead');
 goog.require('org_apache_flex_core_IStatesImpl');
 goog.require('org_apache_flex_core_IStrand');
 goog.require('org_apache_flex_core_UIBase');
 goog.require('org_apache_flex_events_EventDispatcher');
+goog.require('org_apache_flex_states_AddItems');
+goog.require('org_apache_flex_states_SetEventHandler');
+goog.require('org_apache_flex_states_SetProperty');
+goog.require('org_apache_flex_states_State');
 
 
 
@@ -122,7 +122,7 @@ org_apache_flex_core_SimpleStatesImpl.prototype.stateChangeHandler_ =
 
 /**
  * @private
- * @param {mx_states_State} s The State to revert.
+ * @param {org_apache_flex_states_State} s The State to revert.
  */
 org_apache_flex_core_SimpleStatesImpl.prototype.revert_ = function(s) {
   var arr, item, o, p, q, target;
@@ -133,7 +133,7 @@ org_apache_flex_core_SimpleStatesImpl.prototype.revert_ = function(s) {
   arr = s.overrides;
   for (p in arr) {
     o = arr[p];
-    if (org_apache_flex_utils_Language.is(o, mx_states_AddItems)) {
+    if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_AddItems)) {
       for (q in o.items) {
         item = o.items[q];
 
@@ -146,10 +146,10 @@ org_apache_flex_core_SimpleStatesImpl.prototype.revert_ = function(s) {
         parent.dispatchEvent(
             new org_apache_flex_events_Event('childrenAdded'));
       }
-    } else if (org_apache_flex_utils_Language.is(o, mx_states_SetProperty)) {
+    } else if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_SetProperty)) {
       target = o.document[o.target];
       target[o.name] = o.previousValue;
-    } else if (org_apache_flex_utils_Language.is(o, mx_states_SetEventHandler)) {
+    } else if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_SetEventHandler)) {
       target = o.document[o.target];
       target.removeEventListener(o.name, o.handlerFunction);
     }
@@ -159,7 +159,7 @@ org_apache_flex_core_SimpleStatesImpl.prototype.revert_ = function(s) {
 
 /**
  * @private
- * @param {mx_states_State} s The State to apply.
+ * @param {org_apache_flex_states_State} s The State to apply.
  */
 org_apache_flex_core_SimpleStatesImpl.prototype.apply_ = function(s) {
   var arr, child, index, item, o, p, q, target;
@@ -170,7 +170,7 @@ org_apache_flex_core_SimpleStatesImpl.prototype.apply_ = function(s) {
   arr = s.overrides;
   for (p in arr) {
     o = arr[p];
-    if (org_apache_flex_utils_Language.is(o, mx_states_AddItems)) {
+    if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_AddItems)) {
       if (!o.items) {
         o.items = o.itemsDescriptor.items;
         if (o.items == null) {
@@ -206,12 +206,12 @@ org_apache_flex_core_SimpleStatesImpl.prototype.apply_ = function(s) {
             new org_apache_flex_events_Event('childrenAdded'));
       }
     }
-    else if (org_apache_flex_utils_Language.is(o, mx_states_SetProperty))
+    else if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_SetProperty))
     {
       target = o.document[o.target];
       o.previousValue = target[o.name];
       target[o.name] = o.value;
-    } else if (org_apache_flex_utils_Language.is(o, mx_states_SetEventHandler)) {
+    } else if (org_apache_flex_utils_Language.is(o, org_apache_flex_states_SetEventHandler)) {
       target = o.document[o.target];
       target.addEventListener(o.name, o.handlerFunction);
     }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js b/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
index 22f7619..c3e4da7 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
@@ -12,7 +12,7 @@
  * limitations under the License.
  */
 
-goog.provide('mx_states_AddItems');
+goog.provide('org_apache_flex_states_AddItems');
 
 goog.require('org_apache_flex_core_IDocument');
 
@@ -22,7 +22,7 @@ goog.require('org_apache_flex_core_IDocument');
  * @constructor
  * @implements {org_apache_flex_core_IDocument}
  */
-mx_states_AddItems = function() {
+org_apache_flex_states_AddItems = function() {
 };
 
 
@@ -31,9 +31,9 @@ mx_states_AddItems = function() {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_states_AddItems.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_states_AddItems.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'AddItems',
-                qName: 'mx_states_AddItems' }],
+                qName: 'org_apache_flex_states_AddItems' }],
       interfaces: [org_apache_flex_core_IDocument] };
 
 
@@ -41,7 +41,7 @@ mx_states_AddItems.prototype.FLEXJS_CLASS_INFO =
  * @param {Object} document The MXML object.
  * @param {?string=} opt_id The id.
  */
-mx_states_AddItems.prototype.setDocument = function(document, opt_id) {
+org_apache_flex_states_AddItems.prototype.setDocument = function(document, opt_id) {
   opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
   this.document = document;
   var data = document['mxmlsd'][this.itemsDescriptorIndex];
@@ -60,14 +60,14 @@ mx_states_AddItems.prototype.setDocument = function(document, opt_id) {
  * @expose
  * @type {Object} document The MXML object.
  */
-mx_states_AddItems.prototype.document = null;
+org_apache_flex_states_AddItems.prototype.document = null;
 
 
 /**
  * @expose
  * @type {Array} items The array of items to add.
  */
-mx_states_AddItems.prototype.items = null;
+org_apache_flex_states_AddItems.prototype.items = null;
 
 
 /**
@@ -75,42 +75,42 @@ mx_states_AddItems.prototype.items = null;
  * @type {number} itemsDescriptor The index into the array
  *                               of itemDescriptors on the document
  */
-mx_states_AddItems.prototype.itemsDescriptorIndex = -1;
+org_apache_flex_states_AddItems.prototype.itemsDescriptorIndex = -1;
 
 
 /**
  * @expose
  * @type {Object} itemsDescriptor The descriptors for items.
  */
-mx_states_AddItems.prototype.itemsDescriptor = null;
+org_apache_flex_states_AddItems.prototype.itemsDescriptor = null;
 
 
 /**
  * @expose
  * @type {string} destination The id of the parent.
  */
-mx_states_AddItems.prototype.destination = '';
+org_apache_flex_states_AddItems.prototype.destination = '';
 
 
 /**
  * @expose
  * @type {string} propertyName The child property name (e.g. mxmlContent).
  */
-mx_states_AddItems.prototype.propertyName = '';
+org_apache_flex_states_AddItems.prototype.propertyName = '';
 
 
 /**
  * @expose
  * @type {string} position Where the item goes relative to relativeTo.
  */
-mx_states_AddItems.prototype.position = '';
+org_apache_flex_states_AddItems.prototype.position = '';
 
 
 /**
  * @expose
  * @type {?string} relativeTo The id of the child where the item goes.
  */
-mx_states_AddItems.prototype.relativeTo = null;
+org_apache_flex_states_AddItems.prototype.relativeTo = null;
 
 
 /**
@@ -118,7 +118,7 @@ mx_states_AddItems.prototype.relativeTo = null;
  * @param {Object} properties The properties for the new object.
  * @return {Object} The new object.
  */
-mx_states_AddItems.prototype.initializeFromObject = function(properties) {
+org_apache_flex_states_AddItems.prototype.initializeFromObject = function(properties) {
   var p;
 
   for (p in properties) {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
index 1edc36e..033d73c 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
@@ -12,7 +12,7 @@
  * limitations under the License.
  */
 
-goog.provide('mx_states_SetEventHandler');
+goog.provide('org_apache_flex_states_SetEventHandler');
 
 goog.require('org_apache_flex_core_IDocument');
 
@@ -22,7 +22,7 @@ goog.require('org_apache_flex_core_IDocument');
  * @constructor
  * @implements {org_apache_flex_core_IDocument}
  */
-mx_states_SetEventHandler = function() {
+org_apache_flex_states_SetEventHandler = function() {
 };
 
 
@@ -31,9 +31,9 @@ mx_states_SetEventHandler = function() {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'SetEventHandler',
-                qName: 'mx_states_SetEventHandler' }],
+                qName: 'org_apache_flex_states_SetEventHandler' }],
       interfaces: [org_apache_flex_core_IDocument] };
 
 
@@ -41,7 +41,7 @@ mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
  * @param {Object} document The MXML object.
  * @param {?string=} opt_id The id.
  */
-mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
+org_apache_flex_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
   opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
   this.document = document;
 };
@@ -51,28 +51,28 @@ mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
  * @expose
  * @type {Object} document The MXML object.
  */
-mx_states_SetEventHandler.prototype.document = null;
+org_apache_flex_states_SetEventHandler.prototype.document = null;
 
 
 /**
  * @expose
  * @type {string} name The event to listen for.
  */
-mx_states_SetEventHandler.prototype.name = '';
+org_apache_flex_states_SetEventHandler.prototype.name = '';
 
 
 /**
  * @expose
  * @type {string} target The id of the object.
  */
-mx_states_SetEventHandler.prototype.target = '';
+org_apache_flex_states_SetEventHandler.prototype.target = '';
 
 
 /**
  * @expose
  * @type {Object} handlerFunction The listener to be added.
  */
-mx_states_SetEventHandler.prototype.handlerFunction = null;
+org_apache_flex_states_SetEventHandler.prototype.handlerFunction = null;
 
 
 /**
@@ -80,7 +80,7 @@ mx_states_SetEventHandler.prototype.handlerFunction = null;
  * @param {Object} properties The properties for the new object.
  * @return {Object} The new object.
  */
-mx_states_SetEventHandler.prototype.initializeFromObject = function(properties) {
+org_apache_flex_states_SetEventHandler.prototype.initializeFromObject = function(properties) {
   var p;
 
   for (p in properties) {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
index f7feca9..88541f1 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
@@ -12,7 +12,7 @@
  * limitations under the License.
  */
 
-goog.provide('mx_states_SetProperty');
+goog.provide('org_apache_flex_states_SetProperty');
 
 goog.require('org_apache_flex_core_IDocument');
 
@@ -22,7 +22,7 @@ goog.require('org_apache_flex_core_IDocument');
  * @constructor
  * @implements {org_apache_flex_core_IDocument}
  */
-mx_states_SetProperty = function() {
+org_apache_flex_states_SetProperty = function() {
 };
 
 
@@ -31,9 +31,9 @@ mx_states_SetProperty = function() {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'SetProperty',
-                qName: 'mx_states_SetProperty' }],
+                qName: 'org_apache_flex_states_SetProperty' }],
       interfaces: [org_apache_flex_core_IDocument] };
 
 
@@ -41,7 +41,7 @@ mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
  * @param {Object} document The MXML object.
  * @param {?string=} opt_id The id.
  */
-mx_states_SetProperty.prototype.setDocument = function(document, opt_id) {
+org_apache_flex_states_SetProperty.prototype.setDocument = function(document, opt_id) {
   opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
   this.document = document;
 };
@@ -51,35 +51,35 @@ mx_states_SetProperty.prototype.setDocument = function(document, opt_id) {
  * @expose
  * @type {Object} document The MXML object.
  */
-mx_states_SetProperty.prototype.document = null;
+org_apache_flex_states_SetProperty.prototype.document = null;
 
 
 /**
  * @expose
  * @type {string} name The target property name.
  */
-mx_states_SetProperty.prototype.name = '';
+org_apache_flex_states_SetProperty.prototype.name = '';
 
 
 /**
  * @expose
  * @type {?string} target The id of the object.
  */
-mx_states_SetProperty.prototype.target = null;
+org_apache_flex_states_SetProperty.prototype.target = null;
 
 
 /**
  * @expose
  * @type {Object} previousValue The value to revert to.
  */
-mx_states_SetProperty.prototype.previousValue = null;
+org_apache_flex_states_SetProperty.prototype.previousValue = null;
 
 
 /**
  * @expose
  * @type {Object} value The value to set.
  */
-mx_states_SetProperty.prototype.value = null;
+org_apache_flex_states_SetProperty.prototype.value = null;
 
 
 /**
@@ -87,7 +87,7 @@ mx_states_SetProperty.prototype.value = null;
  * @param {Object} properties The properties for the new object.
  * @return {Object} The new object.
  */
-mx_states_SetProperty.prototype.initializeFromObject = function(properties) {
+org_apache_flex_states_SetProperty.prototype.initializeFromObject = function(properties) {
   var p;
 
   for (p in properties) {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js b/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
index 0d6df35..2bd1f18 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
@@ -12,7 +12,7 @@
  * limitations under the License.
  */
 
-goog.provide('mx_states_State');
+goog.provide('org_apache_flex_states_State');
 
 
 
@@ -20,7 +20,7 @@ goog.provide('mx_states_State');
  * @constructor
  * @param {Object=} opt_props The initial properties.
  */
-mx_states_State = function(opt_props) {
+org_apache_flex_states_State = function(opt_props) {
   opt_props = typeof opt_props !== 'undefined' ? opt_props : null;
 };
 
@@ -30,20 +30,20 @@ mx_states_State = function(opt_props) {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-mx_states_State.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_states_State.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'State',
-                qName: 'mx_states_State' }] };
+                qName: 'org_apache_flex_states_State' }] };
 
 
 /**
  * @expose
  * @type {string} name The state name.
  */
-mx_states_State.prototype.name = '';
+org_apache_flex_states_State.prototype.name = '';
 
 
 /**
  * @expose
  * @type {Array} overrides The state data.
  */
-mx_states_State.prototype.overrides = null;
+org_apache_flex_states_State.prototype.overrides = null;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Core/mx-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/mx-manifest.xml b/frameworks/projects/Core/mx-manifest.xml
deleted file mode 100644
index 6654ace..0000000
--- a/frameworks/projects/Core/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/d54a5937/frameworks/projects/Effects/asjs/src/org/apache/flex/core/StatesWithTransitionsImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/asjs/src/org/apache/flex/core/StatesWithTransitionsImpl.as b/frameworks/projects/Effects/asjs/src/org/apache/flex/core/StatesWithTransitionsImpl.as
index d0e9059..3e72d43 100644
--- a/frameworks/projects/Effects/asjs/src/org/apache/flex/core/StatesWithTransitionsImpl.as
+++ b/frameworks/projects/Effects/asjs/src/org/apache/flex/core/StatesWithTransitionsImpl.as
@@ -19,10 +19,10 @@
 package org.apache.flex.core
 {
     
-    import mx.states.AddItems;
-    import mx.states.SetEventHandler;
-    import mx.states.SetProperty;
-    import mx.states.State;
+    import org.apache.flex.states.AddItems;
+    import org.apache.flex.states.SetEventHandler;
+    import org.apache.flex.states.SetProperty;
+    import org.apache.flex.states.State;
     
     import org.apache.flex.core.IParent;
     import org.apache.flex.core.IStatesObject;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/Effects/asjs/src/org/apache/flex/effects/Tween.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/asjs/src/org/apache/flex/effects/Tween.as b/frameworks/projects/Effects/asjs/src/org/apache/flex/effects/Tween.as
index 979154d..3b9415e 100644
--- a/frameworks/projects/Effects/asjs/src/org/apache/flex/effects/Tween.as
+++ b/frameworks/projects/Effects/asjs/src/org/apache/flex/effects/Tween.as
@@ -75,9 +75,9 @@ public class Tween extends Effect
 	 *       <code>onTweenEnd()</code> method.</td></tr>
 	 *  </table>
 	 *
-	 *  @see mx.effects.Effect
-	 *  @see mx.effects.TweenEffect 
-	 *  @see mx.events.EffectEvent
+	 *  @see org.apache.flex.effects.Effect
+	 *  @see org.apache.flex.effects.TweenEffect 
+	 *  @see org.apache.flex.events.EffectEvent
 	 *  @eventType tweenEnd 
 	 *  
 	 *  @langversion 3.0

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/HTML/as/src/org/apache/flex/html/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/List.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/List.as
index 856d37b..39706a0 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/List.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/List.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.html
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 	
 	import org.apache.flex.core.IDataProviderItemRendererMapper;
 	import org.apache.flex.core.IItemRendererClassFactory;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/HTML/asjs/src/org/apache/flex/html/MXMLBeadViewBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/MXMLBeadViewBase.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/MXMLBeadViewBase.as
index c1a1fdf..5a15183 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/MXMLBeadViewBase.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/MXMLBeadViewBase.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.html
 {
-	import mx.states.State;
+	import org.apache.flex.states.State;
 	
 	import org.apache.flex.core.IBead;
     import org.apache.flex.core.ILayoutParent;
@@ -147,7 +147,7 @@ package org.apache.flex.html
         
         /**
          *  The array of view states. These should
-         *  be instances of mx.states.State.
+         *  be instances of org.apache.flex.states.State.
          *  
          *  @langversion 3.0
          *  @playerversion Flash 10.2

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/HTML/asjs/src/org/apache/flex/html/supportClasses/DataGridColumn.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/supportClasses/DataGridColumn.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/supportClasses/DataGridColumn.as
index 927da73..24e16fd 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/supportClasses/DataGridColumn.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/supportClasses/DataGridColumn.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.html.supportClasses
 {
-	import mx.core.IFactory;
+	import org.apache.flex.core.IFactory;
 
 	/**
 	 *  The DataGridColumn class is the collection of properties that describe

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
index 6db743e..a60245f 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
@@ -14,8 +14,8 @@
 
 goog.provide('org_apache_flex_html_List');
 
-goog.require('mx_core_IFactory');
 goog.require('org_apache_flex_core_IDataProviderItemRendererMapper');
+goog.require('org_apache_flex_core_IFactory');
 goog.require('org_apache_flex_core_IItemRendererClassFactory');
 goog.require('org_apache_flex_core_IListPresentationModel');
 goog.require('org_apache_flex_core_ItemRendererClassFactory');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d54a5937/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
index 84959e7..218f067 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
@@ -14,7 +14,7 @@
 
 goog.provide('org_apache_flex_html_supportClasses_DataGridColumn');
 
-goog.require('mx_core_IFactory');
+goog.require('org_apache_flex_core_IFactory');
 
 
 


[3/9] git commit: [flex-asjs] [refs/heads/develop] - remove MXMLCClasses.SWC. We don't need it anymore

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/mx_internal.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/mx_internal.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/mx_internal.as
deleted file mode 100644
index e70b0a5..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/mx_internal.as
+++ /dev/null
@@ -1,37 +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 mx.core
-{
-
-/**
- *  This namespace is used for undocumented APIs -- usually implementation
- *  details -- which can't be private because they need to visible
- *  to other classes.
- *  APIs in this namespace are completely unsupported and are likely to
- *  change in future versions of Flex.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public namespace mx_internal =
-	"http://www.adobe.com/2006/flex/mx/internal";
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEvent.as b/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEvent.as
deleted file mode 100644
index 47033ec..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEvent.as
+++ /dev/null
@@ -1,150 +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 mx.events
-{
-
-import flash.events.Event;
-import mx.events.PropertyChangeEventKind;
-
-/**
- * @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 PropertyChangeEvent extends Event
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class constants
-    //
-    //--------------------------------------------------------------------------
-
-    public static const PROPERTY_CHANGE:String = "propertyChange";
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
-
-    public static function createUpdateEvent(
-                                    source:Object,
-                                    property:Object,
-                                    oldValue:Object,
-                                    newValue:Object):PropertyChangeEvent
-    {
-        return null;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-
-    public function PropertyChangeEvent(type:String, bubbles:Boolean = false,
-                                        cancelable:Boolean = false,
-                                        kind:String = null,
-                                        property:Object = null, 
-                                        oldValue:Object = null,
-                                        newValue:Object = null,
-                                        source:Object = null)
-    {
-        super(type, bubbles, cancelable);
-    }
-
-    //----------------------------------
-    //  kind
-    //----------------------------------
-    
-    /**
-     *  Specifies the kind of change.
-     *  The possible values are <code>PropertyChangeEventKind.UPDATE</code>,
-     *  <code>PropertyChangeEventKind.DELETE</code>, and <code>null</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var kind:String;
-    
-    //----------------------------------
-    //  newValue
-    //----------------------------------
-    
-    /**
-     *  The value of the property after the change.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var newValue:Object;
-    
-    //----------------------------------
-    //  oldValue
-    //----------------------------------
-    
-    /**
-     *  The value of the property before the change.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var oldValue:Object;
-    
-    //----------------------------------
-    //  property
-    //----------------------------------
-    
-    /**
-     *  A String, QName, or int specifying the property that changed.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var property:Object;
-    
-    //----------------------------------
-    //  source
-    //----------------------------------
-    
-    /**
-     *  The object that the change occured on.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var source:Object;
-    
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEventKind.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEventKind.as b/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEventKind.as
deleted file mode 100644
index 3c7d321..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/events/PropertyChangeEventKind.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 mx.events
-{
-
-/**
- * @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 final class PropertyChangeEventKind
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  Indicates that the value of the property changed.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const UPDATE:String = "update";
-
-    /**
-	 *  Indicates that the property was deleted from the object.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const DELETE:String = "delete";
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/filters/IBitmapFilter.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/filters/IBitmapFilter.as b/frameworks/as/projects/MXMLCClasses/src/mx/filters/IBitmapFilter.as
deleted file mode 100644
index efe40a9..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/filters/IBitmapFilter.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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @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.filters
-{
-	public interface IBitmapFilter
-	{
- 	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSCondition.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSCondition.as b/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSCondition.as
deleted file mode 100644
index 82052ff..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSCondition.as
+++ /dev/null
@@ -1,61 +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 mx.styles
-{
-
-/**
- * @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 CSSCondition
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     * 
-     *  @param kind The kind of condition. For valid values see the
-     *  CSSConditionKind enumeration.
-     *  @param value The condition value (without CSS syntax).
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */ 
-    public function CSSCondition(kind:String, value:String)
-    {
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSSelector.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSSelector.as b/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSSelector.as
deleted file mode 100644
index dd0ada2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSSelector.as
+++ /dev/null
@@ -1,69 +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 mx.styles
-{
-
-/**
- * @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 CSSSelector
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     * 
-     *  @param subject The plain representation of this selector without
-     *  conditions or ancestors. This is typically a fully-qualified class name; for example,
-     *  "spark.components.Button". You can use "*" to match all components or "global" for a global selector.
-     *  
-     *  @param conditions  An optional Array of objects of type CSSCondition that is used to match a
-     *  subset of component instances. Currently only a single or a pair of
-     *  conditions are supported.
-     * 
-     *  @param ancestor An optional selector to match on a component that
-     *  descends from an arbitrary ancestor.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function CSSSelector(subject:String,
-            conditions:Array=null, ancestor:CSSSelector=null)
-    {
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSStyleDeclaration.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSStyleDeclaration.as b/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSStyleDeclaration.as
deleted file mode 100644
index 238504f..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/styles/CSSStyleDeclaration.as
+++ /dev/null
@@ -1,191 +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 mx.styles
-{
-    
-/**
- * @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 CSSStyleDeclaration
-{
-        
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @param selector - If the selector is a CSSSelector then advanced
-     *  CSS selectors are supported. If a String is used for the selector then
-     *  only simple CSS selectors are supported. If the String starts with a
-     *  dot it is interpreted as a universal class selector, otherwise it must
-     *  represent a simple type selector. If not null, this CSSStyleDeclaration
-     *  will be registered with StyleManager. 
-     *  
-     *  @param styleManager - The style manager to set this declaration into. If the
-     *  styleManager is null the top-level style manager will be used.
-     * 
-     *  @param autoRegisterWithStyleManager - If true set the selector in the styleManager. The selector
-     *  will only be set if both <code>selector</code> and <code>styleManager</code> are
-     *  both non-null.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function CSSStyleDeclaration(selector:Object=null, styleManager:IStyleManager2=null, autoRegisterWithStyleManager:Boolean = true)
-    {
-    }
-    
-    /**
-     *  This function, if it isn't <code>null</code>,
-     *  is usually autogenerated by the MXML compiler.
-     *  It produce copies of a plain Object, such as
-     *  <code>{ leftMargin: 10, rightMargin: 10 }</code>,
-     *  containing name/value pairs for style properties; the object is used
-     *  to build a node of the prototype chain for looking up style properties.
-     *
-     *  <p>If this CSSStyleDeclaration is owned by a UIComponent
-     *  written in MXML, this function encodes the style attributes
-     *  that were specified on the root tag of the component definition.</p>
-     *
-     *  <p>If the UIComponent was written in ActionScript,
-     *  this property is <code>null</code>.</p>
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get defaultFactory():Function
-    {
-        return null;
-    }
-    
-    /**
-     *  @private
-     */ 
-    public function set defaultFactory(f:Function):void
-    {
-    }
-    
-    //----------------------------------
-    //  factory
-    //----------------------------------
-    
-    private var _factory:Function;
-    
-    [Inspectable(environment="none")]
-    
-    /**
-     *  This function, if it isn't <code>null</code>,
-     *  is usually autogenerated by the MXML compiler.
-     *  It produce copies of a plain Object, such as
-     *  <code>{ leftMargin: 10, rightMargin: 10 }</code>,
-     *  containing name/value pairs for style properties; the object is used
-     *  to build a node of the prototype chain for looking up style properties.
-     *
-     *  <p>If this CSSStyleDeclaration is owned by a UIComponent,
-     *  this function encodes the style attributes that were specified in MXML
-     *  for an instance of that component.</p>
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get factory():Function
-    {
-        return _factory;
-    }
-    
-    /**
-     *  @private
-     */ 
-    public function set factory(f:Function):void
-    {
-        _factory = f;
-    }
-    
-    //----------------------------------
-    //  overrides
-    //----------------------------------
-    
-    private var _overrides:Object;
-    
-    /**
-     *  If the <code>setStyle()</code> method is called on a UIComponent or CSSStyleDeclaration
-     *  at run time, this object stores the name/value pairs that were set;
-     *  they override the name/value pairs in the objects produced by
-     *  the  methods specified by the <code>defaultFactory</code> and 
-     *  <code>factory</code> properties.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get overrides():Object
-    {
-        return _overrides;
-    }
-    
-    /**
-     *  @private
-     */ 
-    public function set overrides(o:Object):void
-    {
-        _overrides = o;
-    }
-    
-    //----------------------------------
-    //  selector
-    //----------------------------------
-    
-    private var _selector:CSSSelector;
-    
-    /**
-     *  This property is the base selector of a potential chain of selectors
-     *  and conditions that are used to match CSS style declarations to
-     *  components.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get selector():CSSSelector
-    {
-        return _selector; 
-    }
-    
-    public function set selector(value:CSSSelector):void
-    {
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/styles/IStyleManager2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/styles/IStyleManager2.as b/frameworks/as/projects/MXMLCClasses/src/mx/styles/IStyleManager2.as
deleted file mode 100644
index b8cb6f4..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/styles/IStyleManager2.as
+++ /dev/null
@@ -1,34 +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 mx.styles
-{
-
-/**
- * @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 IStyleManager2
-{
-    function getStyleDeclaration(selector:String):CSSStyleDeclaration;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/styles/StyleManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/styles/StyleManager.as b/frameworks/as/projects/MXMLCClasses/src/mx/styles/StyleManager.as
deleted file mode 100644
index c54d9d2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/styles/StyleManager.as
+++ /dev/null
@@ -1,50 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @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.styles
-{
-    import mx.core.IFlexModuleFactory;
-    
-	public class StyleManager
-	{
-        /**
-         *  Returns the style manager for an object.
-         *
-         *  @param moduleFactory The module factory of an object you want the 
-         *  style manager for. If null, the top-level style manager is returned.
-         *
-         *  @return the style manager for the given module factory.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10
-         *  @playerversion AIR 1.5
-         *  @productversion Flex 4
-         */
-        public static function getStyleManager(moduleFactory:IFlexModuleFactory):IStyleManager2
-        {
-            return null;
-        }
- 	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCache.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCache.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCache.as
deleted file mode 100644
index 1517b55..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCache.as
+++ /dev/null
@@ -1,172 +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 mx.utils
-{
-
-import flash.utils.describeType;
-import flash.utils.getDefinitionByName;
-import flash.utils.getQualifiedClassName;
-import mx.binding.BindabilityInfo;
-
-[ExcludeClass]
-
-/**
- *  @private
- *  DescribeTypeCache is a convenience class that is used to
- *  cache the return values of <code>flash.utils.describeType()</code>
- *  so that calls made subsequent times return faster.
- *
- *  This class also lets you set handler functions for specific value types.
- *  These will get called when the user tries to access these values on
- *  the <code>DescribeTypeCacheRecord</code> class.
- *
- *  @see mx.utils.DescribeTypeCacheRecord
- */
-public class DescribeTypeCache
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class initialization
-    //
-    //--------------------------------------------------------------------------
-
-    registerCacheHandler("bindabilityInfo", bindabilityInfoHandler);
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    private static var typeCache:Object = {};
-
-    /**
-     *  @private
-     */
-    private static var cacheHandlers:Object = {};
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Calls <code>flash.utils.describeType()</code> for the first time and caches
-         *  the return value so that subsequent calls return faster.
-         *
-         *  @param o Can be either a string describing a fully qualified class name or any
-         *  ActionScript value, including all available ActionScript types, object instances,
-         *  primitive types (such as <code>uint</code>), and class objects.
-         *
-         *  @return Returns the cached record.
-         *
-         *  @see flash.utils#describeType()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function describeType(o:*):DescribeTypeCacheRecord
-    {
-        var className:String;
-        var cacheKey:String;
-
-        if (o is String)
-            cacheKey = className = o;
-        else
-            cacheKey = className = getQualifiedClassName(o);
-
-        //Need separate entries for describeType(Foo) and describeType(myFoo)
-        if (o is Class)
-            cacheKey += "$";
-
-        if (cacheKey in typeCache)
-        {
-            return typeCache[cacheKey];
-        }
-        else
-        {
-            if (o is String)
-            {
-                try
-                {
-                    o = getDefinitionByName(o);
-                }
-                catch (error:ReferenceError)
-                {
-                    // The o parameter doesn't refer to an ActionScript 
-                    // definition, it's just a string value.
-                }
-            }
-            var typeDescription:XML = flash.utils.describeType(o);
-            var record:DescribeTypeCacheRecord = new DescribeTypeCacheRecord();
-            record.typeDescription = typeDescription;
-            record.typeName = className;
-            typeCache[cacheKey] = record;
-
-            return record;
-        }
-    }
-
-    /**
-     *  registerCacheHandler lets you add function handler for specific strings.
-         *  These functions get called when the user refers to these values on a
-         *  instance of <code>DescribeTypeCacheRecord</code>.
-     *
-     *  @param valueName String that specifies the value for which the handler must be set.
-         *  @param handler Function that should be called when user references valueName.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static function registerCacheHandler(valueName:String, handler:Function):void
-    {
-        cacheHandlers[valueName] = handler;
-    }
-
-    /**
-     *  @private
-     */
-    internal static function extractValue(valueName:String, record:DescribeTypeCacheRecord):*
-    {
-        if (valueName in cacheHandlers)
-            return cacheHandlers[valueName](record);
-
-        return undefined;
-    }
-
-    /**
-     *  @private
-     */
-    private static function bindabilityInfoHandler(record:DescribeTypeCacheRecord):*
-    {
-        return new BindabilityInfo(record.typeDescription);
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCacheRecord.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCacheRecord.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCacheRecord.as
deleted file mode 100644
index ea17f6c..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/DescribeTypeCacheRecord.as
+++ /dev/null
@@ -1,129 +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 mx.utils 
-{
-
-import flash.utils.Proxy;
-import flash.utils.flash_proxy;
-
-use namespace flash_proxy;
-
-[ExcludeClass]
-
-/**
- *  @private
- *  This class represents a single cache entry, this gets created
- *  as part of the <code>describeType</code> method call on the 
- *  <code>DescribeTypeCache</code>  class.
- */
-
-public dynamic class DescribeTypeCacheRecord extends Proxy
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Class variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    private var cache:Object = {};
-    
-    //--------------------------------------------------------------------------
-    //
-    //  Class properties
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  typeDescription
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    public var typeDescription:XML;
-    
-    //----------------------------------
-    //  typeName
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    public var typeName:String;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    public function DescribeTypeCacheRecord()
-    {
-        super();
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overridden methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    override flash_proxy function getProperty(name:*):*
-    {
-        var result:* = cache[name];
-        
-        if (result === undefined)
-        {
-            result = DescribeTypeCache.extractValue(name, this);
-            cache[name] = result;
-        }
-        
-        return result;
-    }
-
-    /**
-     *  @private
-     */
-    override flash_proxy function hasProperty(name:*):Boolean
-    {
-        if (name in cache)
-            return true;
-        
-        var value:* = DescribeTypeCache.extractValue(name, this);       
-        
-        if (value === undefined)
-            return false;
-        
-        cache[name] = value;
-        
-        return true;
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectProxy.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectProxy.as b/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectProxy.as
deleted file mode 100644
index 03a8f51..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/utils/ObjectProxy.as
+++ /dev/null
@@ -1,825 +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 mx.utils
-{
-
-import flash.events.Event;
-import flash.events.EventDispatcher;
-import flash.utils.getQualifiedClassName;
-import flash.utils.IDataInput;
-import flash.utils.IDataOutput;
-import flash.utils.IExternalizable;
-import flash.utils.Proxy;
-import flash.utils.flash_proxy;
-import mx.core.IPropertyChangeNotifier;
-import mx.events.PropertyChangeEvent;
-import mx.events.PropertyChangeEventKind;
-
-use namespace flash_proxy;
-use namespace object_proxy;
-
-[Bindable("propertyChange")]
-[RemoteClass(alias="flex.messaging.io.ObjectProxy")]
-
-/**
- *  This class provides the ability to track changes to an item
- *  managed by this proxy.
- *  Any number of objects can "listen" for changes on this
- *  object, by using the <code>addEventListener()</code> method.
- *
- *  @example
- *  <pre>
- *  import mx.events.PropertyChangeEvent;
- *  import mx.utils.ObjectUtil;
- *  import mx.utils.ObjectProxy;
- *  import mx.utils.StringUtil;
- *
- *  var a:Object = { name: "Tyler", age: 5, ssnum: "555-55-5555" };
- *  var p:ObjectProxy = new ObjectProxy(a);
- *  p.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, updateHandler);
- *  p.name = "Jacey";
- *  p.age = 2;
- *  delete p.ssnum;
- *
- *  // handler function
- *  function updateHandler(event:ChangeEvent):void
- *  {
- *      trace(StringUtil.substitute("updateHandler('{0}', {1}, {2}, {3}, '{4}')",
- *                                     event.kind,
- *                                     event.property,
- *                                     event.oldValue,
- *                                     event.newValue,
- *                                     event.target.object_proxy::UUID));
- *  }
- * 
- *  // The trace output appears as:
- *  // updateHandler('opUpdate', name, Tyler, Jacey, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
- *  // updateHandler('opUpdate', age, 5, 2, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
- *  // updateHandler('opDelete', ssnum, 555-55-5555, null, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
- *  </pre>
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public dynamic class ObjectProxy extends Proxy
-                                 implements IExternalizable,
-                                 IPropertyChangeNotifier
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Initializes this proxy with the specified object, id and proxy depth.
-     * 
-     *  @param item Object to proxy.
-     *  If no item is specified, an anonymous object will be constructed
-     *  and assigned.
-     *
-     *  @param uid String containing the unique id
-     *  for this object instance.
-     *  Required for IPropertyChangeNotifier compliance as every object must 
-     *  provide a unique way of identifying it.
-     *  If no value is specified, a random id will be assigned.
-     *
-     *  @param proxyDepth An integer indicating how many levels in a complex
-     *  object graph should have a proxy created during property access.
-     *  The default is -1, meaning "proxy to infinite depth".
-     *  
-     *  @example
-     *
-     *  <pre>
-     *  import mx.events.PropertyChangeEvent;
-     *  import mx.utils.ObjectUtil;
-     *  import mx.utils.ObjectProxy;
-     *  import mx.utils.StringUtil;
-     *
-     *  var a:Object = { name: "Tyler", age: 5, ssnum: "555-55-5555" };
-     *  var p:ObjectProxy = new ObjectProxy(a);
-     *  p.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, updateHandler);
-     *  p.name = "Jacey";
-     *  p.age = 2;
-     *  delete p.ssnum;
-     *
-     *  // handler function
-     *  function updateHandler(event:PropertyChangeEvent):void
-     *  {
-     *      trace(StringUtil.substitute("updateHandler('{0}', {1}, {2}, {3}, '{4}')",
-     *                                     event.kind,
-     *                                     event.property,
-     *                                     event.oldValue,
-     *                                     event.newValue,
-     *                                     event.target.uid));
-     *  }
-     *
-     *  // trace output
-     *  updateHandler('opUpdate', name, Jacey, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
-     *  updateHandler('opUpdate', age, 2, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
-     *  updateHandler('opDelete', ssnum, null, '698AF8CB-B3D9-21A3-1AFFDGHT89075CD2')
-     *  </pre>
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function ObjectProxy(item:Object = null, uid:String = null,
-                                proxyDepth:int = -1)
-    {
-        super();
-
-        if (!item)
-            item = {};
-        _item = item;
-
-        _proxyLevel = proxyDepth;
-       
-        notifiers = {};
-
-        dispatcher = new EventDispatcher(this);
-
-        // If we got an id, use it.  Otherwise the UID is lazily
-        // created in the getter for UID.
-        if (uid)
-            _id = uid;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  A reference to the EventDispatcher for this proxy.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var dispatcher:EventDispatcher;
-
-    /**
-     *  A hashmap of property change notifiers that this proxy is 
-     *  listening for changes from; the key of the map is the property name.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var notifiers:Object;
-    
-    /**
-     *  Indicates what kind of proxy to create
-     *  when proxying complex properties.
-     *  Subclasses should assign this value appropriately.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var proxyClass:Class = ObjectProxy;
-    
-    /**
-     *  Contains a list of all of the property names for the proxied object.
-     *  Descendants need to fill this list by overriding the
-     *  <code>setupPropertyList()</code> method.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var propertyList:Array;
-    
-    /**
-     *  Indicates how deep proxying should be performed.
-     *  If -1 (default), always proxy; 
-     *  if this value is zero, no proxying will be performed.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _proxyLevel:int;
-    
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  object
-    //----------------------------------
-
-    /**
-     *  Storage for the object property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _item:Object;
-
-    /**
-     *  The object being proxied.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    object_proxy function get object():Object
-    {
-        return _item;
-    }
-
-    //----------------------------------
-    //  type
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the qualified type name.
-     */
-    private var _type:QName;
-
-    /**
-     *  The qualified type name associated with this object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    object_proxy function get type():QName
-    {
-        return _type;
-    }
-
-    /**
-     *  @private
-     */
-    object_proxy function set type(value:QName):void
-    {
-        _type = value;
-    }
-
-    //----------------------------------
-    //  uid
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the uid property.
-     */
-    private var _id:String;
-
-    /**
-     *  The unique identifier for this object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get uid():String
-    {
-        if (_id === null)
-            _id = UIDUtil.createUID();
-            
-        return _id;
-    }
-
-    /**
-     *  @private
-     */
-    public function set uid(value:String):void
-    {
-        _id = value;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overridden methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Returns the specified property value of the proxied object.
-     *
-     *  @param name Typically a string containing the name of the property,
-     *  or possibly a QName where the property name is found by 
-     *  inspecting the <code>localName</code> property.
-     *
-     *  @return The value of the property.
-     *  In some instances this value may be an instance of 
-     *  <code>ObjectProxy</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override flash_proxy function getProperty(name:*):*
-    {
-        // if we have a data proxy for this then
-        var result:*;
-
-        if (notifiers[name.toString()])
-            return notifiers[name];
-
-        result = _item[name];
-
-        if (result)
-        {
-            if (_proxyLevel == 0 || ObjectUtil.isSimple(result))
-            {
-                return result;
-            }
-            else
-            {
-                result = object_proxy::getComplexProperty(name, result);
-            } // if we are proxying
-        }
-
-        return result;
-    }
-
-    /**
-     *  Returns the value of the proxied object's method with the specified name.
-     *
-     *  @param name The name of the method being invoked.
-     *
-     *  @param rest An array specifying the arguments to the
-     *  called method.
-     *
-     *  @return The return value of the called method.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override flash_proxy function callProperty(name:*, ... rest):*
-    {
-        return _item[name].apply(_item, rest)
-    }
-
-    /**
-     *  Deletes the specified property on the proxied object and
-     *  sends notification of the delete to the handler.
-     * 
-     *  @param name Typically a string containing the name of the property,
-     *  or possibly a QName where the property name is found by 
-     *  inspecting the <code>localName</code> property.
-     *
-     *  @return A Boolean indicating if the property was deleted.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override flash_proxy function deleteProperty(name:*):Boolean
-    {
-        var notifier:IPropertyChangeNotifier = IPropertyChangeNotifier(notifiers[name]);
-        if (notifier)
-        {
-            notifier.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
-                                         propertyChangeHandler);
-            delete notifiers[name];
-        }
-
-        var oldVal:* = _item[name];
-        var deleted:Boolean = delete _item[name]; 
-
-        if (dispatcher.hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE))
-        {
-            var event:PropertyChangeEvent = new PropertyChangeEvent(PropertyChangeEvent.PROPERTY_CHANGE);
-            event.kind = PropertyChangeEventKind.DELETE;
-            event.property = name;
-            event.oldValue = oldVal;
-            event.source = this;
-            dispatcher.dispatchEvent(event);
-        }
-
-        return deleted;
-    }
-
-    /**
-     *  @private
-     */
-    override flash_proxy function hasProperty(name:*):Boolean
-    {
-        return(name in _item);
-    }
-    
-    /**
-     *  @private
-     */
-    override flash_proxy function nextName(index:int):String
-    {
-        return propertyList[index -1];
-    }
-    
-    /**
-     *  @private
-     */
-    override flash_proxy function nextNameIndex(index:int):int
-    {
-        if (index == 0)
-        {
-            setupPropertyList();
-        }
-        
-        if (index < propertyList.length)
-        {
-            return index + 1;
-        }
-        else
-        {
-            return 0;
-        }
-    }
-    
-    /**
-     *  @private
-     */
-    override flash_proxy function nextValue(index:int):*
-    {
-        return _item[propertyList[index -1]];
-    }
-
-    /**
-     *  Updates the specified property on the proxied object
-     *  and sends notification of the update to the handler.
-     *
-     *  @param name Object containing the name of the property that
-     *  should be updated on the proxied object.
-     *
-     *  @param value Value that should be set on the proxied object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override flash_proxy function setProperty(name:*, value:*):void
-    {
-        var oldVal:* = _item[name];
-        if (oldVal !== value)
-        {
-            // Update item.
-            _item[name] = value;
-
-            // Stop listening for events on old item if we currently are.
-            var notifier:IPropertyChangeNotifier =
-                IPropertyChangeNotifier(notifiers[name]);
-            if (notifier)
-            {
-                notifier.removeEventListener(
-                    PropertyChangeEvent.PROPERTY_CHANGE,
-                    propertyChangeHandler);
-                delete notifiers[name];
-            }
-
-            // Notify anyone interested.
-            if (dispatcher.hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE))
-            {
-                if (name is QName)
-                    name = QName(name).localName;
-                var event:PropertyChangeEvent =
-                    PropertyChangeEvent.createUpdateEvent(
-                        this, name.toString(), oldVal, value);
-                dispatcher.dispatchEvent(event);
-            } 
-        }
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  object_proxy methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Provides a place for subclasses to override how a complex property that
-     *  needs to be either proxied or daisy chained for event bubbling is managed.
-     * 
-     *  @param name Typically a string containing the name of the property,
-     *  or possibly a QName where the property name is found by 
-     *  inspecting the <code>localName</code> property.
-     *
-     *  @param value The property value.
-     *
-     *  @return The property value or an instance of <code>ObjectProxy</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */  
-    object_proxy function getComplexProperty(name:*, value:*):*
-    {
-        if (value is IPropertyChangeNotifier)
-        {
-            value.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
-                                   propertyChangeHandler);
-            notifiers[name] = value;
-            return value;
-        }
-        
-        if (getQualifiedClassName(value) == "Object")
-        {
-            value = new proxyClass(_item[name], null,
-                _proxyLevel > 0 ? _proxyLevel - 1 : _proxyLevel);
-            value.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
-                                   propertyChangeHandler);
-            notifiers[name] = value;
-            return value;
-        }
-
-        return value;
-    }
-    
-    //--------------------------------------------------------------------------
-    //
-    //  IExternalizable Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Since Flex only uses ObjectProxy to wrap anonymous objects,
-     *  the server flex.messaging.io.ObjectProxy instance serializes itself
-     *  as a Map that will be returned as a plain ActionScript object. 
-     *  You can then set the object_proxy object property to this value.
-     *
-     *  @param input The source object from which the ObjectProxy is
-     *  deserialized. 
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function readExternal(input:IDataInput):void
-    {
-        var value:Object = input.readObject();
-        _item = value;
-    }
-
-    /**
-     *  Since Flex only serializes the inner ActionScript object that it wraps,
-     *  the server flex.messaging.io.ObjectProxy populates itself
-     *  with this anonymous object's contents and appears to the user
-     *  as a Map.
-     *
-     *  @param output The source object from which the ObjectProxy is
-     *  deserialized.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function writeExternal(output:IDataOutput):void
-    {
-        output.writeObject(_item);
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Registers an event listener object  
-     *  so that the listener receives notification of an event. 
-     *  For more information, including descriptions of the parameters see 
-     *  <code>addEventListener()</code> in the 
-     *  flash.events.EventDispatcher class.
-     *
-     *  @param type The type of event.
-     *  
-     *  @param listener The listener function that processes the event. This function must accept
-     *  an Event object as its only parameter and must return nothing.
-     *  
-     *  @param useCapture Determines whether the listener works in the capture phase or the 
-     *  target and bubbling phases. If <code>useCapture</code> is set to <code>true</code>, 
-     *  the listener processes the event only during the capture phase and not in the 
-     *  target or bubbling phase. If <code>useCapture</code> is <code>false</code>, the
-     *  listener processes the event only during the target or bubbling phase. To listen for
-     *  the event in all three phases, call <code>addEventListener</code> twice, once with 
-     *  <code>useCapture</code> set to <code>true</code>, then again with
-     *  <code>useCapture</code> set to <code>false</code>.
-     * 
-     *  @param priority The priority level of the event listener. 
-     * 
-     *  @param useWeakReference Determines whether the reference to the listener is strong or
-     *  weak. A strong reference (the default) prevents your listener from being garbage-collected.
-     *  A weak reference does not. 
-     *
-     *  @see flash.events.EventDispatcher#addEventListener()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function addEventListener(type:String, listener:Function,
-                                     useCapture:Boolean = false,
-                                     priority:int = 0,
-                                     useWeakReference:Boolean = false):void
-    {
-        dispatcher.addEventListener(type, listener, useCapture,
-                                    priority, useWeakReference);
-    }
-
-    /**
-     *  Removes an event listener. 
-     *  If there is no matching listener registered with the EventDispatcher object, 
-     *  a call to this method has no effect.
-     *  For more information, see 
-     *  the flash.events.EventDispatcher class.
-     *  
-     *  @param type The type of event.
-     * 
-     *  @param listener The listener object to remove.
-     *
-     *  @param useCapture Specifies whether the listener was registered for the capture 
-     *  phase or the target and bubbling phases. If the listener was registered for both 
-     *  the capture phase and the target and bubbling phases, two calls to 
-     *  <code>removeEventListener()</code> are required to remove both, one call with 
-     *  <code>useCapture</code> 
-     *  set to <code>true</code>, and another call with <code>useCapture</code>
-     *  set to <code>false</code>.
-     *
-     *  @see flash.events.EventDispatcher#removeEventListener()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function removeEventListener(type:String, listener:Function,
-                                        useCapture:Boolean = false):void
-    {
-        dispatcher.removeEventListener(type, listener, useCapture);
-    }
-
-    /**
-     *  Dispatches an event into the event flow. 
-     *  For more information, see
-     *  the flash.events.EventDispatcher class.
-     *  
-     *  @param event The Event object that is dispatched into the event flow. If the 
-     *  event is being redispatched, a clone of the event is created automatically. 
-     *  After an event is dispatched, its target property cannot be changed, so you 
-     *  must create a new copy of the event for redispatching to work.
-     *
-     *  @return Returns <code>true</code> if the event was successfully dispatched. 
-     *  A value 
-     *  of <code>false</code> indicates failure or that <code>preventDefault()</code>
-     *  was called on the event.
-     *
-     *  @see flash.events.EventDispatcher#dispatchEvent()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function dispatchEvent(event:Event):Boolean
-    {
-        return dispatcher.dispatchEvent(event);
-    }
-    
-    /**
-     *  Checks whether there are any event listeners registered 
-     *  for a specific type of event. 
-     *  This allows you to determine where an object has altered handling 
-     *  of an event type in the event flow hierarchy. 
-     *  For more information, see
-     *  the flash.events.EventDispatcher class.
-     *
-     *  @param type The type of event
-     *
-     *  @return Returns <code>true</code> if a listener of the specified type is 
-     *  registered; <code>false</code> otherwise.
-     *
-     *  @see flash.events.EventDispatcher#hasEventListener()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function hasEventListener(type:String):Boolean
-    {
-        return dispatcher.hasEventListener(type);
-    }
-    
-    /**
-     *  Checks whether an event listener is registered with this object 
-     *  or any of its ancestors for the specified event type. 
-     *  This method returns <code>true</code> if an event listener is triggered 
-     *  during any phase of the event flow when an event of the specified 
-     *  type is dispatched to this object or any of its descendants.
-     *  For more information, see the flash.events.EventDispatcher class.
-     *
-     *  @param type The type of event.
-     *
-     *  @return Returns <code>true</code> if a listener of the specified type will 
-     *  be triggered; <code>false</code> otherwise.
-     *
-     *  @see flash.events.EventDispatcher#willTrigger()
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function willTrigger(type:String):Boolean
-    {
-        return dispatcher.willTrigger(type);
-    }
-
-    /**
-     *  Called when a complex property is updated.
-     *
-     *  @param event An event object that has changed.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function propertyChangeHandler(event:PropertyChangeEvent):void
-    {
-        dispatcher.dispatchEvent(event);
-    }
-    
-    //--------------------------------------------------------------------------
-    //
-    //  Protected Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  This method creates an array of all of the property names for the 
-     *  proxied object.
-     *  Descendants must override this method if they wish to add more 
-     *  properties to this list.
-     *  Be sure to call <code>super.setupPropertyList</code> before making any
-     *  changes to the <code>propertyList</code> property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected function setupPropertyList():void
-    {
-        if (getQualifiedClassName(_item) == "Object")
-        {
-            propertyList = [];
-            for (var prop:String in _item)
-                propertyList.push(prop);
-        }
-        else
-        {
-            propertyList = ObjectUtil.getClassInfo(_item, null, {includeReadOnly:true, uris:["*"]}).properties;
-        }
-    }
-}
-
-}


[8/9] git commit: [flex-asjs] [refs/heads/develop] - fix up examples to remove mx

Posted by ah...@apache.org.
fix up examples to remove mx


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

Branch: refs/heads/develop
Commit: 3871d2c502a2bed55468b65f72cc7cee26c155ab
Parents: 4ad613e
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 23 23:15:17 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 23 23:15:17 2015 -0700

----------------------------------------------------------------------
 examples/DataBindingTest/src/MyInitialView.mxml |  2 +-
 examples/DesktopMap/src/MyInitialView.mxml      |  1 -
 examples/FlexJSStore/src/FlexJSStore.mxml       |  1 -
 examples/FlexJSStore/src/HomeView.mxml          |  1 -
 examples/FlexJSStore/src/ProductsView.mxml      |  1 -
 examples/FlexJSStore/src/SupportView.mxml       |  2 +-
 .../src/productsView/CatalogTitleButtons.mxml   |  1 -
 examples/FlexJSStore/src/productsView/Grip.mxml |  2 +-
 .../src/productsView/ProductCart.mxml           |  1 -
 .../src/productsView/ProductCatalogPanel.mxml   |  1 -
 .../ProductCatalogPanelTitleBarView.mxml        |  1 -
 .../productsView/ProductCatalogThumbnail.mxml   |  1 -
 .../src/productsView/ProductDetails.mxml        |  1 -
 .../src/productsView/ProductFilterPanel.mxml    |  1 -
 .../src/productsView/ProductList.mxml           |  1 -
 .../src/productsView/ProductListItem.mxml       |  1 -
 .../src/productsView/ProductSupport.mxml        |  1 -
 .../FlexJSStore_jquery/src/FlexJSStore.mxml     | 21 ++++++++++----------
 examples/FlexJSStore_jquery/src/HomeView.mxml   |  1 -
 .../src/ProductJSONItemConverter.as             |  2 +-
 .../FlexJSStore_jquery/src/ProductsView.mxml    |  7 +++----
 .../FlexJSStore_jquery/src/SupportView.mxml     |  2 +-
 .../src/productsView/CatalogTitleButtons.mxml   |  5 ++---
 .../src/productsView/Grip.mxml                  |  2 +-
 .../src/productsView/ProductCart.mxml           |  1 -
 .../src/productsView/ProductCatalogPanel.mxml   |  9 ++++-----
 .../ProductCatalogPanelTitleBarView.mxml        |  1 -
 .../productsView/ProductCatalogThumbnail.mxml   |  9 ++++-----
 .../src/productsView/ProductDetails.mxml        |  7 ++-----
 .../src/productsView/ProductFilterPanel.mxml    |  5 ++---
 .../src/productsView/ProductList.mxml           |  1 -
 .../src/productsView/ProductListItem.mxml       |  5 ++---
 .../src/productsView/ProductSupport.mxml        |  1 -
 examples/FlexJSTest_SVG/src/SkinsView.mxml      |  8 ++++----
 examples/MapSearch/src/MyInitialView.mxml       |  1 -
 examples/StatesTest/src/MyInitialView.mxml      |  6 +++---
 36 files changed, 42 insertions(+), 72 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/DataBindingTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/DataBindingTest/src/MyInitialView.mxml b/examples/DataBindingTest/src/MyInitialView.mxml
index 3dcaa1e..0cb7911 100644
--- a/examples/DataBindingTest/src/MyInitialView.mxml
+++ b/examples/DataBindingTest/src/MyInitialView.mxml
@@ -20,7 +20,7 @@ limitations under the License.
 <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
 				xmlns:js="library://ns.apache.org/flexjs/basic"
                 xmlns:core="library://ns.apache.org/flexjs/core"
-			    initComplete="initControls()" xmlns:mx="library://ns.adobe.com/flex/mx">
+			    initComplete="initControls()">
     <fx:Script>
         <![CDATA[
 			import models.MyModel;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/DesktopMap/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/DesktopMap/src/MyInitialView.mxml b/examples/DesktopMap/src/MyInitialView.mxml
index 6ab8a67..9559493 100644
--- a/examples/DesktopMap/src/MyInitialView.mxml
+++ b/examples/DesktopMap/src/MyInitialView.mxml
@@ -20,7 +20,6 @@ limitations under the License.
 <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
 				xmlns:js="library://ns.apache.org/flexjs/basic"
                 xmlns:google="library://ns.apache.org/flexjs/google"
-				xmlns:mx="library://ns.adobe.com/flex/mx"
 				xmlns:local="*"
 				initComplete="initControls()">
     <fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/FlexJSStore.mxml b/examples/FlexJSStore/src/FlexJSStore.mxml
index 5824acc..6203e92 100755
--- a/examples/FlexJSStore/src/FlexJSStore.mxml
+++ b/examples/FlexJSStore/src/FlexJSStore.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:js="library://ns.apache.org/flexjs/basic" 
-                xmlns:mx="library://ns.adobe.com/flex/mx"
                 xmlns="*"
                 initialize="startService()"
 			    pageTitle="FlexStore">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/HomeView.mxml b/examples/FlexJSStore/src/HomeView.mxml
index 47aefa5..8598451 100755
--- a/examples/FlexJSStore/src/HomeView.mxml
+++ b/examples/FlexJSStore/src/HomeView.mxml
@@ -32,7 +32,6 @@ Width and height are hard-coded in the root tag to help the Design view.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx"
            xmlns="*" width="990" height="550"
            initComplete="updateMapImage()">
 	<fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/ProductsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/ProductsView.mxml b/examples/FlexJSStore/src/ProductsView.mxml
index b28c9fe..c563653 100755
--- a/examples/FlexJSStore/src/ProductsView.mxml
+++ b/examples/FlexJSStore/src/ProductsView.mxml
@@ -22,7 +22,6 @@ limitations under the License.
      settings in flexstore.mxml -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:productsView="productsView.*"
     width="990" height="550"
     currentState="showFilter"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/SupportView.mxml b/examples/FlexJSStore/src/SupportView.mxml
index f89c412..fb68a6c 100755
--- a/examples/FlexJSStore/src/SupportView.mxml
+++ b/examples/FlexJSStore/src/SupportView.mxml
@@ -31,7 +31,7 @@ The width and height are hard-coded in the root tag to help the Design view.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx" xmlns="*" alpha="1.0"
+                 xmlns="*" alpha="1.0"
     width="990" height="550">
 	
 	<fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml b/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
index 1df074a..9dbd4c8 100755
--- a/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
+++ b/examples/FlexJSStore/src/productsView/CatalogTitleButtons.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:HContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx"
                   currentState="showFilter">
     <js:style>
         <js:SimpleCSSStyles verticalAlign="middle" 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/Grip.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/Grip.mxml b/examples/FlexJSStore/src/productsView/Grip.mxml
index c826568..2938156 100755
--- a/examples/FlexJSStore/src/productsView/Grip.mxml
+++ b/examples/FlexJSStore/src/productsView/Grip.mxml
@@ -19,7 +19,7 @@ limitations under the License.
 -->
 <js:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx" width="17" height="100%" >
+                  width="17" height="100%" >
     <js:style>
         <js:SimpleCSSStyles paddingTop="10" horizontalAlign="center" />
     </js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCart.mxml b/examples/FlexJSStore/src/productsView/ProductCart.mxml
index 86b90a2..8c42027 100755
--- a/examples/FlexJSStore/src/productsView/ProductCart.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCart.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:js="library://ns.apache.org/flexjs/basic" 
-          xmlns:mx="library://ns.adobe.com/flex/mx" 
     xmlns:productsView="productsView.*"
     >
     <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
index 04e9a9f..38ca2fc 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogPanel.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx" 
          implements="org.apache.flex.core.IDragInitiator"
     xmlns:productsView="productsView.*"
     currentState="browse"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml
index 3b31871..b89c7b6 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:js="library://ns.apache.org/flexjs/basic" 
-                        xmlns:mx="library://ns.adobe.com/flex/mx"
                         xmlns:productsView="productsView.*"
                         >
     <fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
index 2105a88..848d202 100755
--- a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:js="library://ns.apache.org/flexjs/basic" 
-                   xmlns:mx="library://ns.adobe.com/flex/mx"
     width="{COL_WIDTH_4}" height="{COL_HEIGHT_4}" height.compare="502"
     width.x4cols="{COL_WIDTH_4}" height.x4cols="{COL_HEIGHT_4}"
     width.x3cols="{COL_WIDTH_3}" height.x3cols="{COL_HEIGHT_3}"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductDetails.mxml b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
index 4fdca19..2179f92 100755
--- a/examples/FlexJSStore/src/productsView/ProductDetails.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:productsView="productsView.*"
     >
     <js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml b/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
index 6f038e9..cffd4a4 100755
--- a/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductFilterPanel.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx" 
     xmlns:productsView="productsView.*"
     xmlns:flexstore="samples.flexstore.*"
     height="100%" 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductList.mxml b/examples/FlexJSStore/src/productsView/ProductList.mxml
index fe79b53..b11c4dd 100755
--- a/examples/FlexJSStore/src/productsView/ProductList.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductList.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx" 
     > 
     <js:style>
         <js:SimpleCSSStyles borderStyle="solid" backgroundColor="#BCB29F" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductListItem.mxml b/examples/FlexJSStore/src/productsView/ProductListItem.mxml
index f533609..0a83e1a 100755
--- a/examples/FlexJSStore/src/productsView/ProductListItem.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductListItem.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                     xmlns:js="library://ns.apache.org/flexjs/basic" 
-                    xmlns:mx="library://ns.adobe.com/flex/mx" 
     className="listItem" 
     height="{HEIGHT}" implements="org.apache.flex.core.IItemRenderer">
     <!--automationName="{product.name}">-->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore/src/productsView/ProductSupport.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductSupport.mxml b/examples/FlexJSStore/src/productsView/ProductSupport.mxml
index 113af4a..b3c8429 100755
--- a/examples/FlexJSStore/src/productsView/ProductSupport.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductSupport.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:HContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
           xmlns:js="library://ns.apache.org/flexjs/basic" 
-          xmlns:mx="library://ns.adobe.com/flex/mx" 
 		 >
     <js:style>
         <js:SimpleCSSStyles paddingLeft="4" paddingRight="8" paddingBottom="4" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/FlexJSStore.mxml b/examples/FlexJSStore_jquery/src/FlexJSStore.mxml
index ca53973..f5700a1 100755
--- a/examples/FlexJSStore_jquery/src/FlexJSStore.mxml
+++ b/examples/FlexJSStore_jquery/src/FlexJSStore.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <jquery:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:js="library://ns.apache.org/flexjs/basic" 
-                xmlns:mx="library://ns.adobe.com/flex/mx"
                 xmlns:jquery="library://ns.apache.org/flexjs/jquery"
                 xmlns="*"
                 initialize="startService()"
@@ -191,16 +190,16 @@ limitations under the License.
                         initComplete="completeHandler(null)"
                         stateChangeComplete="chainStatesIfNeeded()">
             <js:states>
-                <mx:State name="HomeState" stateGroups="['Home']" />
-                <mx:State name="HomeWipeUp" stateGroups="['Home']" />
-                <mx:State name="HomeWipeDown" stateGroups="['Home']" />
-                <mx:State name="ProductsPreBake" stateGroups="['Home', 'Products']" />
-                <mx:State name="ProductsState" stateGroups="['Products']" />
-                <mx:State name="ProductsWipeUp" stateGroups="['Products']" />
-                <mx:State name="ProductsWipeDown" stateGroups="['Products']" />
-                <mx:State name="SupportState" stateGroups="['Support']" />
-                <mx:State name="SupportWipeUp" stateGroups="['Support']" />
-                <mx:State name="SupportWipeDown" stateGroups="['Support']" />
+                <js:State name="HomeState" stateGroups="['Home']" />
+                <js:State name="HomeWipeUp" stateGroups="['Home']" />
+                <js:State name="HomeWipeDown" stateGroups="['Home']" />
+                <js:State name="ProductsPreBake" stateGroups="['Home', 'Products']" />
+                <js:State name="ProductsState" stateGroups="['Products']" />
+                <js:State name="ProductsWipeUp" stateGroups="['Products']" />
+                <js:State name="ProductsWipeDown" stateGroups="['Products']" />
+                <js:State name="SupportState" stateGroups="['Support']" />
+                <js:State name="SupportWipeUp" stateGroups="['Support']" />
+                <js:State name="SupportWipeDown" stateGroups="['Support']" />
             </js:states>
             
             <js:transitions>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/HomeView.mxml b/examples/FlexJSStore_jquery/src/HomeView.mxml
index 57c855b..caddb64 100755
--- a/examples/FlexJSStore_jquery/src/HomeView.mxml
+++ b/examples/FlexJSStore_jquery/src/HomeView.mxml
@@ -32,7 +32,6 @@ Width and height are hard-coded in the root tag to help the Design view.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx"
          xmlns:jquery="library://ns.apache.org/flexjs/jquery"
            xmlns="*" width="990" height="550"
            initComplete="updateMapImage()">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/ProductJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/ProductJSONItemConverter.as b/examples/FlexJSStore_jquery/src/ProductJSONItemConverter.as
index 4d44ecf..cb27bde 100755
--- a/examples/FlexJSStore_jquery/src/ProductJSONItemConverter.as
+++ b/examples/FlexJSStore_jquery/src/ProductJSONItemConverter.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package
 {
-    import org.apache.flex.net.JSONItemConverter;
+    import org.apache.flex.collections.converters.JSONItemConverter;
     
     import samples.flexstore.Product;
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/ProductsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/ProductsView.mxml b/examples/FlexJSStore_jquery/src/ProductsView.mxml
index b4330f8..c563653 100755
--- a/examples/FlexJSStore_jquery/src/ProductsView.mxml
+++ b/examples/FlexJSStore_jquery/src/ProductsView.mxml
@@ -22,7 +22,6 @@ limitations under the License.
      settings in flexstore.mxml -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:productsView="productsView.*"
     width="990" height="550"
     currentState="showFilter"
@@ -31,7 +30,7 @@ limitations under the License.
     <fx:Script>
         <![CDATA[
         import org.apache.flex.events.Event;
-        import org.apache.flex.net.dataConverters.LazyCollection;
+        import org.apache.flex.collections.LazyCollection;
         import samples.flexstore.Product;
                 
         private var _catalog:LazyCollection;
@@ -109,8 +108,8 @@ limitations under the License.
     </productsView:ProductCatalogPanel>
     
     <js:states>
-       <mx:State name="showFilter" />
-       <mx:State name="showCart" />
+       <js:State name="showFilter" />
+       <js:State name="showCart" />
     </js:states>
     
     <!-- 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/SupportView.mxml b/examples/FlexJSStore_jquery/src/SupportView.mxml
index f89c412..fb68a6c 100755
--- a/examples/FlexJSStore_jquery/src/SupportView.mxml
+++ b/examples/FlexJSStore_jquery/src/SupportView.mxml
@@ -31,7 +31,7 @@ The width and height are hard-coded in the root tag to help the Design view.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx" xmlns="*" alpha="1.0"
+                 xmlns="*" alpha="1.0"
     width="990" height="550">
 	
 	<fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml b/examples/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
index 1d2ae72..9dbd4c8 100755
--- a/examples/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:HContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx"
                   currentState="showFilter">
     <js:style>
         <js:SimpleCSSStyles verticalAlign="middle" 
@@ -64,7 +63,7 @@ limitations under the License.
              rollOut.showFilter="rollOutLabel(event)"/>
     
     <js:states>
-        <mx:State name="showFilter" />
-        <mx:State name="showCart" />
+        <js:State name="showFilter" />
+        <js:State name="showCart" />
     </js:states>
 </js:HContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/Grip.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/Grip.mxml b/examples/FlexJSStore_jquery/src/productsView/Grip.mxml
index c826568..2938156 100755
--- a/examples/FlexJSStore_jquery/src/productsView/Grip.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/Grip.mxml
@@ -19,7 +19,7 @@ limitations under the License.
 -->
 <js:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx" width="17" height="100%" >
+                  width="17" height="100%" >
     <js:style>
         <js:SimpleCSSStyles paddingTop="10" horizontalAlign="center" />
     </js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductCart.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductCart.mxml
index 86b90a2..8c42027 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductCart.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductCart.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:js="library://ns.apache.org/flexjs/basic" 
-          xmlns:mx="library://ns.adobe.com/flex/mx" 
     xmlns:productsView="productsView.*"
     >
     <js:style>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanel.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanel.mxml
index f6846c7..47597ed 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanel.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanel.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:js="library://ns.apache.org/flexjs/basic" 
-         xmlns:mx="library://ns.adobe.com/flex/mx" 
          implements="org.apache.flex.core.IDragInitiator"
     xmlns:productsView="productsView.*"
     currentState="browse"
@@ -45,7 +44,7 @@ limitations under the License.
             import org.apache.flex.effects.Tween;
             import org.apache.flex.events.DragEvent;
             import org.apache.flex.events.Event;
-            import org.apache.flex.net.dataConverters.LazyCollection;
+            import org.apache.flex.collections.LazyCollection;
             
             import samples.flexstore.Product;
             import samples.flexstore.ProductFilter;
@@ -540,9 +539,9 @@ limitations under the License.
     </js:Container>
     
     <js:states>
-        <mx:State name="browse" />
-        <mx:State name="compare" />
-        <mx:State name="details" />
+        <js:State name="browse" />
+        <js:State name="compare" />
+        <js:State name="details" />
     </js:states>
     
 </js:Panel>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml
index 3b31871..b89c7b6 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:js="library://ns.apache.org/flexjs/basic" 
-                        xmlns:mx="library://ns.adobe.com/flex/mx"
                         xmlns:productsView="productsView.*"
                         >
     <fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
index df70ab5..848d202 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:js="library://ns.apache.org/flexjs/basic" 
-                   xmlns:mx="library://ns.adobe.com/flex/mx"
     width="{COL_WIDTH_4}" height="{COL_HEIGHT_4}" height.compare="502"
     width.x4cols="{COL_WIDTH_4}" height.x4cols="{COL_HEIGHT_4}"
     width.x3cols="{COL_WIDTH_3}" height.x3cols="{COL_HEIGHT_3}"
@@ -209,13 +208,13 @@ limitations under the License.
 
     <js:states>
 
-        <mx:State name="compare" />
+        <js:State name="compare" />
 
-        <mx:State name="x4cols" />
+        <js:State name="x4cols" />
 
-        <mx:State name="x3cols" />
+        <js:State name="x3cols" />
 
-        <mx:State name="x2cols"/>
+        <js:State name="x2cols"/>
     </js:states>
 
 </js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductDetails.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
index 3cb2725..d1b89ab 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductDetails.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:productsView="productsView.*"
     >
     <js:beads>
@@ -34,8 +33,6 @@ limitations under the License.
 
     <fx:Script>
         <![CDATA[
-
-		import mx.events.*;
 		
 		import samples.flexstore.Product;
 		import samples.flexstore.ProductThumbEvent;
@@ -62,8 +59,8 @@ limitations under the License.
     </fx:Declarations>
 
     <js:states>
-        <mx:State name="Features" />
-        <mx:State name="Support" />
+        <js:State name="Features" />
+        <js:State name="Support" />
     </js:states>
     
     <js:transitions>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
index 5240c0e..cffd4a4 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
-                  xmlns:mx="library://ns.adobe.com/flex/mx" 
     xmlns:productsView="productsView.*"
     xmlns:flexstore="samples.flexstore.*"
     height="100%" 
@@ -209,8 +208,8 @@ limitations under the License.
                   image.showingComparison="assets/icon_tiles.png" />
     
     <js:states>
-       <mx:State name="showingThumbnails" />
-       <mx:State name="showingComparison" />
+       <js:State name="showingThumbnails" />
+       <js:State name="showingComparison" />
     </js:states>
 
 </js:VContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
index 5dd38e3..c1a67c7 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-                 xmlns:mx="library://ns.adobe.com/flex/mx" 
     > 
     <js:style>
         <js:SimpleCSSStyles borderStyle="solid" backgroundColor="#BCB29F" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
index bf6a2a8..0a83e1a 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
                     xmlns:js="library://ns.apache.org/flexjs/basic" 
-                    xmlns:mx="library://ns.adobe.com/flex/mx" 
     className="listItem" 
     height="{HEIGHT}" implements="org.apache.flex.core.IItemRenderer">
     <!--automationName="{product.name}">-->
@@ -124,8 +123,8 @@ limitations under the License.
     </js:TextInput>
     
     <js:states>
-        <mx:State name="compare" />
-        <mx:State name="showQuantity" />
+        <js:State name="compare" />
+        <js:State name="showQuantity" />
     </js:states>
     
 </js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
index 113af4a..b3c8429 100755
--- a/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
+++ b/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
@@ -19,7 +19,6 @@ limitations under the License.
 -->
 <js:HContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
           xmlns:js="library://ns.apache.org/flexjs/basic" 
-          xmlns:mx="library://ns.adobe.com/flex/mx" 
 		 >
     <js:style>
         <js:SimpleCSSStyles paddingLeft="4" paddingRight="8" paddingBottom="4" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/FlexJSTest_SVG/src/SkinsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_SVG/src/SkinsView.mxml b/examples/FlexJSTest_SVG/src/SkinsView.mxml
index 519969a..9fd701d 100644
--- a/examples/FlexJSTest_SVG/src/SkinsView.mxml
+++ b/examples/FlexJSTest_SVG/src/SkinsView.mxml
@@ -60,10 +60,10 @@ limitations under the License.
 		]]>
 	</fx:Script>
 	<js:states>
-		<mx:State name="up"/>
-		<mx:State name="over"/>
-		<mx:State name="down"/>
-		<mx:State name="disabled"/>
+		<js:State name="up"/>
+		<js:State name="over"/>
+		<js:State name="down"/>
+		<js:State name="disabled"/>
 	</js:states>
 	<!--<js:beads>
 		<js:ViewBaseDataBinding />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/MapSearch/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MyInitialView.mxml b/examples/MapSearch/src/MyInitialView.mxml
index 6d55830..3199f1e 100644
--- a/examples/MapSearch/src/MyInitialView.mxml
+++ b/examples/MapSearch/src/MyInitialView.mxml
@@ -20,7 +20,6 @@ limitations under the License.
 <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
 				xmlns:js="library://ns.apache.org/flexjs/basic"
                 xmlns:google="library://ns.apache.org/flexjs/google"
-				xmlns:mx="library://ns.adobe.com/flex/mx"
 				xmlns:local="*"
 				initComplete="initControls()">
 	<fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3871d2c5/examples/StatesTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/StatesTest/src/MyInitialView.mxml b/examples/StatesTest/src/MyInitialView.mxml
index c186354..31e881d 100644
--- a/examples/StatesTest/src/MyInitialView.mxml
+++ b/examples/StatesTest/src/MyInitialView.mxml
@@ -20,7 +20,7 @@ limitations under the License.
 <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
 				xmlns:js="library://ns.apache.org/flexjs/basic"
                 xmlns:core="library://ns.apache.org/flexjs/core"
-			    initComplete="initControls()" xmlns:mx="library://ns.adobe.com/flex/mx">
+			    initComplete="initControls()">
     <fx:Script>
         <![CDATA[
 			import models.MyModel;
@@ -94,8 +94,8 @@ limitations under the License.
         }
 	</fx:Style>
     <js:states>
-        <mx:State name="hideAll" />        
-        <mx:State name="showAll" />        
+        <js:State name="hideAll" />        
+        <js:State name="showAll" />        
     </js:states>
     <js:Container x="0" y="0" className="topContainer" >
         <js:beads>


[4/9] git commit: [flex-asjs] [refs/heads/develop] - remove MXMLCClasses.SWC. We don't need it anymore

Posted by ah...@apache.org.
remove MXMLCClasses.SWC.  We don't need it anymore


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

Branch: refs/heads/develop
Commit: 71b99233fe0fa40afd98d16182591e5b92752dab
Parents: 95d0e5b
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 22 12:22:14 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 22 12:22:14 2015 -0700

----------------------------------------------------------------------
 frameworks/as/projects/MXMLCClasses/build.xml   |   75 -
 .../as/projects/MXMLCClasses/compile-config.xml |   44 -
 .../projects/MXMLCClasses/src/MXMLCClasses.as   |   63 -
 .../src/mx/binding/ArrayElementWatcher.as       |   77 -
 .../src/mx/binding/BindabilityInfo.as           |  279 ----
 .../MXMLCClasses/src/mx/binding/Binding.as      |   85 --
 .../src/mx/binding/BindingManager.as            |   37 -
 .../src/mx/binding/FunctionReturnWatcher.as     |  129 --
 .../src/mx/binding/IBindingClient.as            |   33 -
 .../src/mx/binding/IWatcherSetupUtil2.as        |   47 -
 .../src/mx/binding/PropertyWatcher.as           |  148 --
 .../src/mx/binding/RepeaterComponentWatcher.as  |   74 -
 .../src/mx/binding/RepeaterItemWatcher.as       |   74 -
 .../src/mx/binding/StaticPropertyWatcher.as     |  136 --
 .../MXMLCClasses/src/mx/binding/Watcher.as      |   88 --
 .../MXMLCClasses/src/mx/binding/XMLWatcher.as   |  106 --
 .../src/mx/core/DeferredInstanceFromClass.as    |  115 --
 .../src/mx/core/DeferredInstanceFromFunction.as |  131 --
 .../MXMLCClasses/src/mx/core/FlexGlobals.as     |   55 -
 .../src/mx/core/IDeferredInstance.as            |   51 -
 .../src/mx/core/IFlexModuleFactory.as           |  147 --
 .../MXMLCClasses/src/mx/core/IMXMLObject.as     |   61 -
 .../src/mx/core/IPropertyChangeNotifier.as      |   97 --
 .../MXMLCClasses/src/mx/core/IStateClient2.as   |   31 -
 .../projects/MXMLCClasses/src/mx/core/IUID.as   |   62 -
 .../MXMLCClasses/src/mx/core/mx_internal.as     |   37 -
 .../src/mx/events/PropertyChangeEvent.as        |  150 --
 .../src/mx/events/PropertyChangeEventKind.as    |   59 -
 .../src/mx/filters/IBitmapFilter.as             |   31 -
 .../MXMLCClasses/src/mx/styles/CSSCondition.as  |   61 -
 .../MXMLCClasses/src/mx/styles/CSSSelector.as   |   69 -
 .../src/mx/styles/CSSStyleDeclaration.as        |  191 ---
 .../src/mx/styles/IStyleManager2.as             |   34 -
 .../MXMLCClasses/src/mx/styles/StyleManager.as  |   50 -
 .../src/mx/utils/DescribeTypeCache.as           |  172 ---
 .../src/mx/utils/DescribeTypeCacheRecord.as     |  129 --
 .../MXMLCClasses/src/mx/utils/ObjectProxy.as    |  825 ----------
 .../MXMLCClasses/src/mx/utils/ObjectUtil.as     | 1424 ------------------
 .../MXMLCClasses/src/mx/utils/StringUtil.as     |  364 -----
 .../MXMLCClasses/src/mx/utils/UIDUtil.as        |  296 ----
 .../MXMLCClasses/src/mx/utils/object_proxy.as   |   34 -
 frameworks/build.xml                            |    6 -
 42 files changed, 6177 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/build.xml b/frameworks/as/projects/MXMLCClasses/build.xml
deleted file mode 100644
index faa85b3..0000000
--- a/frameworks/as/projects/MXMLCClasses/build.xml
+++ /dev/null
@@ -1,75 +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.
-
--->
-
-
-<project name="mxmlcclasses" 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}"/>
-    <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>	
-
-    <target name="main" depends="clean,compile" description="Clean build of MXMLCClasses.swc">
-    </target>
-    
-    <target name="clean">
-        <delete failonerror="false">
-            <fileset dir="${FLEXJS_HOME}/frameworks/libs">
-                <include name="MXMLCClasses.swc"/>
-            </fileset>
-        </delete>
-    </target>
-    
-    <path id="lib.path">
-      <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
-    </path>
-
-
-    <target name="compile" description="Compiles MXMLCClasses.swc">
-        <echo message="Compiling libs/MXMLCClasses.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" classpathref="lib.path"/>
-        <!--
-            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 MXMLCClassesClasses.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}/frameworks/libs/MXMLCClasses.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/71b99233/frameworks/as/projects/MXMLCClasses/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/compile-config.xml b/frameworks/as/projects/MXMLCClasses/compile-config.xml
deleted file mode 100644
index 6c087f2..0000000
--- a/frameworks/as/projects/MXMLCClasses/compile-config.xml
+++ /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.
-
--->
-<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/>
-        
-        <source-path>
-            <path-element>src</path-element>
-        </source-path>
-        
-        <warn-no-constructor>false</warn-no-constructor>
-    </compiler>
-    
-    <include-classes>
-        <class>MXMLCClasses</class>
-    </include-classes>
-            
-    <target-player>${playerglobal.version}</target-player>
-</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as b/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
deleted file mode 100644
index dc3661e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
+++ /dev/null
@@ -1,63 +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
-{
-
-/**
- *  @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 MXMLCClasses
-{
- 
-    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.DeferredInstanceFromClass; DeferredInstanceFromClass;
-    import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
-    import mx.core.FlexGlobals; FlexGlobals;
-    import mx.core.IDeferredInstance; IDeferredInstance;
-    import mx.core.IFlexModuleFactory; IFlexModuleFactory;
-    import mx.core.IMXMLObject; IMXMLObject;
-    import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
-    import mx.core.IStateClient2; IStateClient2;
-    import mx.core.mx_internal; use namespace mx_internal;
-    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.utils.ObjectUtil; ObjectUtil;
-    import mx.utils.StringUtil; StringUtil;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
deleted file mode 100644
index 024af6c..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
+++ /dev/null
@@ -1,77 +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 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/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
deleted file mode 100644
index 1d48569..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindabilityInfo.as
+++ /dev/null
@@ -1,279 +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 mx.binding
-{
-
-import mx.events.PropertyChangeEvent;
-
-[ExcludeClass]
-
-/**
- *  @private
- *  Bindability information for children (properties or methods)
- *  of a given class, based on the describeType() structure for that class.
- */
-public class BindabilityInfo
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-	
-	/**
-	 *  Name of [Bindable] metadata.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const BINDABLE:String = "Bindable";
-	
-	/**
-	 *  Name of [Managed] metadata.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const MANAGED:String = "Managed";
-	
-	/**
-	 *  Name of [ChangeEvent] metadata.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const CHANGE_EVENT:String = "ChangeEvent";
-	
-	/**
-	 *  Name of [NonCommittingChangeEvent] metadata.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const NON_COMMITTING_CHANGE_EVENT:String =
-		"NonCommittingChangeEvent";
-
-	/**
-	 *  Name of describeType() <accessor> element.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const ACCESSOR:String = "accessor";
-	
-	/**
-	 *  Name of describeType() <method> element.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const METHOD:String = "method";
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Constructor.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function BindabilityInfo(typeDescription:XML)
-	{
-		super();
-
-		this.typeDescription = typeDescription;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private var typeDescription:XML;
-	
-	/**
-	 *  @private
-	 *  event name -> true
-	 */
-	private var classChangeEvents:Object;
-	
-	/**
-	 *  @private
-	 *  child name -> { event name -> true }
-	 */
-	private var childChangeEvents:Object = {};	
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Object containing { eventName: true } for each change event
-	 *  (class- or child-level) that applies to the specified child.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function getChangeEvents(childName:String):Object
-	{
-		var changeEvents:Object = childChangeEvents[childName];
-
-		if (!changeEvents)
-		{
-			// Seed with class-level events.
-			changeEvents = copyProps(getClassChangeEvents(), {});
-
-			// Get child-specific events.
-			var childDesc:XMLList =
-				typeDescription.accessor.(@name == childName) +
-				typeDescription.method.(@name == childName);
-			
-			var numChildren:int = childDesc.length();
-
-			if (numChildren == 0)
-			{
-				// we've been asked for events on an unknown property
-				if (!typeDescription.@dynamic)
-				{
-					trace("warning: no describeType entry for '" +
-						  childName + "' on non-dynamic type '" +
-						  typeDescription.@name + "'");
-				}
-			}
-			else
-			{
-				if (numChildren > 1)
-				{
-					trace("warning: multiple describeType entries for '" +
-						  childName + "' on type '" + typeDescription.@name +
-						  "':\n" + childDesc);
-				}
-
-				addBindabilityEvents(childDesc.metadata, changeEvents);
-			}
-
-			childChangeEvents[childName] = changeEvents;
-		}
-
-		return changeEvents;
-	}
-
-	/**
-	 *  @private
-	 *  Build or return cached class change events object.
-	 */
-	private function getClassChangeEvents():Object
-	{
-		if (!classChangeEvents)
-		{
-			classChangeEvents = {};
-
-			addBindabilityEvents(typeDescription.metadata, classChangeEvents);
-
-			// Class-level [Managed] means all properties
-			// dispatch propertyChange.
-			if (typeDescription.metadata.(@name == MANAGED).length() > 0)
-			{
-				classChangeEvents[PropertyChangeEvent.PROPERTY_CHANGE] = true;
-			}
-		}
-
-		return classChangeEvents;
-	}
-
-	/**
-	 *  @private
-	 */
-	private function addBindabilityEvents(metadata:XMLList,
-										  eventListObj:Object):void
-	{
-		addChangeEvents(metadata.(@name == BINDABLE), eventListObj, true);
-		addChangeEvents(metadata.(@name == CHANGE_EVENT), eventListObj, true);
-		addChangeEvents(metadata.(@name == NON_COMMITTING_CHANGE_EVENT),
-						eventListObj, false);
-	}
-
-	/**
-	 *  @private
-	 *  Transfer change events from a list of change-event-carrying metadata
-	 *  to an event list object.
-	 *  Note: metadata's first arg value is assumed to be change event name.
-	 */
-	private function addChangeEvents(metadata:XMLList, eventListObj:Object, isCommit:Boolean):void
-	{
-		for each (var md:XML in metadata)
-		{
-			var arg:XMLList = md.arg;
-			if (arg.length() > 0)
-			{
-				var eventName:String = arg[0].@value;
-				eventListObj[eventName] = isCommit;
-			}
-			else
-			{
-				trace("warning: unconverted Bindable metadata in class '" +
-					  typeDescription.@name + "'");
-			}
-		}
-	}
-
-	/**
-	 *  @private
-	 *  Copy properties from one object to another.
-	 */
-	private function copyProps(from:Object, to:Object):Object
-	{
-		for (var propName:String in from)
-		{
-			to[propName] = from[propName];
-		}
-
-		return to;
-	}
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
deleted file mode 100644
index b822dcd..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
+++ /dev/null
@@ -1,85 +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 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/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
deleted file mode 100644
index 3ef557b..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
+++ /dev/null
@@ -1,37 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @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/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
deleted file mode 100644
index 2dfd63e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
+++ /dev/null
@@ -1,129 +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 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/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
deleted file mode 100644
index 14f2fb4..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IBindingClient.as
+++ /dev/null
@@ -1,33 +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 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/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
deleted file mode 100644
index e2311d4..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/IWatcherSetupUtil2.as
+++ /dev/null
@@ -1,47 +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 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;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
deleted file mode 100644
index 6bad414..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/PropertyWatcher.as
+++ /dev/null
@@ -1,148 +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 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 PropertyWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Create a PropertyWatcher
-     *
-     *  @param prop The name of the property to watch.
-     *  @param event The event type that indicates the property has changed.
-     *  @param listeners The binding objects that are listening to this Watcher.
-     *  @param propertyGetter A helper function used to access non-public variables.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function PropertyWatcher(propertyName:String,
-                                    events:Object,
-                                    listeners:Array,
-                                    propertyGetter:Function = null)
-    {
-		super(listeners);
-
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-     *  The parent object of this property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var parentObj:Object;
-
-    /**
-     *  The events that indicate the property has changed
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var events:Object;
-
-    /**
-     *  Storage for the propertyGetter property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var propertyGetter:Function;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  propertyName
-	//----------------------------------
-
-	/**
-     *  Storage for the propertyName property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _propertyName:String;
-    
-    /**
-     *  The name of the property this Watcher is watching.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get propertyName():String
-    {
-        return _propertyName;
-    }
-
-	//----------------------------------
-	//  useRTTI
-	//----------------------------------
-
-    /**
-     *	If compiler can't determine bindability from static type,
-	 *  use RTTI on runtime values.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var useRTTI:Boolean;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
deleted file mode 100644
index b16f2ae..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterComponentWatcher.as
+++ /dev/null
@@ -1,74 +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 mx.binding
-{
-
-
-[ExcludeClass]
-
-/**
- *  @private
- */
-public class RepeaterComponentWatcher extends PropertyWatcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-     *
-     *  Create a RepeaterComponentWatcher
-     *
-     *  @param prop The name of the property to watch.
-     *  @param event The event type that indicates the property has changed.
-     *  @param listeners The binding objects that are listening to this Watcher.
-     *  @param propertyGetter A helper function used to access non-public variables.
-	 */
-    public function RepeaterComponentWatcher(propertyName:String,
-                                             events:Object,
-                                             listeners:Array,
-                                             propertyGetter:Function = null)
-    {
-		super(propertyName, events, listeners, propertyGetter);
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-    private var clones:Array;
-
-	/**
-	 *  @private
-	 */
-    private var original:Boolean = true;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
deleted file mode 100644
index 8d5e8e2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/RepeaterItemWatcher.as
+++ /dev/null
@@ -1,74 +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 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 RepeaterItemWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Constructor.
-	 */
-    public function RepeaterItemWatcher(dataProviderWatcher:PropertyWatcher)
-    {
-		super();
-
-        this.dataProviderWatcher = dataProviderWatcher;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-    private var dataProviderWatcher:PropertyWatcher;
-
-	/**
-	 *  @private
-	 */
-    private var clones:Array;
-
-	/**
-	 *  @private
-	 */
-    private var original:Boolean = true;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
deleted file mode 100644
index 726211a..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/StaticPropertyWatcher.as
+++ /dev/null
@@ -1,136 +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 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 StaticPropertyWatcher extends Watcher
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Create a StaticPropertyWatcher
-     *
-     *  @param prop The name of the static property to watch.
-     *  @param event The event type that indicates the static property has changed.
-     *  @param listeners The binding objects that are listening to this Watcher.
-     *  @param propertyGetter A helper function used to access non-public variables.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function StaticPropertyWatcher(propertyName:String,
-                                          events:Object,
-                                          listeners:Array,
-                                          propertyGetter:Function = null)
-    {
-        super(listeners);
-
-        _propertyName = propertyName;
-        this.events = events;
-        this.propertyGetter = propertyGetter;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  The parent class of this static property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var parentObj:Class;
-
-    /**
-     *  The events that indicate the static property has changed
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var events:Object;
-
-    /**
-     *  Storage for the propertyGetter property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var propertyGetter:Function;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  propertyName
-    //----------------------------------
-
-    /**
-     *  Storage for the propertyName property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _propertyName:String;
-
-    /**
-     *  The name of the property this Watcher is watching.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get propertyName():String
-    {
-        return _propertyName;
-    }
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
deleted file mode 100644
index 39df030..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/Watcher.as
+++ /dev/null
@@ -1,88 +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 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 Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Constructor.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-    public function Watcher(listeners:Array = null)
-    {
-		super();
-
-        this.listeners = listeners;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  The binding objects that are listening to this Watcher.
-     *  The standard event mechanism isn't used because it's too heavyweight.
-     */
-    protected var listeners:Array;
-
-    /**
-     *  @private
-     *  Children of this watcher are watching sub values.
-     */
-    protected var children:Array;
-
-    /**
-     *  @private
-     *  The value itself.
-     */
-    public var value:Object;
-
-    /**
-     *  @private
-     *  Keep track of cloning when used in Repeaters.
-     */
-    protected var cloneIndex:int;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as b/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
deleted file mode 100644
index b324638..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/binding/XMLWatcher.as
+++ /dev/null
@@ -1,106 +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 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 XMLWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  Constructor.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function XMLWatcher(propertyName:String, listeners:Array)
-    {
-		super(listeners);
-
-        _propertyName = propertyName;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-     *  The parent object of this property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var parentObj:Object;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  propertyName
-	//----------------------------------
-
-	/**
-     *  Storage for the propertyName property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _propertyName:String;
-
-    /**
-     *  The name of the property this Watcher is watching.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get propertyName():String
-    {
-        return _propertyName;
-    }
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
deleted file mode 100644
index 9893d34..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromClass.as
+++ /dev/null
@@ -1,115 +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 mx.core
-{
-
-/**
- * @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 DeferredInstanceFromClass
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @param generator The class whose instance the <code>getInstance()</code>
-     *  method creates and returns.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function DeferredInstanceFromClass(generator:Class)
-    {
-        super();
-
-        this.generator = generator;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  The generator class.
-     */
-    private var generator:Class;
-
-    /**
-     *  @private
-     *  The generated value.
-     */
-    private var instance:Object = null;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Creates and returns an instance of the class specified in the
-     *  DeferredInstanceFromClass constructor, if it does not yet exist;
-     *  otherwise, returns the already-created class instance.
-     *
-     *  @return An instance of the class specified in the
-     *  DeferredInstanceFromClass constructor.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function getInstance():Object
-    {
-        if (!instance)
-            instance = new generator();
-
-        return instance;
-    }
-    
-    /**
-     *  Resets the state of our factory to the initial, uninitialized state.
-     *  The reference to our cached instance is cleared.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
-     */
-    public function reset():void
-    {
-        instance = null;
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
deleted file mode 100644
index b93a277..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/DeferredInstanceFromFunction.as
+++ /dev/null
@@ -1,131 +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 mx.core
-{
-
-/**
- * @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 DeferredInstanceFromFunction
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @param generator A function that creates and returns an instance
-     *  of the required object.
-     *
-     *  @param destructor An optional function used to cleanup outstanding
-     *  references when <code>reset()</code> is called.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function DeferredInstanceFromFunction(generator:Function,
-        destructor:Function = null )
-    {
-        super();
-
-        this.generator = generator;
-        this.destructor = destructor;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  The generator function.
-     */
-    private var generator:Function;
-
-    /**
-     *  @private
-     *  The generated value.
-     */
-    private var instance:Object = null;
-
-    /**
-     *  @private
-     *  An optional function used to cleanup outstanding
-     *  references when reset() is invoked
-     */
-    private var destructor:Function;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Returns a reference to an instance of the desired object.
-     *  If no instance of the required object exists, calls the function
-     *  specified in this class' <code>generator</code> constructor parameter.
-     * 
-     *  @return An instance of the object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function getInstance():Object
-    {
-        if (!instance)
-            instance = generator();
-
-        return instance;
-    }
-    
-    /**
-     *  Resets the state of our factory to the initial, uninitialized state.
-     *  The reference to our cached instance is cleared.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
-     */
-    public function reset():void
-    {
-        instance = null;
-        
-        if (destructor != null)
-            destructor();
-    }
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
deleted file mode 100644
index b07a5d2..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/FlexGlobals.as
+++ /dev/null
@@ -1,55 +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 mx.core
-{
-
-/**
- *  A class that contains variables that are global to all applications within
- *  the same ApplicationDomain.
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- *
- */
-public class FlexGlobals
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Class variables
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  The first application run in an ApplicationDomain is the top-level application.
-     *  This property is set to a reference to the top-level application in the top-level 
-     *  application's constructor. Each ApplicationDomain will have its own 
-     *  <code>topLevelApplication</code>.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-	public static var topLevelApplication:Object;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
deleted file mode 100644
index e3ac094..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IDeferredInstance.as
+++ /dev/null
@@ -1,51 +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 mx.core
-{
-
-/**
- * @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 IDeferredInstance
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Creates an instance Object from a class or function,
-     *  if the instance does not yet exist.
-     *  
-     *  @return The instance Object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function getInstance():Object;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
deleted file mode 100644
index 536c92a..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFlexModuleFactory.as
+++ /dev/null
@@ -1,147 +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 mx.core
-{
-
-/**
- * @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 IFlexModuleFactory
-{
-
-    
-    /**
-     *  Calls the <code>Security.allowDomain()</code> method for the SWF 
-     *  associated with this IFlexModuleFactory plus all the SWFs associated
-     *  with RSLs preloaded by this IFlexModuleFactory. RSLs loaded after this
-     *  call will, by default, allow the same domains as have been allowed by
-     *  previous calls to this method. This behavior is controlled by the <code>
-     *  allowDomainsInNewRSLs</code> property.
-     *
-     *  @param domains One or more strings or URLRequest objects that name 
-     *  the domains from which you want to allow access. 
-     *  You can specify the special domain "&#42;" to allow access from all domains. 
-     *
-     *  @see flash.system.Security#allowDomain()
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion Flex 4.5
-     */  
-    function allowDomain(... domains):void;
-    
-    /**
-     *  Calls the <code>Security.allowInsecureDomain()</code> method for the 
-     *  SWF associated with this IFlexModuleFactory
-     *  plus all the SWFs associated with RSLs preloaded by this 
-     *  IFlexModuleFactory. RSLs loaded after this call will, by default, 
-     *  allow the same domains as have been allowed by
-     *  previous calls to this method. This behavior is controlled by the <code>
-     *  allowInsecureDomainsInNewRSLs</code> property.
-     *
-     *  @param domains One or more strings or URLRequest objects that name 
-     *  the domains from which you want to allow access. 
-     *  You can specify the special domain "&#42;" to allow access from all domains. 
-     *
-     *  @see flash.system.Security#allowInsecureDomain()
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion Flex 4.5
-     */  
-    function allowInsecureDomain(... domains):void;
-    
-    /**
-     *  A way to call a method in this IFlexModuleFactory's context
-     *
-     *  @param fn The function or method to call.
-     *  @param thisArg The <code>this</code> pointer for the function.
-     *  @param argArray The arguments for the function.
-     *  @param returns If <code>true</code>, the function returns a value.
-     *
-     *  @return Whatever the function returns, if anything.
-     *  
-     *  @see Function.apply
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 3
-     */
-    function callInContext(fn:Function, thisArg:Object,
-                           argArray:Array, returns:Boolean = true):*;
-    
-    /**
-     *  A factory method that requests
-     *  an instance of a definition known to the module.
-     *
-     *  <p>You can provide an optional set of parameters to let
-     *  building factories change what they create based
-     *  on the input.
-     *  Passing <code>null</code> indicates that the default
-     *  definition is created, if possible.</p>
-     *
-     *  @param parameters An optional list of arguments. You can pass any number
-     *  of arguments, which are then stored in an Array called <code>parameters</code>.
-     *
-     *  @return An instance of the module, or <code>null</code>.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function create(... parameters):Object;
-    
-    /**
-     *  Returns a block of key/value pairs
-     *  that hold static data known to the module.
-     *  This method always succeeds, but can return an empty object.
-     *
-     *  @return An object containing key/value pairs. Typically, this object
-     *  contains information about the module or modules created by this 
-     *  factory; for example:
-     * 
-     *  <pre>
-     *  return {"description": "This module returns 42."};
-     *  </pre>
-     *  
-     *  Other common values in the returned object include the following:
-     *  <ul>
-     *   <li><code>fonts</code>: A list of embedded font faces.</li>
-     *   <li><code>rsls</code>: A list of run-time shared libraries.</li>
-     *   <li><code>mixins</code>: A list of classes initialized at startup.</li>
-     *  </ul>
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function info():Object;
-    
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
deleted file mode 100644
index 9b6ec90..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IMXMLObject.as
+++ /dev/null
@@ -1,61 +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 mx.core
-{
-
-/**
- *  The IMXMLObject interface defines the APIs that a non-visual component
- *  must implement in order to work properly with the MXML compiler.
- *  Currently, the only supported method is the <code>initialized()</code>
- *  method.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public interface IMXMLObject
-{
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Called after the implementing object has been created and all
-	 *  component properties specified on the MXML tag have been initialized.
-	 *
-     *  @param document The MXML document that created this object.
-	 *
-     *  @param id The identifier used by <code>document</code> to refer
-	 *  to this object.
-	 *  If the object is a deep property on <code>document</code>,
-	 *  <code>id</code> is null.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function initialized(document:Object, id:String):void;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
deleted file mode 100644
index fbef45e..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IPropertyChangeNotifier.as
+++ /dev/null
@@ -1,97 +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 mx.core
-{
-
-import flash.events.IEventDispatcher;
-
-/**
- *  The <code>IPropertyChangeNotifier</code> interface defines a marker 
- *  interface.
- *  Classes that support this interface declare support for event propagation
- *  in a specialized manner.
- *  Classes that implement this interface must dispatch events for each property
- *  of this class and any nested classes publicly exposed as properties.
- *  For those properties that are anonymous (complex and not strongly typed),
- *  implementing classes provide custom support or directly use the
- *  ObjectProxy class.
- *  Implementors of this interface should use the 
- *  <code>PropertyChangeEvent.createUpdateEvent()</code> method to construct an
- *  appropriate update event for dispatch.
- *  @example
- *  <code><pre>
- *   
- * function set myProperty(value:Object):void
- * {
- *    var oldValue:IPropertyChangeNotifier = _myProperty;
- *    var newValue:IPropertyChangeNotifier = value;
- *    
- *    // Need to ensure to dispatch changes on the new property.
- *    // Listeners use the source property to determine which object 
- *    // actually originated the event.
- *    // In their event handler code, they can tell if an event has been 
- *    // propagated from deep within the object graph by comparing 
- *    // event.target and event.source. If they are equal, then the property
- *    // change is at the surface of the object. If they are not equal, the
- *    // property change is somewhere deeper in the object graph.
- *    newValue.addEventListener(
- *                PropertyChangeEvent.PROPERTY_CHANGE, 
- *                dispatchEvent);
- * 
- *    // need to stop listening for events from the old property
- *    oldValue.removeEventListener(
- *                PropertyChangeEvent.PROPERTY_CHANGE,
- *                dispatchEvent);
- * 
- *    _myProperty = newValue;
- * 
- *    // now notify anyone that is listening
- *    if (dispatcher.hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE))
- *    {
- *         var event:PropertyChangeEvent = 
- *                         PropertyChangeEvent.createUpdateEvent(
- *                                                       this,
- *                                                       "myProperty",
- *                                                       newValue,
- *                                                       oldValue);
- *        dispatchEvent(event);
- *     }
- *  }
- * 
- *      
- *  </pre></code>
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public interface IPropertyChangeNotifier extends IEventDispatcher, IUID
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-	// Inherits uid property from IUID
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.as
deleted file mode 100644
index ae21531..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IStateClient2.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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @private
- * shim the mx classes for states.  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.core
-{
-	public interface IStateClient2
-	{
- 	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/71b99233/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
deleted file mode 100644
index cd0f321..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IUID.as
+++ /dev/null
@@ -1,62 +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 mx.core
-{
-
-/**
- *  The IUID interface defines the interface for objects that must have 
- *  Unique Identifiers (UIDs) to uniquely identify the object.
- *  UIDs do not need to be universally unique for most uses in Flex.
- *  One exception is for messages send by data services.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-public interface IUID
-{
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  uid
-	//----------------------------------
-	
-	/**
-	 *  The unique identifier for this object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get uid():String;
-    
-    /**
-     *  @private
-     */
-    function set uid(value:String):void;
-}
-
-}