Web Services in AIR (Flash CS3)

I have been banging my head against a wall for days. I am trying to get web services to work in an AIR app built with Flash CS3. My co-workers use a solution that works for Flash only http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash

But every time I tried to use it with an AIR app it would crash.

I then found http://manmachine-tech.blogspot.com/

but after days of frustration I found a critical bug:

In the WSProxy class there is a variable _busyOnCall = true; that gets set within callMethod()

and it gets set to false in onComplete()

but it NEVER GETS SET IN onFault

After that it’s all good. I hope this helps anyone in the same boat as myself.

2 thoughts on “Web Services in AIR (Flash CS3)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>