Package | impression.events |
Class | public class MatchingEvaluateEvent |
Inheritance | MatchingEvaluateEvent ![]() ![]() |
evaluate()
method is successfully invoked.
Property | Defined By | ||
---|---|---|---|
correct : Boolean [read-only]
Indicates whether all valid question/answer pairs were correctly evaluated. | MatchingEvaluateEvent | ||
![]() | sb : Storyboard [read-only]
The Storyboard object assigned to the target. | StoryboardEvent | |
status : String [read-only]
Describes the status of the storyboard. | MatchingEvaluateEvent | ||
totalCorrect : Number [read-only]
Indicates the number of question/answer pairs evaluated as correct. | MatchingEvaluateEvent | ||
totalIncorrect : Number [read-only]
Indicates the number of question/answer pairs evaluated as incorrect. | MatchingEvaluateEvent |
Method | Defined By | ||
---|---|---|---|
MatchingEvaluateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, status:String, correct:Boolean = false, totalCorrect:Number = -1, totalIncorrect:Number = -1)
Creates a new instance of a MatchingEvaluateEvent object. | MatchingEvaluateEvent | ||
clone():Event [override]
Creates a copy of a MatchingEvaluateEvent object and sets the value of each property to match that of the original. | MatchingEvaluateEvent | ||
toString():String [override]
Returns a string containing all the properties of the MatchingEvaluateEvent object. | MatchingEvaluateEvent |
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 | |
EVALUATE : String = matchingEvaluate [static]
The MatchingEvaluateEvent.EVALUATE constant defines the value of the
type property of a matching evaluate event object. | MatchingEvaluateEvent | ||
![]() | 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 |
correct | property |
correct:Boolean
[read-only] Indicates whether all valid question/answer pairs were correctly evaluated.
public function get correct():Boolean
status | property |
status:String
[read-only]
Describes the status of the storyboard. When dispatched by the MatchingPlayer, this property will contain one of the QuestionStatusTypes
constant values.
public function get status():String
See also
totalCorrect | property |
totalCorrect:Number
[read-only] Indicates the number of question/answer pairs evaluated as correct.
public function get totalCorrect():Number
totalIncorrect | property |
totalIncorrect:Number
[read-only] Indicates the number of question/answer pairs evaluated as incorrect.
public function get totalIncorrect():Number
MatchingEvaluateEvent | () | Constructor |
public function MatchingEvaluateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, status:String, correct:Boolean = false, totalCorrect:Number = -1, totalIncorrect:Number = -1)
Creates a new instance of a MatchingEvaluateEvent object.
Parameterstype: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 inherited sb property.
| |
status:String — Describes the status of the storyboard. Event listeners can access this information through the status property.
| |
correct:Boolean (default = false ) — Indicates whether or not all question/answer pairs were correctly evaluated. Event listeners can access this information through the correct property.
| |
totalCorrect:Number (default = -1 ) — Indicates the number of question/answer pairs evaluated as correct. Event listeners can access this information through the totalCorrect property.
| |
totalIncorrect:Number (default = -1 ) — Indicates the number of question/answer pairs evaluated as incorrect. Event listeners can access this information through the totalIncorrect property.
|
clone | () | method |
override public function clone():Event
Creates a copy of a MatchingEvaluateEvent object and sets the value of each property to match that of the original.
ReturnsEvent — A new MatchingEvaluateEvent 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 MatchingEvaluateEvent object. The string is in the following format:
[MatchingEvaluateEvent type=value bubbles=value cancelable=value eventPhase=value sb=value status=value correct=value totalCorrect=value totalIncorrect=value]
String — A string containing all the properties of the MatchingEvaluateEvent object.
|
EVALUATE | Constant |
public static const EVALUATE:String = matchingEvaluate
The MatchingEvaluateEvent.EVALUATE constant defines the value of the type property of a matching evaluate 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. |
status | A QuestionStatusTypes enumeration describing the current status of the storyboard. |
correct | Indicates whether or not all question/answer pairs were correctly evaluated. |
totalCorrect | The number of valid questions evaluated as correct. |
totalIncorrect | The number of valid questions evaluated as incorrect. |
See also