I am passing some variables from PHP into Flash using the following ActionScripting:
//load PHP variables
PHPvariables = new LoadVars();
PHPvariables.Load("variables.php");
username = PHPvariables.username;
I then want the variable 'username' to be displayed in a dynamic text field I've given the variable name "events". I used this ActionScript to do it:
//fill events text box
_root.events = username;
However, the dynamic text box is not displaying anything. Any ideas why?
//load PHP variables
PHPvariables = new LoadVars();
PHPvariables.Load("variables.php");
username = PHPvariables.username;
I then want the variable 'username' to be displayed in a dynamic text field I've given the variable name "events". I used this ActionScript to do it:
//fill events text box
_root.events = username;
However, the dynamic text box is not displaying anything. Any ideas why?