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 What is the length of the .mp3 sound in milliseconds. However, the original sound is 13,000 milliseconds.
How is this possible, can someone help me?
Thanks.
Manos ppd
source share