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

Chapter 12. Managing Content and Trouble... > Including External ActionScript

Including External ActionScript

You can create external ActionScript files to share common code among multiple movies. Create the ActionScript code that appears many times in different movies, and keep that code in a text file outside the Flash movies. If you need to change the code, you only need to change it in one place.

External code can be incorporated into a Flash movie with the action #include. This action pulls in an external text file containing ActionScript and includes it in the existing script in the Script pane.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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