4.1 Installing the Flash/Flex API
In order to talk to SmartFoxServer from Flash you will need
to install the
SmartFoxServer Client API.
The API add new classes to your Flash / Flex environment that you can use to easily interface with Server, send requests and handle events.
After you have installed your copy of SmartFoxServer you will find a "Flash API" folder in the main SFS directory. The folder contains two different packages that can be easily installed, based on which version of Flash / Flex you're using.
SmartFoxClient_AS2.mxp | Extension for Flash MX 2004 / FLash 8 (AS 2.0) |
SmartFoxClient_AS3.swc | SWC library for Flash CS3 / Flex Builder 2 |
» Installing under Flash MX 2004 / Flash 8
Double click the .mxp file, the Adobe Extension Manager should open: follow the simple instructions on screen and restart Flash in order to use the newly installed extension.
Check this url If you need to upgrade your Extension
Manager.
» Installing under Flex Builder 2
All you need to do is adding the provided SWC to the build path of your new Flex project:
doc index |