Re: [Flashcoders] Getting Frames Per Second
Is there a way to know the original fps of a loaded swf? I mean, the fps to which it was compiled to, not the actual framerate? Cheers, Juan On 1/23/07, Eskil Janson [EMAIL PROTECTED] wrote: Hi Daniel! If you want something more graphical, you can download my framechecker at: http://www.flashakademin.se/framechecker/framechecker.fla Drag the performacetester clip from the library of the fla to the stage of any .fla you want to test, and you will see how the framerate fluctuates over time (if you have performance issues...) Regards /Eskil Marc Hoffman skrev: Daniel, Try this, from Colin Moock: http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ A bit dated, but still should work fine or at least give you a headstart building your own. Marc Hoffman At 10:20 AM 1/23/2007, you wrote: The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to get some real numbers when testing flash applications on slower computers and different OS. Daniel Holth ___ 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 -- http://www.eskilstina.com ---eskilStina -- Eskil Janson Mobil: +46 0735 31 68 52 Slupskjulsvägen 38E-post: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 111 49 Stockholm Webb: www.eskilstina.com http://www.eskilstina.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 -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.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
RE: [Flashcoders] Getting Frames Per Second
Is there a way to know the original fps of a loaded swf? I mean, the fps to which it was compiled to, not the actual framerate? Sure, decompile it. :) http://www.sothink.com/ FYI, you can set Flash to 24fps and runtime framerate calculators will show it's running 35-38 fps. The player ain't perfect. ___ 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
Re: [Flashcoders] Getting Frames Per Second
Hi, something like this? var lastTime = getTimer(); onEnterFrame() { trace(fps=+(1/(getTimer()-lastTime))); lastTime = getTimer() } greetz JC On 1/23/07, Holth, Daniel C. [EMAIL PROTECTED] wrote: So I feel like this should be obvious, but is there built in functionality in Flash 8 to get the FPS of the currently running SWF? If there isn't, does anyone have some code snippets that do it? I tried setting intervals to check how many frames have passsed since the last check, but that eventually gets unsynched and prints out incorrect data. Thanks Daniel Holth I.S. Programmer x5217 || J301 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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
RE: [Flashcoders] Getting Frames Per Second
Hi Daniel, Just out of curiosity, why do you need to detect/see the framerate in your published SWF? ...Rob ___ 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
RE: [Flashcoders] Getting Frames Per Second
The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to get some real numbers when testing flash applications on slower computers and different OS. Daniel Holth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hairy Dog Digital Sent: Tuesday, January 23, 2007 11:17 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Getting Frames Per Second Hi Daniel, Just out of curiosity, why do you need to detect/see the framerate in your published SWF? ...Rob ___ 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 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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
RE: [Flashcoders] Getting Frames Per Second
In addition to being the best Flash debugging tool on the planet, Xray has a built in Framerate display. http://www.osflash.org/xray :) ___ 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
Re: [Flashcoders] Getting Frames Per Second
Here's a suggestion for Hans' code: var lastTime = getTimer(); this.onEnterFrame = function() { trace(fps=+Math.floor(1000/(getTimer()-lastTime))); lastTime = getTimer() } On 1/23/07, Holth, Daniel C. [EMAIL PROTECTED] wrote: The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to get some real numbers when testing flash applications on slower computers and different OS. Daniel Holth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hairy Dog Digital Sent: Tuesday, January 23, 2007 11:17 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Getting Frames Per Second Hi Daniel, Just out of curiosity, why do you need to detect/see the framerate in your published SWF? ...Rob ___ 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 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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 -- : : ) Scott ___ 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
RE: [Flashcoders] Getting Frames Per Second
Daniel, Try this, from Colin Moock: http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ A bit dated, but still should work fine or at least give you a headstart building your own. Marc Hoffman At 10:20 AM 1/23/2007, you wrote: The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to get some real numbers when testing flash applications on slower computers and different OS. Daniel Holth ___ 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
Re: [Flashcoders] Getting Frames Per Second
Hi Daniel! If you want something more graphical, you can download my framechecker at: http://www.flashakademin.se/framechecker/framechecker.fla Drag the performacetester clip from the library of the fla to the stage of any .fla you want to test, and you will see how the framerate fluctuates over time (if you have performance issues...) Regards /Eskil Marc Hoffman skrev: Daniel, Try this, from Colin Moock: http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ A bit dated, but still should work fine or at least give you a headstart building your own. Marc Hoffman At 10:20 AM 1/23/2007, you wrote: The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to get some real numbers when testing flash applications on slower computers and different OS. Daniel Holth ___ 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 -- http://www.eskilstina.com ---eskilStina -- Eskil Janson Mobil: +46 0735 31 68 52 Slupskjulsvägen 38 E-post: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 111 49 Stockholm Webb: www.eskilstina.com http://www.eskilstina.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