| | | efh8 |  |
| Posted: Thu Aug 28, 2008 5:34 pm Post subject: loadVars |  |
I am having a weird "Page not found" error occur when using loadVars. I have an avatar where you can change differt features on the face. The error happens when I try to save an update to the avatar. This is a random error, it does not happen every time I try to save. The only way I can get it to come up on some what of a consistent bases is by waiting a minute before trying to save. The features are passing back and forth by a query string to an ASP page. The query string is over 1700 characters long. Below is the code I am using for the save:
var saveavatarData:LoadVars = new LoadVars();
saveavatarData.onLoad = function(success:Boolean) { if (success) { testtext.text = "Success = "+savedString; } else { testtext.text = "Error loading/parsing LoadVars."; } }; saveavatarData.load("SaveAvatarVars.asp?id=" +UserID+"&"+savedString); |
|