Hi all,
I have an admin section that has two different access levels, which I built before the portal. Basically the portal attaches the appropriate admin swf to an empty MC on frame 2 if your login info checks out.
I use the LoadVars() class to obtain a string which I then split a couple times to make it into a multi dimensional array. Basically My question is, is the scope supposed to change if you use the LoadVars() class? Shouldn’t it just put the variables in the scope of the variable your using for the LoadVars Example:
this.myVars = new LoadVars();
this.myVars.onLoad = function(){
trace(this.myLoadedVar);
}
this.myVars.load(“vars.php”);
“vars.php” PHP Code:
<?
echo “myLoadedVar=Hello Earth”;
?>
So shouldn’t that trace even if it is loaded into an empty movie clip on a different timeline?
Thanks for any help