I am using an XML file to hold login credentials for a site. I added an administrative section to the flash file so that I can see the current users, and add or remove users without manually editting the XML file. I can add and remove users just fine, but the list of current users displayed in the admin screen does not update.
It works fine locally, but when I run it from the server, the onLoad never fires. Could it be something permissions related? I mean, I can execute the PHP and write to the XML just fine, so why wouldn't it pull the info back into Flash?
So, after a week of messing around, I never got sendAndLoad working correctly. Tired and badly beaten, I created a workaround.
I still use the sendAndLoad to send the updated XML to the PHP. After sending, I set a "reset" variable to true and use an Interval to call my original load function (at the login screen) after one second. After reloading the updated XML, it knows to go back to the administration screen (checks to see if the reset variable is true).
Anyways, not the way I WANT it to work. I've tried everything with file permissions on the server. Others have had great success with sendAndLoad and PHP, so who knows what the problem is. At least it's working.