flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/8] Factor out MXMLCClasses into it own swc and build a set of ant scripts to build it and FlexJSUI
Date Tue, 19 Nov 2013 20:40:22 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterComponentWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterComponentWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterComponentWatcher.as
deleted file mode 100644
index b16f2ae..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterItemWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterItemWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/RepeaterItemWatcher.as
deleted file mode 100644
index 8d5e8e2..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/StaticPropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/StaticPropertyWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/StaticPropertyWatcher.as
deleted file mode 100644
index 726211a..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/Watcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/Watcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/Watcher.as
deleted file mode 100644
index 39df030..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/XMLWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/XMLWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/XMLWatcher.as
deleted file mode 100644
index b324638..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/ClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/ClassFactory.as b/frameworks/as/projects/FlexJSUI/src/mx/core/ClassFactory.as
deleted file mode 100644
index 8ca4e79..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/core/ClassFactory.as
+++ /dev/null
@@ -1,100 +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 ClassFactory implements IFactory
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @param generator The Class that the <code>newInstance()</code> method uses
-	 *  to generate objects from this factory object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function ClassFactory(generator:Class = null)
-    {
-		super();
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  generator
-	//----------------------------------
-
-    /**
-     *  The Class that the <code>newInstance()</code> method uses
-	 *  to generate objects from this factory object.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public var generator:Class;
-
-	//----------------------------------
-	//  properties
-	//----------------------------------
-
-	/**
-	 *	An Object whose name/value pairs specify the properties to be set
-	 *  on each object generated by the <code>newInstance()</code> method.
-	 *
-	 *  <p>For example, if you set <code>properties</code> to
-	 *  <code>{ text: "Hello", width: 100 }</code>, then every instance
-	 *  of the <code>generator</code> class that is generated by calling
-	 *  <code>newInstance()</code> will have its <code>text</code> set to
-	 *  <code>"Hello"</code> and its <code>width</code> set to
-	 *  <code>100</code>.</p>
-	 *
-	 *  @default null
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public var properties:Object = null;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromClass.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromClass.as b/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromClass.as
deleted file mode 100644
index 9893d34..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromFunction.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromFunction.as b/frameworks/as/projects/FlexJSUI/src/mx/core/DeferredInstanceFromFunction.as
deleted file mode 100644
index b93a277..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/IDeferredInstance.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/IDeferredInstance.as b/frameworks/as/projects/FlexJSUI/src/mx/core/IDeferredInstance.as
deleted file mode 100644
index e3ac094..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/IFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/IFactory.as b/frameworks/as/projects/FlexJSUI/src/mx/core/IFactory.as
deleted file mode 100644
index 205200b..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/core/IFactory.as
+++ /dev/null
@@ -1,39 +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 IFactory
-{
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/IFlexModuleFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/IFlexModuleFactory.as b/frameworks/as/projects/FlexJSUI/src/mx/core/IFlexModuleFactory.as
deleted file mode 100644
index 536c92a..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/IPropertyChangeNotifier.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/IPropertyChangeNotifier.as b/frameworks/as/projects/FlexJSUI/src/mx/core/IPropertyChangeNotifier.as
deleted file mode 100644
index 39d86ed..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/core/IPropertyChangeNotifier.as
+++ /dev/null
@@ -1,40 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package 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 IPropertyChangeNotifier
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-	// Inherits uid property from IUID
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/core/IStateClient2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/core/IStateClient2.as b/frameworks/as/projects/FlexJSUI/src/mx/core/IStateClient2.as
deleted file mode 100644
index ae21531..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEvent.as b/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEvent.as
deleted file mode 100644
index dcb2996..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEvent.as
+++ /dev/null
@@ -1,78 +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);
-    }
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEventKind.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEventKind.as b/frameworks/as/projects/FlexJSUI/src/mx/events/PropertyChangeEventKind.as
deleted file mode 100644
index 3c7d321..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/filters/IBitmapFilter.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/filters/IBitmapFilter.as b/frameworks/as/projects/FlexJSUI/src/mx/filters/IBitmapFilter.as
deleted file mode 100644
index efe40a9..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSCondition.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSCondition.as b/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSCondition.as
deleted file mode 100644
index 82052ff..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSSelector.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSSelector.as b/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSSelector.as
deleted file mode 100644
index dd0ada2..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSStyleDeclaration.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSStyleDeclaration.as b/frameworks/as/projects/FlexJSUI/src/mx/styles/CSSStyleDeclaration.as
deleted file mode 100644
index 238504f..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/styles/IStyleManager2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/styles/IStyleManager2.as b/frameworks/as/projects/FlexJSUI/src/mx/styles/IStyleManager2.as
deleted file mode 100644
index b8cb6f4..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/styles/StyleManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/styles/StyleManager.as b/frameworks/as/projects/FlexJSUI/src/mx/styles/StyleManager.as
deleted file mode 100644
index c54d9d2..0000000
--- a/frameworks/as/projects/FlexJSUI/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/d7e70f9a/frameworks/as/projects/MXMLCClasses/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/build.xml b/frameworks/as/projects/MXMLCClasses/build.xml
new file mode 100644
index 0000000..1e8086a
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/build.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<project name="framework" default="main" basedir=".">
+    <property name="FLEXJS_HOME" location="../.."/>
+    
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/build.properties"/>
+    <property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
+
+    <target name="main" depends="clean,compile" description="Clean build of MXMLCClasses.swc">
+    </target>
+    
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${FLEXJS_HOME}/libs">
+                <include name="MXMLCClasses.swc"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <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" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+        <!--
+            Link in the classes (and their dependencies) for the MXML tags
+            listed in this project's manifest.xml.
+            Also link the additional classes (and their dependencies)
+            listed in 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}/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/d7e70f9a/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
new file mode 100644
index 0000000..6c087f2
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/compile-config.xml
@@ -0,0 +1,44 @@
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<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/d7e70f9a/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
new file mode 100644
index 0000000..bbbb6fb
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
@@ -0,0 +1,60 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+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.ClassFactory; ClassFactory;
+    import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
+    import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
+    import mx.core.IDeferredInstance; IDeferredInstance;
+    import mx.core.IFactory; IFactory;
+    import mx.core.IFlexModuleFactory; IFlexModuleFactory;
+    import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
+    import mx.core.IStateClient2; IStateClient2;
+    import mx.events.PropertyChangeEvent; PropertyChangeEvent;
+    import mx.filters.IBitmapFilter; IBitmapFilter;
+    import mx.styles.CSSCondition; CSSCondition;
+    import mx.styles.CSSSelector; CSSSelector;
+    import mx.styles.CSSStyleDeclaration; CSSStyleDeclaration;
+    import mx.styles.IStyleManager2; IStyleManager2;
+    import mx.styles.StyleManager; StyleManager;    
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/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
new file mode 100644
index 0000000..024af6c
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/src/mx/binding/ArrayElementWatcher.as
@@ -0,0 +1,77 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.binding
+{
+
+[ExcludeClass]
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class ArrayElementWatcher extends Watcher
+{
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 *  Constructor
+	 */
+    public function ArrayElementWatcher(document:Object,
+                                        accessorFunc:Function,
+                                        listeners:Array)
+    {
+		super(listeners);
+
+        this.document = document;
+        this.accessorFunc = accessorFunc;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 */
+	private var document:Object;
+    
+    /**
+	 *  @private
+	 */
+	private var accessorFunc:Function;
+
+    /**
+	 *  @private
+	 */
+    public var arrayWatcher:Watcher;
+
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/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
new file mode 100644
index 0000000..b822dcd
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/src/mx/binding/Binding.as
@@ -0,0 +1,85 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.binding
+{
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class Binding
+{
+    
+    //--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Create a Binding object
+	 *
+     *  @param document The document that is the target of all of this work.
+	 *
+     *  @param srcFunc The function that returns us the value
+	 *  to use in this Binding.
+	 *
+     *  @param destFunc The function that will take a value
+	 *  and assign it to the destination.
+	 *
+     *  @param destString The destination represented as a String.
+	 *  We can then tell the ValidationManager to validate this field.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function Binding(document:Object, srcFunc:Function,
+						    destFunc:Function, destString:String,
+							srcString:String = null)
+    {
+    }
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Execute the binding.
+     *  Call the source function and get the value we'll use.
+     *  Then call the destination function passing the value as an argument.
+     *  Finally try to validate the destination.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function execute(o:Object = null):void
+    {
+    }
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/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
new file mode 100644
index 0000000..3ef557b
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/src/mx/binding/BindingManager.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+package mx.binding
+{
+	public class BindingManager
+	{
+        public static function executeBindings(document:Object,
+                                               destStr:String,
+                                               destObj:Object):void
+        {
+            
+        }
+ 	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/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
new file mode 100644
index 0000000..2dfd63e
--- /dev/null
+++ b/frameworks/as/projects/MXMLCClasses/src/mx/binding/FunctionReturnWatcher.as
@@ -0,0 +1,129 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.binding
+{
+
+[ExcludeClass]
+
+/**
+ * @private
+ * This class is used to satisfy old MXML codegen
+ * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
+ * it isn't needed so there is no JS equivalent
+ */
+public class FunctionReturnWatcher extends Watcher
+{
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 *  Constructor.
+	 */
+	public function FunctionReturnWatcher(functionName:String,
+										  document:Object,
+										  parameterFunction:Function,
+										  events:Object,
+                                          listeners:Array,
+                                          functionGetter:Function = null,
+                                          isStyle:Boolean = false)
+    {
+		super(listeners);
+
+        this.functionName = functionName;
+        this.document = document;
+        this.parameterFunction = parameterFunction;
+        this.events = events;
+        this.functionGetter = functionGetter;
+        this.isStyle = isStyle;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+     *  The name of the property, used to actually get the property
+	 *  and for comparison in propertyChanged events.
+     */
+    private var functionName:String;
+    
+	/**
+ 	 *  @private
+     *  The document is what we need to use to execute the parameter function.
+     */
+    private var document:Object;
+    
+	/**
+ 	 *  @private
+     *  The function that will give us the parameters for calling the function.
+     */
+    private var parameterFunction:Function;
+    
+    /**
+ 	 *  @private
+     *  The events that indicate the property has changed.
+     */
+    private var events:Object;
+    
+	/**
+	 *  @private
+     *  The parent object of this function.
+     */
+    private var parentObj:Object;
+    
+	/**
+	 *  @private
+     *  The watcher holding onto the parent object.
+     */
+    public var parentWatcher:Watcher;
+
+    /**
+     *  Storage for the functionGetter property.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    private var functionGetter:Function;
+
+    /**
+     *  Storage for the isStyle property.  This will be true, when
+     *  watching a function marked with [Bindable(style="true")].  For
+     *  example, UIComponent.getStyle().
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+    private var isStyle:Boolean;
+
+}
+
+}


Mime
View raw message