6 Very Useful ActionScript Classes About Sound

MailBox-icon In previous article 8 Classical ActionScript Classes About BitMap we have introduced some BitMap ActionScript classes. In fact not only images but also the media like MP3, video are used in web development.  Following is 6 useful actionscript libraries which can load images, swf, mp3 etc.Hope they are helpful for you.

QueueLoader


QueueLoader is an actionscript library for sequential asset loading and monitoring. Also can load Image, SWF, MP3, XML… QueueLoader is designed to be used with Actionscript 3.0 and has become an open source project.

 

URL-Prioritization Class


Url prioritization class, it works with Loader, URLLoader, and Sound Objects (and maybe NetStream objects one day). This will let you set a priority for requests so they execute in the right order, take a look at currently executing requests or loading requests.

 

MusicBuilder & SoundObject


It is a set of classes include MusicBuilder, SoundObject, SOCollection,Timer which allow you to build your own music with multiple streaming mp3 sound files. With a brand new Timer class that calculates elapsed time to the millisecond, you can now have seamless looping of streaming MP3 files.

 

SoundController Class


SoundController class manages sound channel. When current channel get to maximum sound limit, SoundController class stop the oldest sound, thus you can play the new sound. The mechanism of this class is similar to "Queue" structure. When you add a new sound, the oldest sound pops.

 

Sound Manager Class


It is a Singleton, and can be used from anywhere in your game / project. Simply register all of your sounds to the manager, and play them using IDs rather than having references to the sounds themselves.

 

Using the Sound, SoundChannel, SoundTransform classes


Do you know that Macromedia Flash only suppport maximum 8 channel sounds? For instance, if your current sound channel reachs maximum limit, Flash cannot play new sound unless one of the play sound ends. So, the SoundController class born, it manages sound channel. When current channel get to maximum sound limit, SoundController class stop the oldest sound, thus you can play the new sound.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • Technorati
  • StumbleUpon
  • Twitter
RSS Enjoy this Post? Subscribe to Ntt.cc

RSS Feed   RSS Feed     Email Feed  Email Feed Follow us Follow us
You can leave a response, or trackback from your own site.

5 Responses to “6 Very Useful ActionScript Classes About Sound”

  1. [...] 6 Very Useful ActionScript Classes About Sound – Ntt.cc [...]

  2. [...] previous article we have learned the ActionScript class about sound, string, bitmap. This time we will introduce you more about Textfield class. Some of them is small [...]

  3. [...] previous article we have introduced the ActionScript class about sound, string, bitmap, TextField. But as you know the internet is also a colorful world. Then the class [...]

Leave a Reply