04-22-2012 03:15 AM
I'm developing an application using AIR and as3. Trying to POST values from as3 qnx text fields to my server via something equivalent to HTTP post. Basically this is going to be part of my functionality where users can gather data and save it to their account online.
What library/class can I use for posting text content from my form? The data being sent should be encoded as json or key value pairs.
Any sample code would help.
04-22-2012 04:25 PM
Thank you that worked. I also found these resources helpful for anyone interested:
04-23-2012 05:24 AM
don't forget to look out for security issues (security sandbox, crossdomain.xml and such). I just spent a few hours fixing that because I programmed on the weekend, deployed yesterday and saw it wasn't working today (private project, no company project, so it only matters for me )
Adobe Flash Builder for example deactivates all security sandbox settings per default for all folders/files inside your project folders. FlashDevelop does it the other way around, only allowing that for you bin-debug folder (i think).