Wednesday, April 29, 2009

AFCSDevConsole is pegging my CPU

I'm on Cocomo 092 version, and I left the AFCSDevConsole lying around on my desktop for about 8 hours and it's pegged my CPU. Has anyone else seen this?

SoundEffect.play() doesn't play

Incredibly frustrating hour when I couldn't get SoundEffect play() to run, stepped through it in the debugger, but I didn't come to any conclusions.

Anyway, the way to get 'er done is posted on flexexamples.com

See SoundAsset


// ding support
[Embed('../assets/ding.mp3')]
private var ding_mp3:Class;
private var ding:SoundAsset = new ding_mp3() as SoundAsset;