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

Chapter 11. Working with Sounds > Loading a Streaming MP3 File

Loading a Streaming MP3 File

You can load a MP3 music audio file using a built in Flash behavior. The advantage to this process is that the file is loaded when needed, and it never increases the size of the original Flash movie. Streaming MP3 files are not part of a pre-existing Flash movie, they're just available from a common location.

Load a Streaming MP3 File

Select a button object on the Stage or Timeline keyframe.

Click the plus (+) sign, located in the upper-left portion of the Behaviors panel, point to Sound, and then click Load Streaming MP3 File.

Enter the URL to the source MP3 file.

Enter a unique name in the identifier field.

Click OK.

If you selected a button object, select an Event to trigger the sound.

Click the Control menu, and then click Test Movie, to test the ActionScript.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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