soundchannel

Check if SoundChannel is playing sound

How to check reliably if a SoundChannel is still playing a sound? For example, [Embed(source="song.mp3")] var Song: Class; var s: Song = new Song(); var ch: SoundChannel = s.play(); // how to check if ch is playing? ...

Trouble with multiple songs in Flex - AS3

Hello all, I am trying to create a mini media player AIR app that allows users to view videos, images, and songs loaded in through an external XML file, while also allowing the user to browse through their own files and play any media through the viewer. As of right now, I can get videos to stop playing when an image thumb is clicked, ...

When does a SoundChannel actually starts playing sound?

I want to control the start of a sound very precisely, but it seems to wait for something before starting the sound. It is like there is an internal clock in the player that runs at approx 43 fps and that the sound can only start on that clock's beat. It does not matter what the framerate of the project or which computer it runts on, it ...