Hi All,
I’m going crazy right now because I have a line of code thats not working in one place in my flash, that’s working everywhere else in the flash:
this is what i’m using to load a variable from a cookie:
ActionScript Code:
[LEFT][FONT=Courier New]
[/FONT]
[FONT=Courier New]_root.[COLOR=#0000ff]loadVariables[/COLOR][COLOR=#000000]("[/COLOR]<A href="http://www.bagbuilder.net/getsession.php?var="+Math.floor(Math.random()*1000000">http://www.bagbuilder.net/getsession.php?var="+Math.floor(Math.random()*1000000">[COLOR=#808080]*http://www.bagbuilder.net/getsession.php?var="+Math.floor(Math.random()*1000000), "GET");*[/COLOR][/FONT]
[FONT=Courier New]
[/FONT][/LEFT]
this is the output of the file “getsession.php”
sessionid=12345
i’m trying to call this variable using:
ActionScript Code:
[LEFT][FONT=Courier New]
[/FONT]
[FONT=Courier New]var sessionid = [COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sessionid[/COLOR];[/FONT]
[FONT=Courier New]
[/FONT][/LEFT]
I’m using this code everywhere on the site for different variables i’m pulling in. This is the only time it won’t work. I’m really stumped. Anyone have any ideas? I’ve tried loadVariablesNum and LoadVars. Nothin…
Thanks,
Mat