Packageorg.aswing.event
Classpublic class MovedEvent
InheritanceMovedEvent Inheritance AWEvent Inheritance flash.events.Event

The event for component moved.



Public Methods
 MethodDefined by
  
MovedEvent(oldPos:IntPoint, newPos:IntPoint)
MovedEvent
  
clone():Event
MovedEvent
  
MovedEvent
  
MovedEvent
Public Constants
 ConstantDefined by
 InheritedACT : String = "act"
[static] The AWEvent.ACT constant defines the value of the type property of the event object for a act event.
AWEvent
 InheritedFOCUS_GAINED : String = "focusGained"
[static] The AWEvent.FOCUS_GAINED constant defines the value of the type property of the event object for a focusGained event.
AWEvent
 InheritedFOCUS_LOST : String = "focusLost"
[static] The AWEvent.FOCUS_LOST constant defines the value of the type property of the event object for a focusLost event.
AWEvent
 InheritedHIDDEN : String = "hidden"
[static] The AWEvent.HIDDEN constant defines the value of the type property of the event object for a hidden event.
AWEvent
  MOVED : String = "moved"
[static] The MovedEvent.MOVED constant defines the value of the type property of the event object for a moved event.
MovedEvent
 InheritedPAINT : String = "paint"
[static] The AWEvent.PAINT constant defines the value of the type property of the event object for a paint event.
AWEvent
 InheritedSHOWN : String = "shown"
[static] The AWEvent.SHOWN constant defines the value of the type property of the event object for a shown event.
AWEvent
Constructor detail
MovedEvent()constructor
public function MovedEvent(oldPos:IntPoint, newPos:IntPoint)Parameters
oldPos:IntPoint
 
newPos:IntPoint
Method detail
clone()method
public override function clone():Event

Returns
Event
getNewLocation()method 
public function getNewLocation():IntPoint

Returns
IntPoint
getOldLocation()method 
public function getOldLocation():IntPoint

Returns
IntPoint
Constant detail
MOVEDconstant
public static const MOVED:String = "moved"

The MovedEvent.MOVED constant defines the value of the type property of the event object for a moved event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getOldLocation()the old location
getNewLocation()the new location
currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.