All Downloads are FREE. Search and download functionalities are using the official Maven repository.

flash.README.txt Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
README for the Flash application. 

These instructions are given using the version 4.7 of Flash Builder. 

How to use the Flash client library:

The code which is given to you is to be considered as a Library. Therefore, in Flash Builder, you have to:
1. Create an ActionScript Library Project. (Warning: If you are dealing with Files as parameter, you need to include the Adobe AIR libraries)
2. Copy the src folder from the flash library to the project.
3. Copy the lib folder.
4. Copy the build.properties and build.xml. (You can update the paths in build.properties)
5. Right+Click on the project folder and go to Properties. Then go to the tab 'ActionScript Library Build Path' and add these two SWC: 'as3corelib.swc' and 'ASAXB-0.1.1.swc'. (They are located in the folder lib)
6. Create the Flash Application

How to use the Flash client library in an application:

Using the Flash client library (especially getting the response message from the server) is a bit tricky.

The response message is given through an EventDispatcher. Therefore, you have to create an EventDispatcher and listen to the endpoints that you're calling. Below, you will find a pseudo-code explaining how to do this.

After creating an application in java, you will have a mxml file. In this mxml file, you need to declare a Script (given below) after the Declarations.








© 2015 - 2024 Weber Informatics LLC | Privacy Policy