HttpPost using Flash 8
April 20, 2006 3:40 AM
Subscribe
I wondered if someone could point me in the right direction on a problem I'm having http-posting from Macromedia Flash 8.
I'm trying to get Flash to post a 6000+ character string to a named website. I can't seem to make it work. Firstly, the loadvars function just doesn't seem to do anything. Secondly, I've no idea how to debug it to work out what (if anything) the error is. I suspect the problem is something to do with security rights, but other than that I'm completely stuck.
[
Source,
Example,
Picture of Source Code]
Why won't loadvars work? How do I debug this? What should the ASP be like that reads the information from the Flash?
posted by seanyboy to computers & internet (4 comments total)
Note that you'll need a SECOND loadvars variable to RECEIVE the data coming back from the asp script. You tell sendAndLoad about this variable, and the onLoad handler should run off of THIS variable, not the variable you're using to send data.
send_lv.sendAndLoad(url, result_lv, "POST");
posted by grumblebee at 4:35 AM on April 20, 2006