Chapter 21. Designing a Website to Be Modular

<feature><title></title>

WHAT YOU’LL LEARN IN THIS HOUR:

  • How to use the Loader class to play one movie inside another or display an external image (.jpg, .gif, or .png)

  • How to play external MP3 sounds

  • How the URLLoader and URLVariables classes enable you to import the contents of text files

</feature>

It’s possible to create a huge website entirely with one giant Flash file. However, separating the site into modular segments has distinct advantages: You can have portions of the site load as needed instead of making every visitor download everything; several team members can work on the same site simultaneously; you can update portions of the site as they change instead of having to reedit one master file; ...

Get Sams Teach Yourself Adobe Flash CS4 Professional in 24 Hours, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.