Macromedia Authorware - Flash Asset Xtra Command Reference: setVariable

setVariable
Syntax | `CallSprite``(@"Flash Icon", #setVariable,` variableName, value)
Type | Method
Description | This function sets the value of the given variable in the Flash movie. The value must be a string.

Example

This statement sets the value of the currentURL variable in the Flash movie.

    CallSprite(@"Flash Icon", #setVariable, "currentURL", "http://www.macromedia.com")

Related Functions

`getVariable` property.