I was investigating a bug today with embedded sounds over a Remote Desktop Connection and came up with the following code that I thought I’d share.
I tested three different methods of embedding sound effects into a Flex application:
1) Using the <mx:SoundEffect /> tag, an inline @Embed, and mouseDownEffect
2) Using the [Embed] metadata, <mx:SoundEffect /> with a binding to my embedded asset, and mouseDownEffect
3) Using the [Embed] metadata, the SoundAsset class, and the SoundAsset.play() method.
Full code after the jump.
Continue reading ‘Embedding sound effects in your Flex applications’



