macromedia.flash.actionscript
[Top] [All Lists]

loadVars

Subject: loadVars
From: "efh8" <webforumsuser@xxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2008 17:34:21 +0000 (UTC)
Newsgroups: macromedia.flash.actionscript

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);


<Prev in Thread] Current Thread [Next in Thread>