Pacoteflash.desktop
Classepublic class NativeDragOptions
HerançaNativeDragOptions Inheritance Object

Specifies which drag-and-drop actions are relevant to a drag operation.

Drag actions are part of a feedback mechanism to allow the initiating and target objects to cooperate in the drag-and-drop exchange.

An initiating object should allow the actions that it supports. For exemplo, an initiating object should only allow the move action if that object's internal logic will remove the source data when a target accepts a drop with a move action.

Likewise, a target object should only accept a drop that allows relevant actions. For exemplo, a target object that implements "trash can" functionality should not accept a drop that does not allow the move action.

A new NativeDragOptions object will have all properties initialized to true (all actions allowed).

Veja também

flash.desktop.NativeDragManager
flash.events.NativeDragEvent


Propriedades Públicas
 PropriedadeDefinido por
  allowCopy : Boolean = true
A drop target is allowed to copy the dragged data.
NativeDragOptions
  allowLink : Boolean = true
A drop target is allowed to create a link to the dragged data.
NativeDragOptions
  allowMove : Boolean = true
A drop target is allowed to move the dragged data.
NativeDragOptions
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Métodos Públicos
 MétodoDefinido por
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
NativeDragOptions
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes da propriedade
allowCopypropriedade
public var allowCopy:Boolean = true

A drop target is allowed to copy the dragged data.

allowLinkpropriedade 
public var allowLink:Boolean = true

A drop target is allowed to create a link to the dragged data.

allowMovepropriedade 
public var allowMove:Boolean = true

A drop target is allowed to move the dragged data.

Detalhes do método
toString()método
public function toString():String

Retorna
String