Skip navigation
Currently Being Moderated

Loading external sound files

Aug 14, 2012 11:27 PM

 
Replies
  • Currently Being Moderated
    Aug 14, 2012 11:27 PM   in reply to Community Help

    Dears,

    Thank you for this article.

    I guess from what I have read till now about the issue (bigSound.mp3) should be changed to the full path of that audio file e.g ("C:\Users\guest\Desktop\bigSound.mp3") in order to work, kindly give me a feedback on that and where exactly should an audio file be placed to be loaded? in the src file or somewhere else along with its copy in desktop for example? Can I load or read a wave audio file to use it in my flash builder environment instead of .mp3?

    Thank you again and Best regards,

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 15, 2012 5:48 AM   in reply to Adobe_MM

    @Adobe_MM, I think the assumption is that bigSound.mp3 is on the web server under the same directory as the SWF file. In any case, it's a URL, not a file path.

     

    I don't think you can use a .WAV file. Check out http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b902 04-7d27.html for more basics.

     

    Also, you might want to look at http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla sh/media/Sound.html for more information and for code examples.

     

    HTH,

    Randy Nielsen

    Senior Content and Community Manager

    Adobe

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points