User Guide
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. . . . . . . . . . . . . . . . . . . . . . 263
Learn about extending existing classes. . . . . . . . . . . . . . . . . . . . . . . . . 264
Extend the MovieClip class to create a new class. . . . . . . . . . . . . . . . 265
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Chapter 23: Data Integration: Overview
(Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Chapter 24: Data Integration: Using the Macromedia Tips Web
Service (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . 271
Connect to a public web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Create a user interface and bind the components with the web service
274
Chapter 25: Data Integration: Using XML for a Timesheet
(Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Create the user interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Edit the data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Chapter 26: Data Integration: Using XUpdate
to Update the Timesheet
(Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Update the timesheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290