Packageaway3d.events
Classpublic class ClippingEvent
InheritanceClippingEvent Inheritance flash.events.Event

Passed as a parameter when a clip event occurs

Public Properties
 PropertyDefined by
  clipping : Clipping
A reference to the session object that is relevant to the event.
ClippingEvent
Public Methods
 MethodDefined by
  
ClippingEvent
(type:String, clipping:Clipping)
Creates a new ClippingEvent object.
ClippingEvent
  
clone():Event
Creates a copy of the ClippingEvent object and sets the value of each property to match that of the original.
ClippingEvent
Public Constants
 ConstantDefined by
  CLIPPING_UPDATED : String = "clippingUpdated"
[static] Defines the value of the type property of a ClipingUpdated event object.
ClippingEvent
  SCREEN_UPDATED : String = "screenUpdated"
[static] Defines the value of the type property of a ScreenUpdated event object.
ClippingEvent
Property detail
clippingproperty
public var clipping:Clipping

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

Constructor detail
ClippingEvent()constructor
public function ClippingEvent(type:String, clipping:Clipping)Parameters
type:String — The type of the event. Possible values are: ClippingEvent.CLIPPING_UPDATED and ClippingEvent.SCREEN_UPDATED.
 
clipping:Clipping — A reference to the clipping object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

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

Returns
Event
Constant detail
CLIPPING_UPDATEDconstant
public static const CLIPPING_UPDATED:String = "clippingUpdated"

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

SCREEN_UPDATEDconstant 
public static const SCREEN_UPDATED:String = "screenUpdated"

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

Wiki link
Click to go to the wiki page for 'away3d.events.ClippingEvent'

Code examples

Comments