Package | impression.events |
Class | public class MatchingSelectionEvent |
Inheritance | MatchingSelectionEvent ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
questionIndex : Number [read-only]
The index of the selected question. | MatchingSelectionEvent | ||
responseIndex : Number [read-only]
The index of the selected response. | MatchingSelectionEvent | ||
![]() | sb : Storyboard [read-only]
The Storyboard object assigned to the target. | StoryboardEvent | |
selectionsComplete : Boolean [read-only]
Indicates whether or not all valid questions have a selected response. | MatchingSelectionEvent |
Method | Defined By | ||
---|---|---|---|
MatchingSelectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, questionIndex:Number = -1, responseIndex:Number = -1, selectionsComplete:Boolean = false)
Creates a new instance of a MatchingSelectionEvent object. | MatchingSelectionEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | MatchingSelectionEvent | ||
toString():String [override]
Returns a string containing all the properties of the MatchingSelectionEvent object. | MatchingSelectionEvent |
Constant | Defined 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 | |
SELECTION_CHANGE : String = matchingSelectionChange [static]
The MatchingSelectionEvent.SELECTION_CHANGE constant defines the value of the
type property of a matching selection event object. | MatchingSelectionEvent | ||
![]() | UNLOAD : String = unload [static]
The StoryboardEvent.UNLOAD constant defines the value of the
type property of an unload event object. | StoryboardEvent |
questionIndex | property |
questionIndex:Number
[read-only] The index of the selected question.
public function get questionIndex():Number
responseIndex | property |
responseIndex:Number
[read-only] The index of the selected response.
public function get responseIndex():Number
selectionsComplete | property |
selectionsComplete:Boolean
[read-only] Indicates whether or not all valid questions have a selected response.
public function get selectionsComplete():Boolean
MatchingSelectionEvent | () | Constructor |
public function MatchingSelectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, questionIndex:Number = -1, responseIndex:Number = -1, selectionsComplete:Boolean = false)
Creates a new instance of a MatchingSelectionEvent object.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
| |
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 inherited sb property.
| |
questionIndex:Number (default = -1 ) — The index of the selected question. Event listeners can access this information through the questionIndex property.
| |
responseIndex:Number (default = -1 ) — The index of the selected response. Event listeners can access this information through the responseIndex property.
| |
selectionsComplete:Boolean (default = false ) — Indicates whether or not all valid questions have a selected response. Event listeners can access this information through the selectionsComplete property.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new MatchingSelectionEvent object that is a copy of the original instance of the MatchingSelectionEvent object.
You do not normally call clone()
; the EventDispatcher class calls it automatically when you redispatch
an event--that is, when you call dispatchEvent(event)
from a handler that is handling event
.
Event — A new MatchingSelectionEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the MatchingSelectionEvent object. The string is in the following format:
[MatchingSelectionEvent type=value bubbles=value cancelable=value eventPhase=value sb=value questionIndex=value responseIndex=value selectionsComplete=value]
String — A string containing all the properties of the MatchingSelectionEvent object.
|
SELECTION_CHANGE | Constant |
public static const SELECTION_CHANGE:String = matchingSelectionChange
The MatchingSelectionEvent.SELECTION_CHANGE constant defines the value of the type property of a matching selection event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
sb | The Storyboard object assigned to the target. |
questionIndex | The index of the selected question. |
responseIndex | The index of the selected response. |
selectionsComplete | Indicates whether or not all valid questions have a selected response. |