Join Joseph Labrecque for an in-depth discussion in this video XML, part of Learning ActionScript.
Developers have a number of choices in binary and plain data formats, for import …and export, using ActionScript. In this lesson, we'll examine how to use …the native XML parser to parse out text based data into our project. …So in Flash Builder, I have a XML file here called Data.XML, and this is …basically an XML structure to define a person and their contact information.…
So, we have attributes such as first name and last name, different nodes such as …address with its own attributes of street, city, state, and so forth. …We also have a phone numbers node, and within there we have a number of phone nodes. …with different type attributes in them, and number attributes which contain …actual phone numbers. So, what we're going to do is use …ActionScript, to load this file into Flash and parse out data within it.…
So to do this, we're going to do a number of imports first. …We're going to import flash.events.event. And we do this so we can listen for when …our file has actually finished loading. We're going to use both the …
- What is ActionScript and why should I learn it?
- ActionScript 2.0 vs. ActionScript 3.0
- Implementing external source code
- Working in Flash Professional and Flash Builder
- Understanding language fundamentals
- Working with ActionScript objects