Specifications
Contents 9
Chapter 22:  ActionScript: Work with Objects and Classes   . .  255
Set up your workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Learn about classes and object types . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Create an object from a class. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Create a custom class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Create two objects from the Product class. . . . . . . . . . . . . . . . . . . . . . 262
Learn about extending existing classes. . . . . . . . . . . . . . . . . . . . . . . . . 263
Extend the MovieClip class to create a new class. . . . . . . . . . . . . . . . 264
Summary  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Chapter 23:  Data Integration: Overview (Flash  
Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Chapter 24:  Data Integration: Using the Macromedia  
Tips Web Service (Flash Professional Only)  . . . . . . . . . . . . . . .  269
Connect to a public web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Create a user interface and bind the components with  
the web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  272
Chapter 25:  Data Integration: Using XML for a Timesheet 
(Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  277
Create the user interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  278
Edit the data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Chapter 26:  Data Integration: Using XUpdate to Update  
the Timesheet (Flash Professional Only)  . . . . . . . . . . . . . . . . . .  287
Update the timesheet  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288










