MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 655

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

The server-side script that passes information between Flash and the database reads and writes
the data in XML format. You can use ActionScript to convert information collected in the
SWF file (for example, a user name and password) to an XML object and then send the data
to the server-side script as an XML document. You can also use ActionScript to load the XML
document that the server returns into an XML object to be used in the SWF file.
The flow and conversion of data between a SWF file, a server-side script, and a database
The password validation for the brokerage system requires two scripts: a function defined on
Frame 1, and a script that creates and then sends the XML objects created in the document.
When a user enters information into text fields in the SWF file with the variables
username
and
, the variables must be converted to XML before being passed to the server. The
password
first section of the script loads the variables into a newly created XML object called
.
loginXML
When a user clicks a button to log in, the
object is converted to a string of XML
loginXML
and sent to the server.
About XML
655

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents