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

Chapter 15. Working with Images, Sound, ... > About loading and using external MP3...

About loading and using external MP3 files

To load MP3 files at runtime, use the loadSound() method of the Sound class. First, you create a Sound object, as shown in the following example:

var song1_sound:Sound = new Sound();


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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