Flash Object - Get Variable

Gets the current value of a Flash variable and stores it in an AutoPlay variable.

Action ID:
Action Category:
Action List Syntax:

40
Flash Object
<<VARIABLE>>
= FlashObject[<<OBJECTNAME>>].GetVariable (<<FLASHVARIABLE>>)

Settings

Variable name:

The name of the AutoPlay variable that you want to store the value of the Flash variable in. (The current value of the Flash variable will be copied into this AutoPlay variable.)

Flash Object:

The name of the Flash Object that contains the Flash variable you're interested in.

Flash variable name:

The name of the Flash variable contained within the Flash Object.

 IMPORTANT 

 

 

 

!

When getting the value of a Flash variable, AutoPlay assumes that the variable has been properly initialized in the Flash movie's actionscript code. If the variable hasn't been initialized in the actionscript code, an error will be generated.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_GET_VARIABLE_FLASH

MSG_ERR_GET_VARIABLE_FLASH
MSG_ERR_OBJECT_NOT_FOUND
<<OBJECTNAME>>

Examples

None