Skip to content


January 3, 2008

Things to learn:

1. Using Drag and Drop Manager
2. Using View Stack to create the stack.
2. Using HttpService to send and recv data from servlets.

Some notes::::

Flash Remoting was introduced as a way to provide binary communication between the Flash client and the server. Flash Remoting is based on an open protocol called Action Message Format (AMF) that enables you to communicate with a variety of server technologies including Java, PHP, and ColdFusion.

When you call the HTTPService object’s send() method, it makes an HTTP or HTTPS, GET or POST request to the specified URL, and an HTTP response is returned. When the last byte of data has been received by the client, a result event is broadcast, and the data is accessible. This is powerful because you can manipulate the data before you start using it. The results of the call are stored in the lastResult property of the HTTPService object and in the result property of the event object created from the ResultEvent class. If you do not specify a resultFormat, Flex will automatically parse the XML data to represent appropriate base ActionScript types.

Flex application into a website, you typically embed the SWF file in an HTML, JSP, Adobe® ColdFusion®, or other type of web page. The page that embeds the SWF file is known as the wrapper.

A wrapper consists of an <object> tag and an <embed> tag that format the SWF file on the page, define data object locations, and pass run-time variables to the SWF file. In addition, the wrapper can include support for history management and Flash Player version detection and deployment.

When you compile an application with Flex Builder, it automatically creates a wrapper file for you in the bin directory associated with the Flex Builder project. You can copy the contents of the wrapper file into your HTML pages to reference the SWF file.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: