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

Chapter 18. External ActionScript > #include Versus Classpath

#include Versus Classpath

External ActionScript files are not new to Flash, but they were introduced differently in Flash 2004 and are brought in at compile time.

In older versions of Flash, if you wanted to include an external AS file, you would use a pound sign (#) followed by the keyword include, and the path to the AS file as a string literal like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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