flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [26/37] git commit: [flex-asjs] [refs/heads/spark] - copy of many flex-sdk classes, modified to try to compile on top of the FlexJS base classes. A COMPILE::LATER flag is used to comment out features like multi-swf support and a few other features that
Date Sat, 13 Feb 2016 00:14:33 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEvent.as
new file mode 100644
index 0000000..274e2fb
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEvent.as
@@ -0,0 +1,282 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+import mx.events.PropertyChangeEventKind;
+
+/**
+ * The PropertyChangeEvent class represents the event object 
+ * passed to the event listener when one of the properties of 
+ * an object has changed, and provides information about the change. 
+ * This event is used by collection classes, and is the only way for 
+ * collections to know that the data they represent has changed.
+ * This event is also used by the Flex data binding mechanism.
+ * 
+ * @see PropertyChangeEventKind
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class PropertyChangeEvent extends Event
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    // Note: If the value for CHANGE changes,
+    // update mx.utils.ObjectProxy's Bindable metadata.
+    
+    /**
+     *  The <code>PropertyChangeEvent.PROPERTY_CHANGE</code> constant defines the value of the 
+     *  <code>type</code> property of the event object for a <code>PropertyChange</code> event.
+     * 
+     *  <p>The properties of the event object have the following values:</p>
+     *  <table class="innertable">
+     *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>Determined by the constructor; defaults to false.</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>Determined by the constructor; defaults to false.</td></tr>
+     *     <tr><td><code>kind</code></td><td>The kind of change; PropertyChangeEventKind.UPDATE
+     *             or PropertyChangeEventKind.DELETE.</td></tr>
+     *     <tr><td><code>oldValue</code></td><td>The original property value.</td></tr>
+     *     <tr><td><code>newValue</code></td><td>The new property value, if any.</td></tr>
+     *     <tr><td><code>property</code></td><td>The property that changed.</td></tr>
+     *     <tr><td><code>source</code></td><td>The object that contains the property that changed.</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *  </table>
+     *
+     *  @eventType propertyChange
+     *
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const PROPERTY_CHANGE:String = "propertyChange";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Returns a new PropertyChangeEvent of kind
+     *  <code>PropertyChangeEventKind.UPDATE</code>
+     *  with the specified properties.
+     *  This is a convenience method.
+     * 
+     *  @param source The object where the change occured.
+     *
+     *  @param property A String, QName, or int
+     *  specifying the property that changed,
+     *
+     *  @param oldValue The value of the property before the change.
+     *
+     *  @param newValue The value of the property after the change.
+     *
+     *  @return A newly constructed PropertyChangeEvent
+     *  with the specified properties. 
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function createUpdateEvent(
+                                    source:Object,
+                                    property:Object,
+                                    oldValue:Object,
+                                    newValue:Object):PropertyChangeEvent
+    {
+        var event:PropertyChangeEvent =
+            new PropertyChangeEvent(PROPERTY_CHANGE);
+        
+        event.kind = PropertyChangeEventKind.UPDATE;
+        event.oldValue = oldValue;
+        event.newValue = newValue;
+        event.source = source;
+        event.property = property;
+        
+        return event;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param type The event type; indicates the action that triggered the event.
+     *
+     *  @param bubbles Specifies whether the event can bubble
+     *  up the display list hierarchy.
+     *
+     *  @param cancelable Specifies whether the behavior
+     *  associated with the event can be prevented.
+     *
+     *  @param kind Specifies the kind of change.
+     *  The possible values are <code>PropertyChangeEventKind.UPDATE</code>,
+     *  <code>PropertyChangeEventKind.DELETE</code>, and <code>null</code>.
+     *
+     *  @param property A String, QName, or int
+     *  specifying the property that changed.
+     *
+     *  @param oldValue The value of the property before the change.
+     *
+     *  @param newValue The value of the property after the change.
+     *
+     *  @param source The object that the change occured on.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    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);
+
+        this.kind = kind;
+        this.property = property;
+        this.oldValue = oldValue;
+        this.newValue = newValue;
+        this.source = source;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  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;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods: Event
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function cloneEvent():Event
+    {
+        return new PropertyChangeEvent(type, bubbles, cancelable, kind,
+                                       property, oldValue, newValue, source);
+    }
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEventKind.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEventKind.as b/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEventKind.as
new file mode 100644
index 0000000..4ec706a
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/PropertyChangeEventKind.as
@@ -0,0 +1,65 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  The PropertyChangeEventKind class defines the constant values 
+ *  for the <code>kind</code> property of the PropertyChangeEvent class.
+ * 
+ *  @see mx.events.PropertyChangeEvent
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public final class PropertyChangeEventKind
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  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/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/Request.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/Request.as b/frameworks/projects/MX/src/main/flex/mx/events/Request.as
new file mode 100644
index 0000000..90a9bdb
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/Request.as
@@ -0,0 +1,127 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import org.apache.flex.events.Event;
+
+/**
+ *  This is an event that is expects its data property to be set by
+ *  a responding listener.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class Request extends Event
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+    /**
+     *  Dispatched from a sub-application or module to find the module factory of its parent
+     *  application or module. The recipient of this request should set the data property to 
+     *  their module factory.
+     * 
+     *  The message is dispatched from the content of a loaded module or application.
+     */
+    public static const GET_PARENT_FLEX_MODULE_FACTORY_REQUEST:String = "getParentFlexModuleFactoryRequest";
+    
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor. Does not return anything, but the <code>value</code> property can be modified
+     *  to represent a return value of a method.
+     *
+     *  @param type The event type; indicates the action that caused the event.
+     *
+     *  @param bubbles Specifies whether the event can bubble up the display list hierarchy.
+     *
+     *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
+     *
+     *  @param name Name of a property or method or name of a manager to instantiate.
+     *
+     *  @param value Value of a property, or an array of parameters
+     *  for a method (if not null).
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function Request(type:String, bubbles:Boolean = false,
+                                 cancelable:Boolean = false, 
+                                 value:Object = null)
+    {
+        super(type, bubbles, cancelable);
+
+        this.value = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  value
+    //----------------------------------
+
+    /**
+     *  Value of property, or array of parameters for method.       
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var value:Object;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: Event
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function cloneEvent():Event
+    {
+        var cloneEvent:Request = new Request(type, bubbles, cancelable, 
+                                                 value);
+
+        return cloneEvent;
+    }
+
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/ResizeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/ResizeEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/ResizeEvent.as
new file mode 100644
index 0000000..982d44e
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/ResizeEvent.as
@@ -0,0 +1,161 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+
+/**
+ *  Represents event objects that are dispatched when the size of a Flex 
+ *  component changes.
+ *
+ *  @see mx.core.UIComponent
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ResizeEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  The <code>ResizeEvent.RESIZE</code> constant defines the value of the
+	 *  <code>type</code> property of the event object for a <code>resize</code> event.
+	 *
+     *	<p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       <code>myButton.addEventListener()</code> to register an event listener,
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>oldHeight</code></td><td>The previous height of the object, in pixels.</td></tr>
+     *     <tr><td><code>oldWidth</code></td><td>The previous width of the object, in pixels.</td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the <code>currentTarget</code> property to always access the
+     *       Object listening for the event.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType resize
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const RESIZE:String = "resize";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble
+	 *  up the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 *
+	 *  @param oldWidth The previous width of the object, in pixels.
+	 *
+	 *  @param oldHeight The previous height of the object, in pixels.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function ResizeEvent(type:String, bubbles:Boolean = false,
+							    cancelable:Boolean = false,
+							    oldWidth:Number = NaN, oldHeight:Number = NaN)
+	{
+		super(type, bubbles, cancelable);
+
+		this.oldWidth = oldWidth;
+		this.oldHeight = oldHeight;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  oldHeight
+	//----------------------------------
+
+	/**
+	 *  The previous <code>height</code> of the object, in pixels.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var oldHeight:Number;
+
+	//----------------------------------
+	//  oldWidth
+	//----------------------------------
+
+	/**
+	 *  The previous <code>width</code> of the object, in pixels.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var oldWidth:Number;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function cloneEvent():Event
+	{
+		return new ResizeEvent(type, bubbles, cancelable, oldWidth, oldHeight);
+	}
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/StateChangeEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/StateChangeEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/StateChangeEvent.as
new file mode 100644
index 0000000..bdb48f3
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/StateChangeEvent.as
@@ -0,0 +1,205 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+
+/**
+ *  The StateChangeEvent class represents an event that is dispatched when the 
+ *  <code>currentState</code> property of a component changes.
+ *
+ *  @see mx.core.UIComponent
+ *  @see mx.states.State
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class StateChangeEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  The StateChangeEvent.CURRENT_STATE_CHANGE constant defines the
+	 *  value of the <code>type</code> property of the event that is dispatched
+	 *  when the view state has changed.
+	 *  The value of this constant is "currentStateChange".
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       <code>myButton.addEventListener()</code> to register an event listener,
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>newState</code></td><td>The name of the view state
+	 *       that was entered.</td></tr>
+     *     <tr><td><code>oldState</code></td><td>The name of the view state
+	 *       that was exited.</td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the <code>currentTarget</code> property to always access the
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>type</code></td><td>StateChangeEvent.CURRENT_STATE_CHANGE</td></tr>
+	 *  </table>
+	 *
+     *  @eventType currentStateChange
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const CURRENT_STATE_CHANGE:String = "currentStateChange";
+
+	/**
+	 *  The StateChangeEvent.CURRENT_STATE_CHANGING constant defines the
+	 *  value of the <code>type</code> property of the event that is dispatched
+	 *  when the view state is about to change.
+	 *  The value of this constant is "currentStateChanging".
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       <code>myButton.addEventListener()</code> to register an event listener,
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>newState</code></td><td>The name of the view state
+	 *       that is being entered.</td></tr>
+     *     <tr><td><code>oldState</code></td><td>The name of the view state
+	 *       that is being exited.</td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the <code>currentTarget</code> property to always access the
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>type</code></td><td>StateChangeEvent.CURRENT_STATE_CHANGING</td></tr>
+	 *  </table>
+	 *
+     *  @eventType currentStateChanging
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const CURRENT_STATE_CHANGING:String = "currentStateChanging";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *  Normally called by a Flex control and not used in application code.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble
+	 *  up the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 *
+	 *  @param oldState The name of the view state the component is exiting.
+	 *
+	 *  @param newState The name of the view state the component is entering.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function StateChangeEvent(type:String, bubbles:Boolean = false,
+									 cancelable:Boolean = false,
+									 oldState:String = null,
+									 newState:String = null)
+	{
+		super(type, bubbles, cancelable);
+
+		this.oldState = oldState;
+		this.newState = newState;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  newState
+	//----------------------------------
+
+	/**
+	 *  The name of the view state that the component is entering.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var newState:String;
+
+	//----------------------------------
+	//  oldState
+	//----------------------------------
+
+	/**
+	 *  The name of the view state that the component is exiting.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var oldState:String;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function cloneEvent():Event
+	{
+		return new StateChangeEvent(type, bubbles, cancelable,
+									oldState, newState);
+	}
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/ToolTipEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/ToolTipEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/ToolTipEvent.as
new file mode 100644
index 0000000..ff00023
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/ToolTipEvent.as
@@ -0,0 +1,299 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+import mx.core.IToolTip;
+
+/**
+ *  The ToolTipEvent class represents ToolTip events, which are generated by the ToolTipManager 
+ *  class. The ToolTipManager class calls the <code>dispatchEvent()</code> method
+ *  of the object to which the tip applies to dispatch the event.
+ *
+ *  @see mx.managers.ToolTipManager
+ *  @see mx.core.UIComponent
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ToolTipEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_CREATE</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipCreate</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipCreate
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_CREATE:String = "toolTipCreate";
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_END</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipEnd</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipEnd
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_END:String = "toolTipEnd";
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_HIDE</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipHide</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipHide
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_HIDE:String = "toolTipHide";
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_SHOW</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipShow</code> event. 
+	 * 
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipShow
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_SHOW:String = "toolTipShow";
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_SHOWN</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipShown</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipShown
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_SHOWN:String = "toolTipShown";
+
+	/**
+	 *  The <code>ToolTipEvent.TOOL_TIP_START</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>toolTipStart</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>tooltip</code></td><td>The ToolTip object to 
+     *       which this event applies.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType toolTipStart
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TOOL_TIP_START:String = "toolTipStart";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble
+	 *  up the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 *
+	 *  @param toolTip The ToolTip object to which this event applies.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function ToolTipEvent(type:String, bubbles:Boolean = false,
+								 cancelable:Boolean = false,
+								 toolTip:IToolTip = null)
+	{
+		super(type, bubbles, cancelable);
+
+		this.toolTip = toolTip;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  toolTip
+	//----------------------------------
+
+	/**
+	 *  The ToolTip object to which this event applies.
+	 *  This object is normally an instance of ToolTip object,
+	 *  but can be any UIComponent object.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var toolTip:IToolTip;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function cloneEvent():Event
+	{
+		return new ToolTipEvent(type, bubbles, cancelable, toolTip);
+	}
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/TweenEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/TweenEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/TweenEvent.as
new file mode 100644
index 0000000..403bc02
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/TweenEvent.as
@@ -0,0 +1,229 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+
+/**
+ *  Represents event objects that are specific to Flex tween effects. 
+ *  Flex effects dispatch two types of tween events:
+ *  <ul>
+ *    <li><code>tweenUpdate</code></li>
+ *    <li><code>tweenEnd</code></li>
+ *  </ul>
+ *
+ *  @see mx.effects.TweenEffect
+ *  @see mx.effects.Tween
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class TweenEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+	
+	/**
+	 *  The <code>TweenEvent.TWEEN_END</code> constant defines the value of the 
+	 *  event object's <code>type</code> property for a <code>tweenEnd</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>value</code></td><td>The value passed to the 
+     *       <code>onTweenEnd()</code> method.</td></tr>
+	 *  </table>
+	 *
+	 *  @see mx.effects.Effect
+	 *  @see mx.effects.TweenEffect 
+	 *  @see mx.events.EffectEvent
+     *  @eventType tweenEnd 
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TWEEN_END:String = "tweenEnd";
+	
+	/**
+	 *  The <code>TweenEvent.TWEEN_START</code> constant defines the value of the 
+	 *  event object's <code>type</code> property for a <code>tweenStart</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>value</code></td><td>The value passed to the 
+     *       <code>onTweenUpdate()</code> method.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType tweenStart
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TWEEN_START:String = "tweenStart";
+	
+	/**
+	 *  The <code>TweenEvent.TWEEN_UPDATE</code> constant defines the value of the 
+	 *  event object's <code>type</code> property for a <code>tweenUpdate</code> event. 
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+     *     <tr><td><code>value</code></td><td>The value passed to the 
+     *       <code>onTweenUpdate()</code> method.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType tweenUpdate
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const TWEEN_UPDATE:String = "tweenUpdate";
+	
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble up the 
+	 *  display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
+	 *
+	 *  @param value For a <code>tweenStart</code> or <code>tweenUpdate</code> event, the value passed to the 
+	 *  <code>onTweenUpdate()</code> method; for a <code>tweenEnd</code> event, 
+	 *  the value passed to the <code>onTweenEnd()</code> method.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function TweenEvent(type:String, bubbles:Boolean = false,
+							   cancelable:Boolean = false,
+							   value:Object = null)
+	{
+		super(type, bubbles, cancelable);
+		
+		this.value = value;
+	}
+	
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+    //  value
+    //----------------------------------
+
+	/**
+	 *  For a <code>tweenStart</code> or <code>tweenUpdate</code> event, the value passed to the 
+	 *  <code>onTweenUpdate()</code> method; for a <code>tweenEnd</code> event, 
+	 *  the value passed to the <code>onTweenEnd()</code> method.
+	 *
+	 *  <p>For the exact value of this property, see the instance class 
+	 *  for each tween effect.</p>
+	 *
+	 *  @see mx.effects.effectClasses.ActionEffectInstance
+ 	 *  @see mx.effects.effectClasses.BlurInstance
+ 	 *  @see mx.effects.effectClasses.DissolveInstance
+ 	 *  @see mx.effects.effectClasses.FadeInstance
+ 	 *  @see mx.effects.effectClasses.GlowInstance
+ 	 *  @see mx.effects.effectClasses.MaskEffectInstance
+ 	 *  @see mx.effects.effectClasses.MoveInstance
+ 	 *  @see mx.effects.effectClasses.ResizeInstance
+ 	 *  @see mx.effects.effectClasses.RotateInstance
+ 	 *  @see mx.effects.effectClasses.ZoomInstance
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var value:Object;
+	
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function cloneEvent():Event
+	{
+		return new TweenEvent(type, bubbles, cancelable, value);
+	}
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/events/ValidationResultEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/events/ValidationResultEvent.as b/frameworks/projects/MX/src/main/flex/mx/events/ValidationResultEvent.as
new file mode 100644
index 0000000..0da2461
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/events/ValidationResultEvent.as
@@ -0,0 +1,236 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+
+/**
+ *  The ValidationResultEvent class represents the event object 
+ *  passed to the listener for the <code>valid</code> validator event
+ *  or the <code>invalid</code> validator event. 
+ *
+ *  @see mx.validators.Validator
+ *  @see mx.validators.ValidationResult
+ *  @see mx.validators.RegExpValidationResult
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ValidationResultEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+	
+	/**
+	 *  The <code>ValidationResultEvent.INVALID</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for an <code>invalid</code> event.
+	 *  The value of this constant is "invalid".
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>field</code></td><td>The name of the field that failed validation.</td></tr>
+     *     <tr><td><code>message</code></td><td>A single string that contains 
+     *       every error message from all of the ValidationResult objects in the results Array.</td></tr>
+     *     <tr><td><code>results</code></td><td>An array of ValidationResult objects, 
+     *       one per validated field.</td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType invalid 
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const INVALID:String = "invalid";
+
+	/**
+	 *  The <code>ValidationResultEvent.VALID</code> constant defines the value of the 
+	 *  <code>type</code> property of the event object for a <code>valid</code>event.
+	 *  The value of this constant is "valid".
+	 *
+	 *  <p>The properties of the event object have the following values:</p>
+	 *  <table class="innertable">
+	 *     <tr><th>Property</th><th>Value</th></tr>
+     *     <tr><td><code>bubbles</code></td><td>false</td></tr>
+     *     <tr><td><code>cancelable</code></td><td>false</td></tr>
+     *     <tr><td><code>currentTarget</code></td><td>The Object that defines the 
+     *       event listener that handles the event. For example, if you use 
+     *       <code>myButton.addEventListener()</code> to register an event listener, 
+     *       myButton is the value of the <code>currentTarget</code>. </td></tr>
+     *     <tr><td><code>field</code></td><td>An empty String.</td></tr>
+     *     <tr><td><code>message</code></td><td>An empty String.</td></tr>
+     *     <tr><td><code>results</code></td><td>An empty Array.</td></tr>
+     *     <tr><td><code>target</code></td><td>The Object that dispatched the event; 
+     *       it is not always the Object listening for the event. 
+     *       Use the <code>currentTarget</code> property to always access the 
+     *       Object listening for the event.</td></tr>
+	 *  </table>
+	 *
+     *  @eventType valid 
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static const VALID:String = "valid";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble up the 
+	 *  display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
+	 *
+	 *  @param field The name of the field that failed validation and triggered the event.
+	 *
+	 *  @param results An array of ValidationResult objects, one per validated field. 
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public function ValidationResultEvent(type:String, bubbles:Boolean = false,
+										  cancelable:Boolean = false,
+										  field:String = null,
+										  results:Array = null)
+    {
+        super(type, bubbles, cancelable);
+
+        this.field = field;
+        this.results = results;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+    //  field
+    //----------------------------------
+
+	/**
+	 *  The name of the field that failed validation and triggered the event.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public var field:String;
+	
+	//----------------------------------
+    //  message
+    //----------------------------------
+
+	/**
+	 *  A single string that contains every error message from all
+	 *  of the ValidationResult objects in the results Array.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public function get message():String
+    {
+        var msg:String = "";
+		var n:int;
+		
+		if (results)
+			n = results.length;
+		
+		for (var i:int = 0; i < n; ++i)
+        {
+			if (results[i].isError)
+			{
+	            msg += msg == "" ? "" : "\n";
+				msg += results[i].errorMessage;
+			}
+        }
+        
+		return msg;
+    }
+
+	//----------------------------------
+    //  results
+    //----------------------------------
+
+	/**
+	 *  An array of ValidationResult objects, one per validated field. 
+	 *
+	 *  @see mx.validators.ValidationResult
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public var results:Array;
+	
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function cloneEvent():Event
+	{
+		return new ValidationResultEvent(type, bubbles, cancelable,
+										 field, results);
+	}
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/geom/RoundedRectangle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/geom/RoundedRectangle.as b/frameworks/projects/MX/src/main/flex/mx/geom/RoundedRectangle.as
new file mode 100644
index 0000000..1eff289
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/geom/RoundedRectangle.as
@@ -0,0 +1,94 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.geom
+{
+import org.apache.flex.geom.Rectangle;		
+
+/**
+ *  RoundedRectangle represents a Rectangle with curved corners
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class RoundedRectangle extends Rectangle
+{	
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param x The x coordinate of the top-left corner of the rectangle.
+	 *
+	 *  @param y The y coordinate of the top-left corner of the rectangle.
+	 *
+	 *  @param width The width of the rectangle, in pixels.
+	 *
+	 *  @param height The height of the rectangle, in pixels.
+	 *
+	 *  @param cornerRadius The radius of each corner, in pixels.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function RoundedRectangle(x:Number = 0, y:Number = 0,
+									 width:Number = 0, height:Number = 0,
+									 cornerRadius:Number = 0)
+	{
+		super(x, y, width, height);
+
+		this.cornerRadius = cornerRadius;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  cornerRadius
+	//----------------------------------
+
+	[Inspectable]
+
+	/**
+	 *  The radius of each corner (in pixels).
+	 *  
+	 *  @default 0
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public var cornerRadius:Number = 0;
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f6418c4/frameworks/projects/MX/src/main/flex/mx/managers/CursorManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/managers/CursorManager.as b/frameworks/projects/MX/src/main/flex/mx/managers/CursorManager.as
new file mode 100644
index 0000000..688818b
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/managers/CursorManager.as
@@ -0,0 +1,429 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.managers
+{
+import mx.core.Singleton;
+import mx.core.mx_internal;
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  The skin for the busy cursor.
+ *
+ *  @default mx.skins.halo.BusyCursor
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="busyCursor", type="Class", inherit="no")]
+
+/**
+ *  The class to use as the skin for the busy cursor background.
+ *  The default value is the "cursorStretch" symbol from the Assets.swf file.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="busyCursorBackground", type="Class", inherit="no")]
+
+/**
+ *  The CursorManager class controls a prioritized list of cursors,
+ *  where the cursor with the highest priority is currently visible.
+ *  If the cursor list contains more than one cursor with the same priority,
+ *  the Cursor Manager displays the most recently created cursor.
+ *  
+ *  <p>For example, if your application performs processing
+ *  that requires the user to wait until the processing completes,
+ *  you can change the cursor so that it reflects the waiting period.
+ *  In this case, you can change the cursor to an hourglass
+ *  or other image.</p>
+ *  
+ *  <p>You also might want to change the cursor to provide feedback
+ *  to the user to indicate the actions that the user can perform.
+ *  For example, you can use one cursor image to indicate that user input
+ *  is enabled, and another to indicate that input is disabled. 
+ *  You can use a JPEG, GIF, PNG, or SVG image, a Sprite object, or a SWF file
+ *  as the cursor image.</p>
+ *  
+ *  <p>All methods and properties of the CursorManager are static,
+ *  so you do not need to create an instance of it.</p>
+ *
+ *  <p>In AIR, each mx.core.Window instance uses its own instance of the CursorManager class. 
+ *  Instead of directly referencing the static methods and properties of the CursorManager class, 
+ *  use the <code>Window.cursorManager</code> property to reference the CursorManager instance 
+ *  for the Window instance. </p>
+ *
+ *  @see mx.managers.CursorManagerPriority
+ *  @see mx.core.Window
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class CursorManager
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+    
+    /**
+     *  Constant that is the value of <code>currentCursorID</code> property
+     *  when there is no cursor managed by the CursorManager and therefore
+     *  the system cursor is being displayed.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const NO_CURSOR:int = 0;
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Linker dependency on implementation class.
+     */
+    private static var implClassDependency:CursorManagerImpl;
+
+    /**
+     *  @private
+     *  Storage for the impl getter.
+     *  This gets initialized on first access,
+     *  not at static initialization time, in order to ensure
+     *  that the Singleton registry has already been initialized.
+     */
+    private static var _impl:ICursorManager;
+    
+    /**
+     *  @private
+     *  The singleton instance of CursorManagerImpl which was
+     *  registered as implementing the ICursorManager interface.
+     */
+    private static function get impl():ICursorManager
+    {
+        if (!_impl)
+        {
+            _impl = ICursorManager(
+                Singleton.getInstance("mx.managers::ICursorManager"));
+        }
+
+        return _impl;
+    }
+    
+    /**
+     *  Each mx.core.Window instance in an AIR application has its own CursorManager instance. 
+     *  This method returns the CursorManager instance for the main Window instance.  
+     *
+     *  @return The CursorManager instance for the main Window instance in an AIR application.  
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function getInstance():ICursorManager
+    {
+        return impl;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  currentCursorID
+    //----------------------------------
+
+    /**
+     *  ID of the current custom cursor,
+     *  or NO_CURSOR if the system cursor is showing.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function get currentCursorID():int
+    {
+        return impl.currentCursorID;
+    }
+    
+    /**
+     *  @private
+     */
+    public static function set currentCursorID(value:int):void
+    {
+        impl.currentCursorID = value;
+    }
+
+    //----------------------------------
+    //  currentCursorXOffset
+    //----------------------------------
+
+    /**
+     *  The x offset of the custom cursor, in pixels,
+     *  relative to the mouse pointer.
+     *       
+     *  @default 0
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function get currentCursorXOffset():Number
+    {
+        return impl.currentCursorXOffset;
+    }
+    
+    /**
+     *  @private
+     */
+    public static function set currentCursorXOffset(value:Number):void
+    {
+        impl.currentCursorXOffset = value;
+    }
+
+    //----------------------------------
+    //  currentCursorYOffset
+    //----------------------------------
+
+    /**
+     *  The y offset of the custom cursor, in pixels,
+     *  relative to the mouse pointer.
+     *
+     *  @default 0
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function get currentCursorYOffset():Number
+    {
+        return impl.currentCursorYOffset;
+    }
+    
+    /**
+     *  @private
+     */
+    public static function set currentCursorYOffset(value:Number):void
+    {
+        impl.currentCursorYOffset = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+    
+    /**
+     *  Makes the cursor visible.
+     *  Cursor visibility is not reference-counted.
+     *  A single call to the <code>showCursor()</code> method
+     *  always shows the cursor regardless of how many calls
+     *  to the <code>hideCursor()</code> method were made.
+     *
+     *  <p>Calling this method does not affect the system cursor. 
+     *  Use the <code>Mouse.show()</code> and 
+     *  <code>Mouse.hide()</code> methods to directly 
+     *  control the system cursor. </p>
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function showCursor():void
+    {
+        impl.showCursor();
+    }
+    
+    /**
+     *  Makes the cursor invisible.
+     *  Cursor visibility is not reference-counted.
+     *  A single call to the <code>hideCursor()</code> method
+     *  always hides the cursor regardless of how many calls
+     *  to the <code>showCursor()</code> method were made.
+     * 
+     *  <p>Calling this method does not affect the system cursor. 
+     *  Use the <code>Mouse.show()</code> and 
+     *  <code>Mouse.hide()</code> methods to directly 
+     *  control the system cursor. </p>
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function hideCursor():void
+    {
+        impl.hideCursor();
+    }
+
+    /**
+     *  Creates a new cursor and sets an optional priority for the cursor.
+     *  Adds the new cursor to the cursor list.
+     *
+     *  @param cursorClass Class of the cursor to display.
+     *
+     *  @param priority Integer that specifies
+     *  the priority level of the cursor.
+     *  Possible values are <code>CursorManagerPriority.HIGH</code>,
+     *  <code>CursorManagerPriority.MEDIUM</code>, and <code>CursorManagerPriority.LOW</code>.
+     *
+     *  @param xOffset Number that specifies the x offset
+     *  of the cursor, in pixels, relative to the mouse pointer.
+     *
+     *  @param yOffset Number that specifies the y offset
+     *  of the cursor, in pixels, relative to the mouse pointer.
+     *
+     *  @param setter The IUIComponent that set the cursor. Necessary (in multi-window environments) 
+     *  to know which window needs to display the cursor. 
+     *
+     *  @return The ID of the cursor.
+     *
+     *  @see mx.managers.CursorManagerPriority
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function setCursor(cursorClass:Class, priority:int = 2,
+                                     xOffset:Number = 0,
+                                     yOffset:Number = 0):int 
+    {
+        return impl.setCursor(cursorClass, priority, xOffset, yOffset);
+    }
+    
+    /**
+     *  Removes a cursor from the cursor list.
+     *  If the cursor being removed is the currently displayed cursor,
+     *  the CursorManager displays the next cursor in the list, if one exists.
+     *  If the list becomes empty, the CursorManager displays
+     *  the default system cursor.
+     *
+     *  @param cursorID ID of cursor to remove.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function removeCursor(cursorID:int):void 
+    {
+        impl.removeCursor(cursorID);
+    }
+    
+    /**
+     *  Removes all of the cursors from the cursor list
+     *  and restores the system cursor.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function removeAllCursors():void
+    {
+        impl.removeAllCursors();
+    }
+
+    /**
+     *  Displays the busy cursor.
+     *  The busy cursor has a priority of CursorManagerPriority.LOW.
+     *  Therefore, if the cursor list contains a cursor
+     *  with a higher priority, the busy cursor is not displayed 
+     *  until you remove the higher priority cursor.
+     *  To create a busy cursor at a higher priority level,
+     *  use the <code>setCursor()</code> method.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function setBusyCursor():void 
+    {
+        impl.setBusyCursor();
+    }
+
+    /**
+     *  Removes the busy cursor from the cursor list.
+     *  If other busy cursor requests are still active in the cursor list,
+     *  which means you called the <code>setBusyCursor()</code> method more than once,
+     *  a busy cursor does not disappear until you remove
+     *  all busy cursors from the list.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static function removeBusyCursor():void 
+    {
+        impl.removeBusyCursor();
+    }
+            
+    
+    /**
+     *  @private
+     *  Called by other components if they want to display
+     *  the busy cursor during progress events.
+     */
+    mx_internal static function registerToUseBusyCursor(source:Object):void
+    {
+        impl.registerToUseBusyCursor(source);
+    }
+
+    /**
+     *  @private
+     *  Called by other components to unregister
+     *  a busy cursor from the progress events.
+     */
+    mx_internal static function unRegisterToUseBusyCursor(source:Object):void
+    {
+        impl.unRegisterToUseBusyCursor(source);
+    }
+    
+}
+
+} 
+        


Mime
View raw message