TwelvestoneFlash

Flash variable submission, UTF


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
X-DUD!!!11~~
 
2007-11-14

Yeah hi,

I have this Flash thingy that's submitting to another thingy, but the submission is such:

22233%22+isCorrect%3D%221%22+%2F%3E%3C%2Fquestion%3E%3Cquestion+id%3D%

Obviously I need it to be non-shitty.

I apologize for the extremely dumbed-down language but I'm starving. :P

persist
 
2007-11-15

I think you could try to use a post and just send the data unencoded.

Flash will send unicode as UTF-8 via POST.

maybe this is what you are asking?

X-DUD!!!11~~
 
2007-11-15

I was just using getURL and sending via POST.

When I send it to a test PHP file, it would display in my email program as proper XML code -- <> etc etc

When I sent it to the ASPX file, however, it was received as %this and %that.

None of the getURL, loadVars, etc commands seem to have any sort of UTF settings...

scudsucker
 
2007-11-15

Uh.. any reason you are not using the send() or sendAndLoad() method of the XML object rather that a getURL with a string?

XML from flash works nicely with ASPX

// stolen straight from Flash help var my_xml:XML = new XML("Ernie13045"); my_xml.contentType = "text/xml"; my_xml.send("http://www.flash-mx.com/mm/highscore.cfm", "_blank");

persist
 
2007-11-16

sounds like it might be a asp issue where you need to subvert the intercepting script from converting the values to unencoded format.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

Flash variable submission, UTF