Packageimpression.events
Classpublic class StoryboardEvent
InheritanceStoryboardEvent Inheritance flash.events.Event
Subclasses CheckForCompleteEvent, CueEvent, LessonMapControllerEvent, LocationChangeRequestEvent, LocationStatusRequestEvent, MatchingEvaluateEvent, MatchingSelectionEvent, MultipleChoiceEvent, MultipleSelectEvent, RemediationRequestEvent, ResolveLocationRequestEvent, SequencerStatusEvent, SimulationPlayerErrorEvent, VideoStatusEvent

An object dispatches a StoryboardEvent object when a storyboard-related event occurs.



Public Properties
 PropertyDefined By
  sb : Storyboard
[read-only] The Storyboard object assigned to the target.
StoryboardEvent
Public Methods
 MethodDefined By
  
StoryboardEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null)
Creates a new instance of a StoryboardEvent object.
StoryboardEvent
  
clone():Event
[override] Creates a copy of a StoryboardEvent object and sets the value of each property to match that of the original.
StoryboardEvent
  
toString():String
[override] Returns a string containing all the properties of the StoryboardEvent object.
StoryboardEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = complete
[static] The StoryboardEvent.COMPLETE constant defines the value of the type property of a complete event object.
StoryboardEvent
  CONTENT_LOAD_BEGIN : String = contentLoadBegin
[static] The StoryboardEvent.CONTENT_LOAD_BEGIN constant defines the value of the type property of a content load begin event object.
StoryboardEvent
  CONTENT_LOAD_END : String = contentLoadEnd
[static] The StoryboardEvent.CONTENT_LOAD_END constant defines the value of the type property of a content load end event object.
StoryboardEvent
  INITIALIZE : String = initialize
[static] The StoryboardEvent.INITIALIZE constant defines the value of the type property of a initialize event object.
StoryboardEvent
  LOAD_COMPLETE : String = loadComplete
[static] The StoryboardEvent.LOAD_COMPLETE constant defines the value of the type property of a load event object.
StoryboardEvent
  LOAD_START : String = loadStart
[static] The StoryboardEvent.LOAD_START constant defines the value of the type property of an load start event object.
StoryboardEvent
  UNLOAD : String = unload
[static] The StoryboardEvent.UNLOAD constant defines the value of the type property of an unload event object.
StoryboardEvent
Property Detail
sbproperty
sb:Storyboard  [read-only]

The Storyboard object assigned to the target.


Implementation
    public function get sb():Storyboard
Constructor Detail
StoryboardEvent()Constructor
public function StoryboardEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null)

Creates a new instance of a StoryboardEvent object.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property. There is only one type of matching evaluate event: MatchingEvaluateEvent.EVALUATE.
 
bubbles:Boolean (default = false) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
 
cancelable:Boolean (default = false) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
 
sb:Storyboard (default = null) — The Storyboard object assigned to the target. Event listeners can access this information through the sb property.
Method Detail
clone()method
override public function clone():Event

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

Returns
Event — A new StoryboardEvent object with property values that match those of the original.
toString()method 
override public function toString():String

Returns a string containing all the properties of the StoryboardEvent object. The string is in the following format:

[StoryboardEvent type=value bubbles=value cancelable=value eventPhase=value sb=value]

Returns
String — A string containing all the properties of the StoryboardEvent object.
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = complete

The StoryboardEvent.COMPLETE constant defines the value of the type property of a complete event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

CONTENT_LOAD_BEGINConstant 
public static const CONTENT_LOAD_BEGIN:String = contentLoadBegin

The StoryboardEvent.CONTENT_LOAD_BEGIN constant defines the value of the type property of a content load begin event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

CONTENT_LOAD_ENDConstant 
public static const CONTENT_LOAD_END:String = contentLoadEnd

The StoryboardEvent.CONTENT_LOAD_END constant defines the value of the type property of a content load end event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

INITIALIZEConstant 
public static const INITIALIZE:String = initialize

The StoryboardEvent.INITIALIZE constant defines the value of the type property of a initialize event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

LOAD_COMPLETEConstant 
public static const LOAD_COMPLETE:String = loadComplete

The StoryboardEvent.LOAD_COMPLETE constant defines the value of the type property of a load event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

LOAD_STARTConstant 
public static const LOAD_START:String = loadStart

The StoryboardEvent.LOAD_START constant defines the value of the type property of an load start event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelabletrue; canceling this event object stops the load operation.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.

UNLOADConstant 
public static const UNLOAD:String = unload

The StoryboardEvent.UNLOAD constant defines the value of the type property of an unload event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelabletrue; canceling this event object stops the unload operation.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.