Packageorg.aswing.dnd
Interfacepublic interface DropMotion
ImplementorsDirectlyRemoveMotion, RejectedMotion

The motion when a drag action dropped. The motion must remove the drag movie clip when motion is completed.



Public Methods
 MethodDefined by
  
forceStop():void
A new drag is started, so the last motion should be stopped if it is still running.
DropMotion
  
startMotionAndLaterRemove(dragInitiator:Component, dragObject:Sprite):void
Starts the drop motion and remove the dragObject from its parent when motion is completed.
DropMotion
Method detail
forceStop()method
public function forceStop():void

A new drag is started, so the last motion should be stopped if it is still running.

startMotionAndLaterRemove()method 
public function startMotionAndLaterRemove(dragInitiator:Component, dragObject:Sprite):void

Starts the drop motion and remove the dragObject from its parent when motion is completed.

Parameters
dragInitiator:Component — the drag initiator
 
dragObject:Sprite — the display object to do motion