Packageaway3d.events
Classpublic class SpriteEvent
InheritanceSpriteEvent Inheritance flash.events.Event

Passed as a parameter when a segment event occurs



Public Properties
 PropertyDefined By
  sprite : Sprite3D
A reference to the Billboard object that is relevant to the event.
SpriteEvent
Public Methods
 MethodDefined By
  
SpriteEvent(type:String, sprite:Sprite3D)
Creates a new BillboardEvent object.
SpriteEvent
  
clone():Event
[override] Creates a copy of the BillboardEvent object and sets the value of each property to match that of the original.
SpriteEvent
Public Constants
 ConstantDefined By
  MATERIAL_CHANGED : String = materialChanged
[static] Defines the value of the type property of a materialChanged event object.
SpriteEvent
Property Detail
spriteproperty
public var sprite:Sprite3D

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

Constructor Detail
SpriteEvent()Constructor
public function SpriteEvent(type:String, sprite:Sprite3D)

Creates a new BillboardEvent object.

Parameters
type:String — The type of the event. Possible values are: BillboardEvent.MATERIAL_CHANGED.
 
sprite:Sprite3D — A reference to the Billboard object that is relevant to the event.
####INIT####
Method Detail
clone()method
override public function clone():Event

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

Returns
Event
Constant Detail
MATERIAL_CHANGEDConstant
public static const MATERIAL_CHANGED:String = materialChanged

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