     //--------------------------------------------------------------------------
 
     //----------------------------------
-	//  name
-    //----------------------------------
-
-	[Inspectable(category="General")]
-
-	/**
+    //  name
+    //----------------------------------
+
+    [Inspectable(category="General")]
+
+    /**
      *  The name of the event whose handler is being set.
-	 *  You must set this property, either in 
-	 *  the SetEventHandler constructor or by setting
-	 *  the property value directly.
-	 */
-	public var name:String;
-
-	/**
-	 *  The handler function for the event.
-	 *  This property is intended for developers who use ActionScript to
-	 *  create and access view states.
-	 *  In MXML, you can use the equivalent <code>handler</code>
-	 *  event attribute; do not use both in a single MXML tag.
-	 *  
-	 *  @default null
-	 */
-	public var handlerFunction:Function;
-
-    //----------------------------------
-	//  target
-    //----------------------------------
-
-	[Inspectable(category="General")]
+     *  You must set this property, either in 
+     *  the SetEventHandler constructor or by setting
+     *  the property value directly.
+     */
+    public var name:String;
+
+    /**
+     *  The handler function for the event.
+     *  This property is intended for developers who use ActionScript to
+     *  create and access view states.
+     *  In MXML, you can use the equivalent <code>handler</code>
+     *  event attribute; do not use both in a single MXML tag.
+     *  
+     *  @default null
+     */
+    public var handlerFunction:Function;
+
+    //----------------------------------
+    //  target
+    //----------------------------------
+
+    [Inspectable(category="General")]
 
     /**
      *  The component that dispatches the event.
-	 *  If the property value is <code>null</code>, Flex uses the
+     *  If the property value is <code>null</code>, Flex uses the
      *  immediate parent of the <code>&lt;mx:states&gt;</code> tag.
      *
-	 *  @default null
-     */
-	public var target:EventDispatcher;
+     *  @default null
+     */
+    public var target:Object;
 
     //--------------------------------------------------------------------------
     //

    //
    //--------------------------------------------------------------------------

	/**
	 *  @private
	 */
	override public function addEventListener(
									type:String, listener:Function,
									useCapture:Boolean = false,
									priority:int = 0,
									useWeakReference:Boolean = false):void
	{
		if (type == "handler")
			handlerFunction = listener;

		super.addEventListener(type, listener, useCapture,
							   priority, useWeakReference);
	}

    //--------------------------------------------------------------------------
    //


    /**
     *  IOverride interface method; this class implements it as an empty method.
     * 
     *  @copy IOverride#initialize()
     */
    public function initialize():void
    {
