Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Variables in scenes


termostatman
2/22/2004 10:11:10 PM
dk_says_hey
2/22/2004 10:33:15 PM
make your variables global:

_global.myVar = 5;

Jeckyl
2/23/2004 9:28:27 AM
variables in a scene are available in all scenes. They are at the _root
level.

Jeckyl
2/23/2004 9:44:18 AM
[quoted text, click to view]

NOTE: the variable is then also available then in all movie clips and loaded
movies and .. well .. globally.

If you only want it in scenes, just use a variable at the scene level and it
will be available in all other scenes of that movie .. no need to do
anything special at all.

AddThis Social Bookmark Button