Flash CS4 + AS3, SoundChannel.position inaccurate
EDIT: Sorry for the question being reworded, but I am just simplifying the issue. I am 开发者_如何学Cnot getting accurate values for SoundChannel.position for an external MP3 that is playing. I've tried a variety of audio bitrates and consistently, i am getting a SoundChannel.position that is less (~250 ms) then where the actual audio has played to. As well, the position never equals the duration. It always finishes behind, even when the SOUND_COMPLETE event is generated.
Adobe says any Sound position/duration issues are fixed with the latest Flash Player. I am obviously not getting the same results. I need very accurate position values in order to have a custom draggable timeline and cue points. Is there some alternative method I should try? I'm not sure what to do. Thanks.
try to use a TimerEvent.TIMER
instead of ENTER_FRAME
as here : real interval between frames is almost never 1000 / fps
精彩评论