Updated Sound and Music Manager for AS3
Sorry about the lack of updates over the past few days. A project at work is demanding all of my attention, and will probably continue to keep me busy for the next few weeks. What free time I do manage to find, I am continuing work on Catface Games’ first fully-featured game.
Last night while implementing some background music and menu features, I noticed a few bugs within the Sound Manager class posted earlier. I also wanted to add muteSound and muteMusic functionality. Here’s the updated code: Read more
What a Nightmare!
Sorry about the downtime. This transfer to a new host will be worth it in the long haul, but getting things transferred over has been a complete nightmare. Please bear with me while I work to get the site back up and running…
Using Embedded Images in AS3 in FlashDevelop
A major difference between the Adobe Flash IDE and FlashDevelop is that FlashDevelop does not contain the graphical side of Flash development. I will show you how to emulate the functionality of Flash IDE”s “Library” using only AS3.
Here is an example of how to embed an image directly into your .swf
1 2 | [Embed(source="myImage.png")] public var myImage:Class; |
Playing Sounds and Music in AS3
Actionscript 3 has what I (and some others) have considered to be a rather clunky way of handling Sounds. In this article, I discuss how I tried to simplify the process by wrapping everything up into a SoundManager class.
In Actionscript 3, there are three classes that handle controlling sounds:
- Sound: Plays a sound, and handles the loading/buffering.
- SoundChannel: Pauses or Stops a sound.
- SoundTransform: Volume and Panning.

