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

Chapter 2. What's New in Flash MX > Dynamic Loading: JPEG and MP3

Dynamic Loading: JPEG and MP3

This is cool—you can now dynamically load JPEGs (not GIFs) and MP3 sounds into your movie after it starts playing. This can create a richer user experience without forcing a long wait for a bunch of initial downloads. We'll glance at these capabilities, but you'll have to wait for Chapters 14 and 15 to really get into the details.

Loading an image is super-easy. For example, say we have a button, and we want to load an image when the user presses the button. Here's the code.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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