Huge framerate difference between Test and Publish movie in Flash?

Posted by Glacius on Stack Overflow See other posts from Stack Overflow or by Glacius
Published on 2010-12-24T15:53:46Z Indexed on 2010/12/24 23:54 UTC
Read the original article Hit count: 197

Filed under:
|

Simply put, I am making a flash midi player. I am using ENTER_FRAME for my timings. I set the framerate to 100 to ensure that the timing of each note in milliseconds is accurate.

When I test the movie with CTRL + ENTER it works fine. When I publish it and open it in a browser (tested both IE and Chrome), it suddenly plays back a lot slower. I don't think it's a performance issue, since the code is very simple.

If this slowdown is consistent then I can perhaps work with it so that the playback speed will be correct. Do browsers make the framerate slower or do they implement a framerate cap of some sort? What is going on?

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3