Friday, May 30, 2008

_global variable

Hi,
This is most known function to any one use flash action script.
If you want to store a value for the entire website then we can use the _global variable where it can holed any type of data.

we can assign a value with the prefix _global.
where this will create a variable for the whole flash so that you can use this value where ever you want after declare or assign a value.

syntax :
_global.variablename ="";

eg:
_global.
variablename ="This is a global variable.";

Thank you,
catch you soon...

No comments: