Hello all, When I play a 30 second audio file in Flash (.wav or .mp3), it is taking flash 32 seconds to run it.
To test this, I've made it real simple and only used one layer (The frame rate for the audio is 12 fps). The audio starts on the first frame and lasts until the 361st (30 seconds x 12 fps + 1) frame. I've added this code to these frames: var tmp = new Date(); trace("start time: " + tmp.getSeconds()); On the 362nd frame (immediately after the audio has played) I have another key frame with this code: var tmp = new Date(); trace("end time: " + tmp.getSeconds()); That's it. I just output the time when the movie starts and when it stops. When I only use 338 frames (instead of 361), then the whole clips pays fine and lasts 30 seconds. Why is a 30 second clip (running at 12 fps) only taking 28.1 seconds to play? Thank you - Frank _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com