next up previous contents
Next: getVariable Up: Methods Previous: loadMovie   Contents


setVariable

Description

Sets the value of the specified variable.


Syntax

FlashPlayer.setVariable(name, value)


Parameters

name
Specifies the name of the variable
value
Specifies the value to set.


Example

FlashPlayer.setVariable("_root.var0", "myvalue");


Returns

Nothing




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.