-
Help! Global Variables Undefined....
Hello all,
Im having a problem with global variables being recognized.
I have a file that has a couple global variables declared. This file loads in other movies using loadmovie function onto different levels (5 and 10). When I try to use or trace the global variables from these loaded in movies the globals are not being recognized. Any ideas? Thanks
code on control.fla (loads in other movies)
_global.keysFound = 0;
_global.bcFound = "no";
code on coupon.fla (loaded in on level 5)
trace(_global.keysFound);
if (_global.keysFound == 0)
{
coupon2._visible = true;
}
else
{
coupon2._visible = false;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|