Packageaway3d.events
Classpublic class SessionEvent
InheritanceSessionEvent Inheritance flash.events.Event

Passed as a parameter when a session event occurs

Public Properties
 PropertyDefined by
  session : AbstractSession
A reference to the session object that is relevant to the event.
SessionEvent
Public Methods
 MethodDefined by
  
SessionEvent
(type:String, session:AbstractSession)
Creates a new SessionEvent object.
SessionEvent
  
clone():Event
Creates a copy of the SessionEvent object and sets the value of each property to match that of the original.
SessionEvent
Public Constants
 ConstantDefined by
  DRAW_COMPLETE : String = "drawComplete"
[static] Defines the value of the type property of a drawComplete event object.
SessionEvent
  SESSION_UPDATED : String = "sessionUpdated"
[static] Defines the value of the type property of a sessionUpdated event object.
SessionEvent
Property detail
sessionproperty
public var session:AbstractSession

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

Constructor detail
SessionEvent()constructor
public function SessionEvent(type:String, session:AbstractSession)Parameters
type:String — The type of the event. Possible values are: SessionEvent.SESSION_UPDATED and SessionEvent.DRAW_COMPLETE.
 
session:AbstractSession — A reference to the session object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

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

Returns
Event
Constant detail
DRAW_COMPLETEconstant
public static const DRAW_COMPLETE:String = "drawComplete"

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

SESSION_UPDATEDconstant 
public static const SESSION_UPDATED:String = "sessionUpdated"

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

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

Code examples

Comments