Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

loadVars

 
Jump to:  
 
efh8
PostPosted: 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);
 

 
efh8
PostPosted: Fri Aug 29, 2008 1:01 pm    Post subject: Re: loadVars
       
There error was a results of a long query string. Passing the variables by forms solved the problem.
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Aktywne życie seized cars 360 stopniowy lider nieruchomosci Krakow Rihanna