开发者

Using a Flex Library (RPC) in an ActionScript / Flash project?

I'm making a Flash application right now that is so far built entirely using ActionScript 3 (in Flash Builder) and (a little bit) in Flash Professional.

I need to use Web Services to handle certain things in the application, but there is no AS3 library for Web Services. There is, however, a Flex library for handling Web Services requests (mx.rpc.soap.mxml.WebService).

I'd like to know if it's possible to import this library into my AS3 code and use it in my Flash project. My project is not a Flex project, and I'm trying to avoid using Flex because I'm developing for the i开发者_JAVA百科Phone (using Packager for iPhone), and Flex is (generally) too resource intensive.

Thanks in advance!


Look at the classes available to you in the flash.net class path. These include LocalConnection, NetConnection, NetStream, SharedObject, Socket, XMLSocket, URLRequest, URLStream, and many others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜