7XML Server-Side
Introduction
The XML class has methods to send XML data to a server. There are a number of applications, which, however, we are not dealing with in this book. One of the applications is how to create an XML socket connection, which is useful for chat rooms. We will discuss two applications for how to send XML data to a PHP script on the server, where the data is analyzed and XML is sent back to the Flash movie. The first application is a mortgage ad, in which the user can send a request to ask for a quote. The second application is a contact form. We will discuss mainly the mortgage ad in more detail, since the contact form is very similar. The main method that we use is the xmlsendAndLoad method. It would be advantageous for ...
Get Flash XML Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.