The AttachmentDropManager provides support for dropping attachments to the UI Component classes.
Any UI Component that registers with this class gets the platform
attachment drop support. This class is based on the Spark List drag drop code.
MXML SyntaxShow MXML Syntax Hide MXML Syntax
The <s:AttachmentDragManager> has the following tag attributes:
[static]
The AttachmentDragManager.DRAG_DROP_ITEMS constant defines the value of the
format property for the default set of List drag and drop items.
AttachmentDropManager
Property Detail
dropTarget
property
dropTarget:UIComponent
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
This contains the UI Component registered by the caller as the drop target.
If you set this property, the UI component that is set is enabled as
a drop target for attachments. If this is set to null or to a different
UI component, the previous UI component is unregistered as a drop target.
The default value is null.
Implementation public function get dropTarget():UIComponent public function set dropTarget(value:UIComponent):void