Viewers: in countries Watching now:
Taking the principles and skills taught in ActionScript 3.0 in Flash CS3 Professional Essential Training, Adobe Certified Instructor Todd Perkins demonstrates how to put them to practical use in this course. Todd fully explores ActionScript's most powerful features, including creating advanced navigational interfaces and special effects using XML data and adding accessibility to files via closed captioning. Exercise files accompany the tutorials.
When we're working with XML in ActionScript 3.0, we're going to use something called you for E4X syntax. And E4X stands for ECMAScript for XML. What that means to you is that you have a really easy way to use XML data in Flash. At least a lot easier than the way using XML data worked in ActionScript 2.0. In this movie, I'm briefly going to show how E4X syntax looks and how it's different from XML in ActionScript 2.0.
I'm just going to open up the Actions panel on the first keyframe of this blank document. And in ActionScript 2.0, if you wanted to bring in XML data, you've to create a variable, call it something, data type which is XML, have it be new XML, and then make the XML object load something. And once you had the XML loaded in an external file, you had to store the XML in an array and use confusing syntax to navigate through the XML.
Let me show E4X syntax works. I'm just going to keep the myXML data typed to XML and I'm going to just type XML. I am just going to make up my own XML here. I am just going to call it name. I am going to put my name inside of the tags and I'm going to go to the next line. I am just going to trace myXML. And Flash gives me the value inside of the tags.
So actually, I can just create as much XML as I want in Flash without ever having to load in an external file. That's something pretty neat that you can do with ActionScript 2.0. So, there is brief look at E4X syntax. In the next movie, we'll go a little bit deeper and start writing our own XML.
There are currently no FAQs about ActionScript 3.0 in Flash CS3 Professional Beyond the Basics.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.