So I am trying to load variables from a .php file into a movie clip and then
plug in those variables to various fields and for some reason its not
working...so heres whats going on...(this is for the staff page for my church)
(and yes I have read the tutorials :P )
In the primary timeline we have this line...
loadVariables("./middleware/staff.php?id=" + staffID, staff_panel, "GET");
We are loading the variables into the movie clip which contains our various
fields...the value for staffID is created in the previous frame when the user
click on that person's icon, we know for sure that this is being passed
correctly to this frame, because I have a text box in the main timeline which
displays the number.
The resulting string from the .php file looks like this...
staffNameE=Jason+Webb&staffTitleE=Lead+Pastor&staffDescE=Jason's+bio+goes+here..
..&picLoader=./images/staff_pics/jwebb.jpg&staffEmail=webmaster@brooklife.org
Within the movie clip that the variables are being loaded into we have
this....it loops till the var load is done and then writes the information to
the fields...
while (L ne "stop"){
if (staffNameE ne ""){
staffName = staffNameE;
staffTitle = staffTitleE;
staffDesc.text = staffDescE;
staffPhoto.load(picLoader);
L = "stop";
}
}
So lol what am I doing wrong, it all seems right to me but I am kind of new at
the flash thing...thanks for the help. :)