• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using Objects

Now that you know what objects are and how to operate the Actions panel, you can begin to script with objects and call their methods, or evaluate and assign new properties.

Flash provides preexisting classes that it calls "objects." There are really two definitions of objects here. The Array object, the Boolean object, the Color object, and all the other objects that Flash provides in the Objects category of the Toolbox List are referred to as objects because they are predefined classes. Objects in the general sense still refer to single instances of a class. So the Array object should really be called the Array class, and will still have an object created from itself. In this book, we refer to the Flash predefined classes as objects with capitalized names since that's the way they are categorized in the Actions panel Toolbox List. These Flash classes have methods and properties that control different elements of your Flash movie, such as graphics, sound, data, time, or mathematical calculations. You can also build your own classes from scratch by combining some of the pre existing classes and actions with functions (see Chapter 11, Manipulating Information).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint