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

Chapter 18. External ActionScript > Getting Started with External Class Files

Getting Started with External Class Files

As mentioned earlier, custom class construction is nothing new, but the manner in which it is done is completely new to anything we have gone over so far. In older versions of Flash, you could create classes of objects either externally or internally in the Flash file. But with the introduction of ActionScript 2.0, the only way to correctly build object classes is externally in .as files.

Here are two examples of building the same class, one in ActionScript 1.0 and the other in ActionScript 2.0.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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