Packageaway3d.events
Classpublic class ElementEvent
InheritanceElementEvent Inheritance flash.events.Event

Passed as a parameter when a meshelement event occurs



Public Properties
 PropertyDefined By
  element : Element
A reference to the element object that is relevant to the event.
ElementEvent
Public Methods
 MethodDefined By
  
ElementEvent(type:String, element:Element)
Creates a new ElementEvent object.
ElementEvent
  
clone():Event
[override] Creates a copy of the ElementEvent object and sets the value of each property to match that of the original.
ElementEvent
Public Constants
 ConstantDefined By
  MAPPING_CHANGED : String = mappingChanged
[static] Defines the value of the type property of a mappingChanged event object.
ElementEvent
  VERTEX_CHANGED : String = vertexChanged
[static] Defines the value of the type property of a vertexChanged event object.
ElementEvent
  VERTEXVALUE_CHANGED : String = vertexvalueChanged
[static] Defines the value of the type property of a vertexvalueChanged event object.
ElementEvent
  VISIBLE_CHANGED : String = visibleChanged
[static] Defines the value of the type property of a visibleChanged event object.
ElementEvent
Property Detail
elementproperty
public var element:Element

A reference to the element object that is relevant to the event.

Constructor Detail
ElementEvent()Constructor
public function ElementEvent(type:String, element:Element)

Creates a new ElementEvent object.

Parameters
type:String — The type of the event. Possible values are: ElementEvent.VERTEX_CHANGED, ElementEvent.VERTEXVALUE_CHANGED and ElementEvent.VISIBLE_CHANGED.
 
element:Element — A reference to the element object that is relevant to the event.
####INIT####
Method Detail
clone()method
override public function clone():Event

Creates a copy of the ElementEvent object and sets the value of each property to match that of the original.

Returns
Event
Constant Detail
MAPPING_CHANGEDConstant
public static const MAPPING_CHANGED:String = mappingChanged

Defines the value of the type property of a mappingChanged event object.

VERTEX_CHANGEDConstant 
public static const VERTEX_CHANGED:String = vertexChanged

Defines the value of the type property of a vertexChanged event object.

VERTEXVALUE_CHANGEDConstant 
public static const VERTEXVALUE_CHANGED:String = vertexvalueChanged

Defines the value of the type property of a vertexvalueChanged event object.

VISIBLE_CHANGEDConstant 
public static const VISIBLE_CHANGED:String = visibleChanged

Defines the value of the type property of a visibleChanged event object.