An event sent between DragManagers that are
in separate but trusted ApplicationDomains to
handle the dispatching of DragEvents to the drag targets.
One DragManager has a DragProxy that moves with
the mouse and looks for changes to the dropTarget.
It cannot directly dispatch the DragEvent to a potential
target in another ApplicationDomain because code
in that ApplicationDomain would not type-match on DragEvent.
Instead, the DragManager dispatches a InterDragManagerEvent
that the other ApplicationDomain's DragManager listens
for and it marshals the DragEvent and dispatches it to
the potential dropTarget.
type:String — The event type; indicates the action that caused the event.
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
localX:Number (default = NaN) — The horizontal coordinate at which the event occurred relative to the containing sprite.
localY:Number (default = NaN) — The vertical coordinate at which the event occurred relative to the containing sprite.
relatedObject:InteractiveObject (default = null) — A reference to a display list object that is related to the event.
ctrlKey:Boolean (default = false) — Indicates whether the Ctrl key was pressed.
altKey:Boolean (default = false) — Indicates whether the Alt key was pressed.
shiftKey:Boolean (default = false) — Indicates whether the Shift key was pressed.
buttonDown:Boolean (default = false) — Indicates whether the primary mouse button is pressed (true) or not (false).
delta:int (default = 0) — Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel.
dropTarget:DisplayObject (default = null) — The potential drop target in the other application domain (which is why it is a DisplayObject and not some other class).
dragEventType:String (default = null) — The event type for the DragEvent to be used by the receiving DragManager when creating the marshaled DragEvent.
dragInitiator:IUIComponent (default = null) — IUIComponent that specifies the component initiating
the drag.
dragSource:DragSource (default = null) — A DragSource object containing the data being dragged.
action:String (default = null) — The specified drop action, such as DragManager.MOVE.
draggedItem:Object (default = null) — An object representing the item that was dragged.
Constant Detail
DISPATCH_DRAG_EVENT
Constant
public static const DISPATCH_DRAG_EVENT:String = dispatchDragEvent
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
Dispatch a DragEvent event to a target in another ApplicationDomain.
The receiving DragManager marshals the DragEvent and dispatches it
to the target specified in the dropTarget property.