Question

I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this.

Was it helpful?

Solution

Figuring out how a framework works or a complete library shouldn't be less work than uses the provided flash classes.

Everything you might need is build into flash, except a JSON library which can be found here.

Take a look at the URLRequest and the URLLoader class in the actionscript 3 reference.

OTHER TIPS

You can use URLRequest, and set its method to URLRequestMethod.POST. For setting request parameters use URLvariables.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top