Foundation Xml for Flash

by
Format: Paperback
Pub. Date: 2005-10-10
Publisher(s): Springer-Verlag New York Inc
List Price: $41.99

Buy New

Usually Ships in 2-3 Business Days.
$39.99

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:30 Days access
Downloadable:30 Days
$14.40
Online:60 Days access
Downloadable:60 Days
$19.20
Online:90 Days access
Downloadable:90 Days
$24.00
Online:120 Days access
Downloadable:120 Days
$28.80
Online:180 Days access
Downloadable:180 Days
$31.20
Online:1825 Days access
Downloadable:Lifetime Access
$47.99
*To support the delivery of the digital material to you, a non-refundable digital delivery fee of $3.99 will be charged on each digital item.
$31.20*

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

XML is a completely platform agnostic data medium. Flash is able to make use of XML data, which is very useful when you are creating Rich Internet Applications e- it allows you to populate Flash web interfaces with data from pretty much any source that supports XML as a data medium, be it databases, raw XML files, or more excitingly, .Net applications, web services, and even Microsoft Office applications such as Excel and Word!In this book, Sas Jacobs first introduces XML itselfwhat it is, its syntax, its associated technologies (such as CSS and XSLT,) and how to get XML out of your applications in a format Flash can use.Then she shows how to use the XML object to stream XML data into Flash, and how to use the XMLConnector component and XML Sockets to build advanced Flash/XML applications. Numerous example applications are built throughout the book, including an MP3 player, XML photo gallery, an Excel-driven web catalog, Access and Word-driven content management systems, and an XML-driven chat application.

Table of Contents

Foreword xvii
About the Author xix
About the Technical Reviewer xx
About the Cover Image xxi
Acknowledgments xxii
Introduction xxiii
Flash and XML
1(18)
Flash
2(1)
XML
3(1)
Multimedia capabilities
4(1)
Visualizing complex information
5(2)
Simplifying the display of information
7(5)
Displaying content from Office 2003 for PCs
7(2)
Displaying content from a web service
9(1)
Accessing your computer
10(2)
Separating content and presentation
12(3)
Specific applications for Flash
15(2)
Flash as a learning tool
15(2)
Creating Flash applications with Flex
17(1)
Summary
17(2)
Introduction to XML
19(38)
What is XML?
20(2)
How did XML start?
21(1)
Goals of XML
22(1)
Creating XML documents
22(6)
Elements
23(1)
Attributes
24(2)
Text
26(1)
Entities
26(1)
Comments
27(1)
CDATA
28(1)
An example
28(1)
XML document parts
28(4)
Document prolog
28(1)
XML declaration
29(1)
Processing instructions
29(1)
Document Type Definitions
30(1)
Tree
30(1)
Document root
30(1)
White space
30(1)
Namespaces
31(1)
A simple XML document
32(2)
Requirements for well-formed documents
34(5)
Element structure
35(1)
Elements must be closed
36(1)
Elements must nest correctly
36(1)
Use quotes for attributes
37(1)
Documents that aren't well formed
37(1)
Well-formed XHTML documents
38(1)
Working with XML documents
39(4)
Generating XML content
39(1)
Using XML information
40(3)
XML, HTML, and XHTML
43(3)
Why XML?
46(4)
Simple
47(1)
Flexible
47(1)
Descriptive
47(1)
Accessible
48(1)
Independent
48(1)
Precise
49(1)
Free
49(1)
What can you do with XML?
50(4)
Storing and sharing information
50(2)
Querying and consuming web services
52(1)
Describing configuration settings
52(1)
Interacting with databases
53(1)
Interacting with Office 2003 documents
53(1)
Why is XML important to web developers?
54(1)
Summary
55(2)
XML Documents
57(68)
Creating XML content
57(34)
Using a text editor
58(1)
XML editors
59(5)
Server-side files
64(2)
Office 2003/2004
66(1)
Word 2003
67(6)
Excel
73(7)
Access
80(6)
InfoPath
86(1)
Office 2003 and data structure
86(1)
Consuming a web service
86(1)
Using web services to interact with Amazon
87(4)
Transforming XML content
91(11)
CSS
91(3)
XSL
94(1)
XPath
94(1)
XSLT
95(1)
Transforming content
96(2)
Sorting content
98(1)
Filtering content
99(1)
Conditional content
99(1)
An example
99(2)
Other methods of applying transformations
101(1)
Determining valid XML
102(14)
Comparing DTDs and schemas
102(1)
Document Type Definitions
103(1)
Elements
104(2)
Attributes
106(1)
Entities
107(1)
A sample DTD
108(1)
XML schemas
109(1)
Simple types
110(1)
Complex types
111(2)
Ordering child elements
113(1)
Element occurrences
113(1)
Creating undefined content
114(1)
Annotations
114(1)
Including a schema
114(1)
An example
115(1)
XML documents and Flash
116(6)
Creating an XML document
116(4)
Creating a schema
120(1)
Linking the schema with an XML document
121(1)
Summary
122(3)
Using the XML Class
125(92)
Loading an XML document into Flash
126(10)
Using the load method
126(1)
Understanding the order of the code
127(1)
Understanding the onLoad function
128(1)
Testing if a document has been loaded
129(1)
Locating errors in an XML file
130(4)
Testing for percent loaded
134(2)
Navigating an XML object
136(16)
Mapping an XML document tree
137(2)
Understanding node types
139(2)
Creating node shortcuts
141(1)
Finding the root node
141(1)
Setting a root node variable
142(1)
Displaying the root node name
142(1)
Locating child nodes
143(1)
Working with specific child nodes
143(2)
Working with the childNodes collection
145(2)
Creating recursive functions
147(1)
Locating siblings
148(2)
Locating parent nodes
150(1)
Extracting information from attributes
150(2)
Putting it all together
152(23)
Loading dynamic XML documents
162(1)
Installing IIS
162(13)
Creating XML content within Flash
175(12)
Creating an XML string
176(2)
Creating XML using methods
178(1)
Creating new elements
178(2)
Creating new text nodes
180(2)
Creating attributes
182(1)
Adding an XML declaration
182(1)
Adding a DOCTYPE declaration
183(1)
Limits of XML methods
183(1)
Putting it all together
184(3)
Modifying XML content within Flash
187(10)
Changing existing values
188(1)
Changing a text node
188(1)
Changing an attribute value
189(1)
Changing a node name
190(1)
Duplicating an existing node
191(1)
Deleting existing content
192(2)
Putting it all together
194(3)
Sending XML content from Flash
197(11)
Using the send method
197(3)
Using the sendAndLoad method
200(2)
Adding custom HTTP headers
202(2)
Putting it all together
204(4)
Limits of the XML class in Flash
208(2)
No real-time interaction
208(1)
No validation
209(1)
Flash cannot update external XML documents
209(1)
Security restrictions
209(1)
Creating a cross-domain policy file
209(1)
Proxying external data
210(1)
Tips for working with XML in Flash
210(2)
XML file structure
211(1)
Use the XMLNode class
211(1)
Create XML with a string
211(1)
Validate your XML documents
211(1)
Use the right tool for your dynamic content
212(1)
Summary of the properties, methods, and events of the XML class
212(3)
Summary
215(2)
Working with XML in Word 2003
217(40)
Why use Microsoft Office?
218(2)
Which Office packages can I use?
219(1)
Understanding data structures
219(1)
XML in Word 2003
220(35)
Opening an existing XML document
220(1)
Transforming the document view
221(3)
Dealing with errors
224(1)
Creating XML content with Save as
225(1)
Understanding WordprocessingML
226(1)
Structuring content within Word
227(1)
Working with the schema library
228(1)
Adding a schema to the library
229(1)
Adding a transformation to a schema
230(3)
Creating a new Word XML document
233(1)
Attaching a schema to a Word document
233(2)
Adding XML tags to the document
235(3)
Adding placeholders for empty XML tags
238(3)
Adding attributes
241(2)
Saving a structured XML document
243(2)
Saving transformed XML content
245(2)
Editing XML content in Word
247(3)
Putting it all together
250(5)
Summary
255(2)
Working with XML in Excel 2003
257(34)
Opening an existing XML document
258(14)
Opening as a list
258(3)
Dealing with errors
261(1)
Opening as a read-only workbook
262(1)
Opening with the XML Source pane
263(2)
Opening a document with a schema
265(1)
Opening a document with an attached style sheet
265(1)
Dealing with nonrepeating content
266(1)
Dealing with mixed content
267(1)
Dealing with complicated structures in a list
268(4)
Creating XML content with Save As
272(2)
Understanding SpreadsheetML
274(1)
Creating structured XML from an Excel document
275(9)
Creating an XML map in Excel
275(2)
Adding XML elements to Excel data
277(2)
Saving a structured XML document
279(5)
Editing XML content in Excel
284(1)
Using the List toolbar
284(1)
Putting it all together
285(4)
Summary
289(2)
Working with XML in Access 2003
291(34)
Exporting content as XML
292(16)
Exporting a table object
292(2)
Exporting a query
294(2)
Exporting a report
296(1)
Creating a schema from Access
296(2)
Creating a style sheet from Access
298(2)
Setting export options
300(1)
Exporting linked tables
300(3)
Applying a custom transformation
303(3)
Other export options
306(2)
Importing data from an external file
308(8)
Dealing with import errors
310(2)
Transforming content
312(2)
Using a style sheet to import attributes
314(2)
Putting it all together
316(6)
Access XML resources
322(1)
Summary
323(2)
Using the Data Components with XML
325(42)
Understanding data components
325(2)
Understanding the XMLConnector
327(1)
Displaying read-only XML data
327(1)
Displaying updatable XML data
328(1)
Configuring the XMLConnector
328(10)
Using the Component Inspector
329(1)
Creating a schema from an XML document
330(1)
Creating a schema by adding fields
331(1)
Understanding schema settings
332(2)
Triggering the component
334(2)
Testing for a loaded XML document
336(1)
Loading an XML document into Flash
336(2)
Binding XML data directly to UI components
338(6)
Adding a binding
338(1)
Configuring the binding
339(5)
Using the DataSet component
344(4)
Binding to a DataSet component
345(1)
Adding an XUpdateResolver component
346(2)
Putting it all together
348(6)
The XMLConnector class
354(9)
Setting the XMLConnector properties
355(1)
Displaying the results
355(1)
Working with the XML class
356(1)
Binding the results to components with ActionScript
357(1)
Including the DataBindingClasses component
357(1)
Creating EndPoints
358(1)
Creating the binding
358(5)
Summary of the properties, methods, and events of the XMLConnector class
363(2)
Summary
365(2)
Consuming Web Services with Flash
367(44)
Consuming REST web services
369(6)
Using REST in Flash
370(1)
Creating a proxy file
370(1)
Understanding an ASP.NET proxy file
370(1)
Consuming the XML content
371(4)
Consuming an RSS feed
375(5)
Using the WebServiceConnector with SOAP web services
380(24)
Using SOAP in Flash
380(1)
Using the WebServiceConnector
380(1)
Configuring the WebServiceConnector
381(1)
Binding the params
382(2)
Triggering the web services call
384(2)
Binding the results
386(1)
Viewing the Web Services panel
387(4)
Working with XML content from the WebServiceConnector
391(7)
The WebServiceConnector class
398(1)
Setting the WebServiceConnector properties
398(1)
Sending data to the web service
399(1)
Displaying the results
399(4)
Summary of the properties, methods, and events of the WebServiceConnector class
403(1)
The Web Service classes
404(5)
Creating a WebService object
404(1)
Viewing the raw XML content
405(1)
Logging the details
405(4)
Summary
409(2)
Using the XMLSocket Class
411(16)
Socket server considerations
412(1)
What socket servers are available?
412(1)
Installing the Unity 2 socket server
413(3)
Downloading the trial version of Unity 2
413(1)
Unpacking the unity files
414(1)
Configuring the server
414(1)
Starting the server
415(1)
Using the XMLSocket class
416(8)
Creating an XMLSocket connection
417(2)
Sending data
419(1)
Responding to data
420(1)
Closing the connection
420(4)
Summary of the methods and event handlers of the XMLSocket class
424(1)
Summary
425(2)
Which XML Option Is Best for Me?
427(12)
Is XML the best choice?
428(4)
Is response speed an issue?
428(1)
Where is the data stored?
429(1)
XML document
429(1)
Database
429(1)
Other software package
430(1)
Office 2003 document
430(1)
How will the data be maintained?
430(1)
Do you need server-side interaction?
430(1)
Making the decision
431(1)
How should you include the XML content in Flash?
432(4)
Using the XML class
432(1)
Using data components
432(1)
Using the XMLConnector, WebServiceConnector, and Web Service classes
432(1)
Using the XMLSocket class
433(1)
Making the decision
433(1)
Do you need real-time interaction?
433(1)
Is the information time sensitive?
433(1)
Which version of Flash do you own?
434(1)
Which Flash players are you targeting?
434(1)
Do you prefer to work visually?
434(1)
A decision diagram
434(2)
Summary
436(3)
Appendix: Useful Online Resources 439(6)
Index 445

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.