
Questions?

FREE TUTORIALS
|
Integrating Flash with XML
By
Craig Campbell
Running
Time: 4 hours, 4 minutes
Overview
At its core, XML is simply a way of sharing and storing data on the Internet, and it allows you to create some highly dynamic content. And when you combine XML with Flash, it becomes even more powerful. In this video series, Flash trainer Craig Campbell discusses how to import XML data into Flash, and then he walks you through several projects, demonstrating how to create a slideshow, a music player, and a video player that all pull their information from XML text files.
Detailed Video Descriptions
- Introduction (2:18)
In this brief video, Craig introduces himself and tells you what you can expect to learn from this video series.
-
1 - What is XML? (5:31)
In this video, Craig defines XML, explains many of its uses, and lists the advantages of using XML to store dynamic data.
- 2 - Looking at an XML Document (8:44)
In this video, Craig walks you through an XML document that stores a number of news stories, and he explains to you how the document is structured. Understanding this structure is crucial in order to use it properly in ActionScript.
- 3 - Loading XML into Flash (9:43)
Now that we understand the structure of an XML document, we can make use of it. In this video, you'll learn how to load the XML file into your Flash file using ActionScript.
- 4 - Extracting XML Data (14:07)
With your XML document loaded into Flash, Craig now shows you how to extract information from the XML and display it in the output window.
- 5 - Displaying XML Data in a Text Field (12:58)
In this video, you will learn how to update the text in a dynamic text field with the data you pulled in from your XML file. You'll also learn a few tricks for formatting the text that you pull in.
- 6 - Using Loops to Display All Data (9:16)
In this video, Craig will show you how to make this file truly dynamic by creating a for() loop that will iterate through the news stories in your XML file and display information for every single story.
- 7 - Finishing Touches (3:42)
In the current project, if we decided to add any more stories to our XML file, the text would disappear beyond the bottom of the text file, so in this video, after updating the XML file with a new news story, Craig will demonstrate how to add a quick scrollbar to your dynamic text field.
- 8 - XML Attributes (7:39)
In this video, Craig will show you a different way to set up your XML file. Instead of having so many nested elements, like we had in the news example, Craig will show you how to set up attributes for your elements.
- 9 - Setting Up the Slideshow (6:23)
In this video, Craig pulls out the drawing tools and sets up the Flash stage for the slideshow. Once your slideshow is set up, all that's left is to make it work with ActionScript.
- 10 - Displaying the First Image (10:31)
With your slideshow elements set up visually, Craig jumps into ActionScript and shows you all the code necessary to set up your XML object, read your XML file, and display the first image listed in the XML file.
- 11 - Creating Arrays for XML Attributes (9:49)
With the new attribute structure in the XML document, Craig shows you how to set up multiple arrays in ActionScript to help you keep track of the information stored in the attributes of your XML elements.
- 12 - Cycling Through the Pictures (12:45)
In this video, we'll take advantage of the arrays that we created in the last lesson. Craig will show you how to add code to the 'next' and 'previous' buttons that will allow the user to cycle through the images and the corresponding captions.
- 13 - Cycling with Arrow Keys (6:19)
Using the nextPicture() and prevPicture() functions that have already been created, Craig will now show you how to use these functions again in order to allow the user to cycle through the images of the slideshow using the left and right arrow keys.
- 14 - Setting Up the Music Player (15:29)
Ready to create your own dynamic music player? In this video, Craig will introduce you to the new jukebox xml file and then walk you through creating the controls for your music player.
- 15 - Setting Up the Jukebox XML Object (8:44)
In this video, we'll once again go over the familiar task of creating a new XML object for our music player and extracting information from our XML file to make sure it's working.
- 16 - Getting the First Song to Play (5:28)
In this video, we'll give the music player its basic functionality by getting it to play the first song in the list.
- 17 - Storing Song Attributes in Arrays (5:18)
Just like we did with the slideshow, in this video, we're going to store all the values for the song titles and urls in their own respective arrays.
- 18 - Stop, Play, Pause, and Mute (16:33)
In this video, we'll take a break from all the XML talk, and we'll set up the code for the basic controls on the music player.
- 19 - Cycling Through the Songs (17:31)
In this video, Craig will demonstrate how to add code to the 'next' and 'previous' buttons in order to cycle through the songs in your XML playlist. He also shows you how to automatically start playing the next song when the first song is finished playing.
- 20 - Setting Up the Video Player (14:18)
In this video, we'll take a quick look at the videos.xml file that we'll be using for our video player project, and then we'll jump into Flash and create all the visual assets for the player.
- 21 - Getting a Video to Play (6:16)
Before setting up the XML object, Craig demonstrates how to get a video to start playing in ActionScript.
- 22 - Setting Up the Video XML Object (7:32)
By now, you should all be experts at setting up an XML object in ActionScript, but just in case you need a little more repetition, Craig will demonstrate how to set up the XML object for the video project.
- 23 - Populating a List Component with XML Data (8:36)
For the video project, we'll allow the user to change videos by selecting a title from a List Component. In this video, you'll learn how to populate this List with information from the XML object.
- 24 - Changing Videos with the List Component (5:32)
Now that the List Component is populated, Craig will show you how to create an event listener that will listen for the user to select a new item on the list, and then once that item is selected, the listener will cause the appropriate video to start playing.
- 25 - Video Player Controls (12:07)
In this video, Craig wraps up the video player project by adding code to the stop, pause, play, and mute buttons.
- 26 - Conclusion (0:38)

Our Risk-Free Lifetime Money-Back
Guarantee

Purchase as many videos as you like. If you discover that the videos do not completely and successfully train you on that subject, simply contact us anytime at support@technicallead.com and we will give you a complete refund.
Why such a generous guarantee? It is simple. We know how powerful the videos are and we know that they will help you. It is our way of assuring you that - in the case that you do not receive maximum benefit from the videos or if for whatever reason you are not completely satisfied - you won't have to pay for something you can't use.
However, you will never know until you try. That's why we are giving you as much time as you need to evaluate the videos. If they don't live up to your expectations you are not out a dime.
Option 1. Integrating Flash with XML Complete Training Package - You can take advantage of our unique Flash 8 training and mentoring system for just $892.00 $347.00. That's almost $600.00 off the regular price. This is the most complete training you will get anywhere!
Now Available: You can now order Option 1 in 4 easy monthly payments of $86.75!
All of the following items are included in this package:
1. You get a live Flash webinar with one of our Flash experts. ($200.00 Value) This is NOT a webcast where the communications go one-way. You will have an opportunity to interact with the presenter. This special event will be conducted in a four-hour segment with the instructor, live.
With the webinar, we bring the classroom training to you WITHOUT the travel cost of airfare, hotel, meals away from home, and car rental.
And the great thing about this is that you can attend the Flash webinar over and over, as many times as you like. It's all included with your tuition. Just think about being able to brush up on your Flash skills with a live instructor anytime you need to!
Our webinars are constantly being scheduled. We try to hold them at various times to meet the diverse needs of our customers. You may see which webinars are currently scheduled by clicking here:
Current Webinar Schedule
If you don't see a webinar scheduled for this training program yet, don't worry. It will be updated often. And remember, by purchasing Integrating Flash with XML, you will have access to this product's webinar whenever it's offer, as many times as you like.
2. You also get the training videos available on-demand via instant download AND we will ship you the Integrating Flash with XML videos on CD free of charge. ($197.00 Value) That's over 4 hours of focused training that you can view anytime, as many times, as you like. This is the same content covered in the webinar and you'll have the information available whenever you need it.
3. About your secret weapon - your personal Flash mentor: ($97.00 Value) At any time, you can send an email to your mentor to help you resolve a question about using Flash. You can even send your flash files, so he can diagnose the problem quickly and get you back on track.
This service is invaluable, because it can save you countless hours trying to solve a problem, not to mention the frustration we have all experienced trying to get Flash to work like it is suppose to. How many times have you been just 30 seconds away from putting your fist through the computer screen or tossing your keyboard across the room?
Well those days are over.
Now when you hit a roadblock, you can just take a deep breath, fire off an email to our experts and do something productive while we work on the solution.
With this complete training package, your mentor program is good for 60 days. Within those 60 days, you will have a total of 2 hours of email access to your Flash mentor.
4. You'll also receive a 3 month subscription to our new monthly live webinar classes. ($210.00 Value) In these classes, our Flash experts will meet with subscribers online live for an hour of Flash Tips and Q&A. It's a perfect way to keep your Flash skills sharp.
5. ** BONUS ** ($197.00 Value) Internet Marketing webinar entitled: "Discover How To Increase Your Income Today, By Improving The Key Profit Factors In Your Business - Whether You Have An Established Business Or A Start-up"
Our resident marketing guru will help you uncover the key Profit Factors in your business. This is the culmination of his experience in the online business arena over the last 9 years.
This webinar will put you on the fast track to improving your business. There are no wasted words and no fluff. Just the exact steps you need to take and the exact order you need to pursue them so you get the biggest results from the smallest possible investment.
He will show you the same formula he used to grow one business 3500% in 18 months. In fact, they grew so fast their Merchant account provider started getting nervous and they had to find another bank to handle the volume.
This session will be completely interactive, giving you a chance to get most important questions answered. Our guru will contact you ahead of time with a brief questionnaire, so he can cover only topics that are relevant to you and the other participants.
If you already have an established business online with a steady flow of targeted traffic, most likely your business is underperforming and you don't even know it. In fact, you are probably making half or even one tenth of the money you should be right now.
If you are a startup business, your timing is perfect. You need to understand the Profit Factors before you waste your time and money running in the wrong direction. Just one small change in your internet marketing plan can often make the difference between losing money and making money.
Here's the bottom line. We are confident that the marketing secrets you will learn in this webinar, will easily generate profits to cover the cost of this series.
This is one webinar you can't afford to miss.
This bonus webinar has limited seating. There are currently only 22 spots available.
Here's a summary of Option 1:
- You get the live, 4 hour webinar that let's you interact with the presenter and you can attend it as many times as you like
- You get the Integrating Flash with XML videos. That's over 4 hours of video training you can download immediately.
- We will also ship you all the videos on CD so you will have a back-up
- You get one-on-one support via email from our Flash experts for a total of 2 hours, to be used within 60 days - this will give you plenty of time to master the basics of Flash and complete your Flash project with our help
- You'll also receive a 3 month subscription to our new monthly live webinar classes
- You get the BONUS webinar on marketing your website (Just 22 spots left)
Option 2. Integrating Flash with XML Video Tutorials and Mentor Program - You can start learning Flash 8 right now with the help of your personal mentor and our video training for just $244.00 $147.00. That's almost $100.00 off the regular price.
Now Available: You can now order Option 2 in 3 easy monthly payments of $49.00!
All of the following items are included in this package:
1. You get the training videos available on-demand via instant download AND we will ship you the Integrating Flash with XML videos on CD free of charge. That's over 4 hours of focused training that you can view anytime, as many times, as you like. This is the same content covered in the webinar and you'll have the information available whenever you need it.
2. About your secret weapon - your personal Flash mentor: At any time, you can send an email to your mentor to help you resolve a question about using Flash. You can even send your flash files, so he can diagnose the problem quickly and get you back on track.
This service is invaluable, because it can save you countless hours trying to solve a problem, not to mention the frustration we have all experienced trying to get Flash to work like it is suppose to. How many times have you been just 30 seconds away from putting your fist through the computer screen or tossing your keyboard across the room?
Well those days are over.
Now when you hit a roadblock, you can just take a deep breath, fire off an email to our experts and do something productive while we work on the solution.
With this complete training package, your mentor program is good for 60 days. Within those 60 days, you will have a total of 2 hours of email access to your Flash mentor.
Here's a summary of Option 2:
- You get the Integrating Flash with XML videos. That's over 4 hours of video training you can download immediately.
- We will also ship you all the videos on CD so you will have a back-up
- You get one-on-one support via email from our Flash experts for a total of 2 hours, to be used within 60 days - this will give you plenty of time to master the basics of Flash and complete your Flash project with our help.
ALSO NOW AVAILABLE, TWO BIG WAYS TO SAVE ON OUR TRAINING!
1. Our New Flash Definitive Membership. Save over 82% on ALL of our Flash Training PLUS you will get ALL future Flash releases while you are a member!
2. Our Complete Flash 8 Training Bundle Video Tutorials - This training bundle includes six of our best titles.
Get our Complete Flash Training Bundle NOW for just $872.00 $397.00. That's a savings of almost $500.
|
Yes, I can't wait to start learning Flash like the pros...
and I know there is no time to lose. Thanks for the lifetime guarantee - that takes all the pressure off my decision. In fact, it allows me to see everything for free, if I choose.
Option 1. Integrating Flash with XML Complete Training Package - You can take advantage of our unique training and mentoring system, which includes the live webinar, for just $892.00 $347.00 You save almost $600.00 off the regular price by purchasing today.
(This is an Introductory Price and there are Limited Webinar and Mentoring Spots Available)
Click Here To Start Option 1 Securely
OR
click here to order Option 1 in 4 easy monthly payments of $86.75.
Option 2. Integrating Flash with XML Video Tutorials and Mentor Program - You can start learning Flash 8 for just $244.00 $147.00. You save almost $100.00 off the regular price by purchasing today.
(This is an Introductory Price and there are Limited Mentoring Spots Available)
Click Here To Start Option 2 Securely
OR
click here to order Option 2 in 3 easy monthly payments of $49.00
For corporate and educational multi-licenses, please contact Casey at casey.rasul@technicallead.com or call him in our sales department at (866) 894-0705 for more information.
    
|
|