• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. Custom Objects > Creating an ActionScript Object

Creating an ActionScript Object

A custom object in Flash is really a specialized use of a user-defined function. Instead of writing the function and executing it or returning a variable from it, you set a variable equal to the function definition. Sound confusing? Here are some examples to set the record straight.

Procedural Function

Somewhere in your movie you define a function:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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