4 Replies Latest reply on Aug 15, 2007 7:50 PM by babo_ya

    event.currentTarget.width is 0

    babo_ya Level 3
      Hi,

      I have a function..
      public function mouseDownEventHandler(event:MouseEvent):void
      {
      trace(event.currentTarget.width); // displayes 0
      trace(event.currentTarget.x); // Displays x value of the object that dispatch the event ... which means this works.
      }

      Not sure when event.currentTarget.width always says 0 and event.currentTarget.x works fine.

      Thanks for your help