Home > Articles

  • Print
  • + Share This
This chapter is from the book


This hour you saw several ways to cut up your movies into little pieces. Such modularization can have performance advantages as well as productivity value. The perceived download time is reduced if users only need to download segments as needed. You and your team's productivity is increased by breaking a site into smaller files—not only can several people work simultaneously but you can impose consistent styles with Shared Library items. You also learned the steps necessary to modularize. However, the challenging and creative part comes as you decide when and where to modularize.

The first feature discussed was the loadMovie Action. This allows you to (at runtime) play another .swf on a level number or in a clip instance. You also learned about sharing Library items at runtime, where an .swf can act as a Library shared between several files or among several team members. A lot of upfront work is involved to get such a Shared Library built, but this time investment will be paid back in the form of greater productivity. You can share any kind of Library item, including a font. Finally, I pointed out that there's a way to store your scripts outside the Flash file (as a text file) so that you can share one script and make edits to it without constantly returning to Flash.

  • + Share This
  • 🔖 Save To Your Account