Chapter 22: Actionscript: Work With Objects And Classes - MACROMEDIA FLASH 8-FLASH Tutorials Manual

Hide thumbs Also See for FLASH 8-FLASH:
Table of Contents

Advertisement

CHAPTER 22
ActionScript: Work with
Objects and Classes
Classes are the blueprint for objects in Macromedia Flash Basic 8 and
Macromedia Flash Professional 8. All objects in Flash have an underlying
class; for example, all movie clips have a method called
is defined in the class definition for a movie clip. Flash contains
getURL()
many predefined classes, such as the MovieClip class, the Array class, the
Color class, and the CheckBox class. This tutorial will show you how to
create and modify classes.
You can print this tutorial by downloading a PDF version of it from the
Macromedia Flash Documentation page at
fl_documentation.
In this tutorial, you will complete the following tasks:
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
This tutorial is designed for Flash developers who are familiar with basic
Flash and ActionScript concepts.
, and
getURL()
www.macromedia.com/go/
22
255

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF