lilg
07-08-2005, 08:47 PM
Hi, i was wondering if someone could help me, i think its quite simple but im not sure how to do it here is my question:
i have a variable in a php file (vars.php) the variable is $site_enabled = "YES"; basically i have a button in my intro that goes to a diffrent directory (i.e /forums) if i am correct i want to use loadVars function in actionscript, On the press,release control i want to have something on the lines of:
If $site_enabled = YES geturl /forums else do nothing.
if i denfine $site_enabled = "NO";
then the button will do nothing and and you will not be directed to the forums, i would highly be grateful if i could get this to work...
Many thanks beforehand
Gareth
i have a variable in a php file (vars.php) the variable is $site_enabled = "YES"; basically i have a button in my intro that goes to a diffrent directory (i.e /forums) if i am correct i want to use loadVars function in actionscript, On the press,release control i want to have something on the lines of:
If $site_enabled = YES geturl /forums else do nothing.
if i denfine $site_enabled = "NO";
then the button will do nothing and and you will not be directed to the forums, i would highly be grateful if i could get this to work...
Many thanks beforehand
Gareth