      */
     override public function onTweenEnd(value:Object):void 
     {
-        super.onTweenEnd(value);
         if (eventSource)
             eventSource.removeEventListener(eventName, eventHandler);
+        super.onTweenEnd(value);
     }
 }
 

     */
    private function eventHandler(event:Event):void
    {
        end();
    }

    /**

            eventSource.addEventListener(eventName, eventHandler);
        }

        if (duration >= 0)
            tween = createTween(this, 0, 0, duration);
    }
    
    //--------------------------------------------------------------------------
