Skip to main content
June 8, 2007
Question

Web Services - whats the scoop?

  • June 8, 2007
  • 1 reply
  • 218 views
I've moved from Flash MX 2004 to Flash CS3 and I'm a bit confused on the web services support in Flash CS3. To me it looks like if I want to use web services as they were in MX 2004 I need to set my project to ActionScript 2.0 and use the older libraries/components - I'd really prefer to leave my project at ActionScript 3.0 though for numerous reasons that I won't get into here.

This page here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003698.html
- suggests that ActionScript 2.0 is where the web services support is at, in the older libraries. However when I look at some Flex examples:
http://blog.shrefler.net/?p=5
- I find out it's able to make web service calls, and correct me if I'm wrong but isn't Flex 2 by default set to ActionScript 3.0? Or is what's happening here that they their Flex project to ActionScript 2.0 to call the web service like in Flash? I don't use Flex 2 so I can't be sure.

I'd really like to know what the scoop is to call web services from a Flash project using ActionScript 3.0. I've ordered the ActionScript 3 Cookbook as well as pre-ordered Colin Moock's new ActionScript 3 book but they haven't arrived yet and I really need to get this figured out.

Thanks for any help.
This topic has been closed for replies.

1 reply

July 25, 2007
In doing some digging around I stumbled upon this:
http://www.actionscript.org/forums/archive/index.php3/t-139900.html

- basically the guy is saying you can use the Flex SDK and point the Flash CS3 classpath to it. I haven't tried it yet but if it works I'm wondering why then these classes from the Flex SDK weren't just packaged with Flash CS3 as well?