Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
ActionScript 3.0 includes several classes that are used for working with XML structured information. The two main classes are listed here: XML and XMLList. XML represents a single XML element which can be an XML document with multiple children, or a single value element within a document. XMLList represents a set of XML elements. An XMLList object is used when there are multiple XML elements that are siblings. Those would be elements at the same level but contained by the same parent within the XML document's hierarchy. When working with XML in ActionScript you're likely to use it to complete these tasks: constructing XML documents by adding elements and values; accessing XML elements, values and attributes; filtering or searching XML elements; looping over a set of XML elements; converting data between XML classes and the String class in ActionScript; working with XML namespaces; and loading external XML files. In the examples that I provide here in this section we're going to be loading external XML files, we're going to be converting data between data in an XML file and then setting those up into a String in Flash and also accessing XML elements, values and attributes. Here are some important XML terms that you'll need to understand to work with XML in Flash. An Element is a single item in an XML document identified as the content contained between a starting tag and an ending tag including the tags themselves. Remember that XML Elements can contain text data or other elements, or they can be empty. An Empty element is another concept you'll need to know about. An XML Element that contains no child elements is an Empty element. Empty elements are often written as self-closing tags, like this tag right here. Another concept is the term Document. This is a single XML structure. An XML Document can contain any number of elements or can consist of just a single empty element, however, an XML Document must have a single top-level element that contains all the other elements in the document. A Node is another name for an XML Element. And finally, an Attribute is a named value associated with an element that is written into the opening tag of the Element in the Attribute name equals value format. That would look like this here. Rather than being written as a separate child element nested inside of the element. Let me now move on to the next movie an demonstrate scripts for loading XML into Flash.
| Course: | Adobe Flash ActionScript 3.0 for Designers |
| Author: | James Gonzalez |
| SKU: | 34060 |
| ISBN: | 1-935320-82-3 |
| Release Date: | 2009-11-09 |
| Duration: | 9.5 hrs / 101 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |