Chapter 16. Cookies

We have established a reliable data link between client and server: A data structure is composed on the client and transmitted to the server. On the server, PHP parses the data structure and responds to its contents by sending back an XML object to the receptive Flash client.

What is missing is depth: Flash creates the XML string from hardcoded fragments in an inflexible manner. It uses the XML response not really as data but as a trophy of successful communication, displayed as a string, not interpreted as data.

In this chapter we fill out the picture by demonstrating a little intelligent use of the XML by Flash, as well as honest generation of an XML structure. Along the way we learn to set and read cookies.

Flash and XML[c] A Developer[ap]s Guide
Flash and XML[c] A Developer[ap]s Guide
ISBN: 201729202
Year: 2005
Pages: 160 © 2008-2017.
If you may any questions please contact us: