Ryan_
04-03-2005, 12:32 AM
Hi!! First i'd like to say that this comunity is really cool... :)
I'm starting to learn ActionScript and i have a question on global variables, this is the thing:
i create a movie clip and on frame 1 of that movie clip i write:
_global.country = "England";
then on the main timeline on frame 1 i write this:
trace(country);
and this returns Undefined!!!
is it allright? it should say England instead...
This question may seem very lame but i'm just starting!... please help me.
Ryan.
I'm starting to learn ActionScript and i have a question on global variables, this is the thing:
i create a movie clip and on frame 1 of that movie clip i write:
_global.country = "England";
then on the main timeline on frame 1 i write this:
trace(country);
and this returns Undefined!!!
is it allright? it should say England instead...
This question may seem very lame but i'm just starting!... please help me.
Ryan.