I implementer your code an uploaded again:
www.fla10.com/test/test.html
www.fla10.com/test/test.zip
the zip has the html and swf.
Try downloading the zip and running it in your browser and the just in the
player!
In the player wiithout the html it hits 30/31!
I am just chocked that the computers from the people on this list is so far
off the mark - not considering those we are developing for!
From: "Mike Mountain" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Subject: RE: [Flashcoders] Can this be true?
Date: Tue, 2 May 2006 15:45:21 +0100
Try this:
[as]
sTime=getTimer()
count=0
onEnterFrame=function(){
count++
split=getTimer()-sTime
fps=Math.round(count/split*1000)
}
[/as]
Works great for me in the ide.
M
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Michael Kønig
> Sent: 02 May 2006 15:37
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Can this be true?
>
> At this link there is a swf embeded in a html with a 5 line
> script that measures fps:
>
> http://www.fla10.com/test/test.html
>
> The movie is set to 30 fps but plays at around 23 and I have
> a good computer!
>
> Does flash automatically loose this much power and I just
> never noticed??
>
> What numbers are you guys getting?
>
> /Michael
>
>
> _______________________________________________
> 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
>
_______________________________________________
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
_______________________________________________
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