I have a problem with actionscript 3, especially when using the embed tag. I have this code:
[Embed(source = "sound.mp3")]
private static var soundClip:Class;
...
var sound:Sound = (new soundClip()) as Sound;
trace(sound.length);
When I test the movie, I get the following output : 4501,923 Which is the sound.mp3 length in milliseconds. However, the original sound is 13.000 milliseconds.
How can that be possible, can anyone help me please?
Thank you.