Skip to Content
Teach Yourself Visually™ Flash® CS4 Professional
book

Teach Yourself Visually™ Flash® CS4 Professional

by Keith Butters
February 2009
Beginner
368 pages
10h 30m
English
Visual
Content preview from Teach Yourself Visually™ Flash® CS4 Professional
You can load external data into
your Flash movies from XML
files. It only requires a few lines
of ActionScript to get useable
data from your external XML
document into your Flash movie.
1 Create an XML file and place it in
the same folder as your Flash
movie.
This example uses the XML file
theBeatles.xml created in the
section “Create an XML File.”
Load Data from an XML File
Load Data from
an XML File
300
2 Click a keyframe in Flash.
3 Press ( + ).
The Actions panel opens.
4 Create instances of URLLoader
and URLRequest.
5 Type the name of your XML file
in quotation marks between
the parentheses of your new
URLRequest();
6 Declare a variable to hold your
XML object. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe Flash CS4 Professional on Demand

Adobe Flash CS4 Professional on Demand

Steve Perspection, Inc. Johnson

Publisher Resources

ISBN: 9780470344743Purchase book