I'm still trying to get this loadvariables thing happening..
I CAN get it to work, but the variables don't appear until the second or third click..
I'm assuming that they take a while to load from the login.php file and the line
status = auth; (see below)
executes before they have arrived.
Is there a way of overcoming this?
thanks. dan (code is below)
in flash I've got a dynamic text field named "status"
heres my action script for a button
on (release) {
loadVariablesNum ("login.php", 0);
status = auth;
}
heres the login.php contents
<?
$var="logged in";
echo "auth=".$var;
?>