[thelist] Flash LoadVars.send to asp

Ben Morrison ben.morrison at dogstardesign.co.uk
Wed Aug 13 10:44:10 CDT 2003


On 13/8/03 3:38 pm, "Christopher Joseph" <christopher at ideadesigners.com>
wrote:

> Hi List,
> 
> I am using Flash LoadVars.send() to http:GET to an asp server page. The
> asp server page posts an email with the results *but* anywhere a pound
> sign is show it is preceded with a rogue char e.g.
> 
> £25,000 to £35,000
> 
> the text for this string is taken from a flashUI combo box label as shown:
> 
> <code type="actionscript">
> 
> varSender = new LoadVars();
> 
> // assign the properties to the varSender object
> // ...these variables are sent to the server.
> varSender.Current_Income = dd7.getSelectedItem().label;
> 
> //Send variables to server and catch reply in new browser window.
> varSender.send(_level0.varsenderurl, "_self", "GET");
> }
> 
> The combo box labels do not show an errant char.....
> 
> </code>
> 
> Any thoughts on what is happening?
> 
> n.b. Am using GET becuase apparently windows flash player does not POST!

It may have something to do with URL-encoding.

See here:

http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm

Ben




More information about the thelist mailing list