![]() ![]() |
|
The CS Transition can be addressed programmatically (through scripting) if you like. This extension exposes the following parameters:
| Property Name | Default Value |
Description |
|---|---|---|
| version | 1.0.0 |
Current version of the extension. |
| stateIndex | State index number to set | |
| stateChgTrigger | "click" |
String indicating whether the state trigger is time, button (movie clip) press, or keystroke. Possible values are time, click, or key. |
| stateChgKey | If stateChgTrigger is key (keystroke), this variable gives the specific key used to trigger the state change. | |
| waitPresses | -1 |
How many times one has to press a key or button to invoke this state change. -1 means invoke the change every time the key or button is pressed. |
| stateChgButton | "" |
The instance name of the button or movie clip you want to use to trigger the state change, when the button is pressed. This is not used if the trigger is a keystroke. |
| IDString | This is the message shown in the box on the Stage during authoring. If the value is blank, the system puts the message "State Change <State: <state number> >". | |
| resetToState | false |
If true, change the state to the state specified (stateIndex) when this extension loads. This is used to initialize the state to a predictable value before starting a simulation. |
The extension exposes the following methods:
![]() ![]() |
|