Hello!
I have encountered a problem in the web browsers Opera, Internet Explorer and
Firefox. When I create a very simple Flash file (size and fps don't matter)
with a simple test code (I use AS3) to count the frames the result is different
when viewed with the standalone Flash player or with a web browser plugin.
This is my code:
addEventListener(Event.ENTER_FRAME,think);
var time:int = 0;
var timerText:TextField = new TextField;
timerText.width = 800;
timerText.textColor = 0xFFFFFF;
addChild(timerText);
function think(evt:Event)
{
time++;
timerText.text = String(time);
}
stop();
Nothing else in the file, just that. You can get the file here:
http://hltown.de/userftp/hl_protector/temp/test.fla (source for those who
aren't satisfied with the above code)
http://hltown.de/userftp/hl_protector/temp/test.swf (download and view in the
standalone player)
http://hltown.de/userftp/hl_protector/temp/test.html (view in any browser)
When you view the standalone and the browser at the same time, you will see
what I mean. The standalone player will run much faster and even if you start
the web browser some seconds before the standalone player, the player will
outrun the browser soon.
I would be glad if someone has an explanation and/or a solution!