Re: [Flashcoders] Can this be true?
If you think about how it works having a sound set to stream on the timeline so that animations can be synched tightly, you'll understand how this 'trick' works - the player needs to maintain framerate so that the audio track and graphical tracks don't lose synch and the audio streams smoothly. This is really nice hack. BTW, I assume that sound should run all time in order to skip some frames if needed. Best. --- erixtekila http://blog.v-i-a.net/ ___ 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] Can this be true?
I get 23 too, I think there must be something wrong with the FPS counter code. 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
RE: [Flashcoders] Can this be true?
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
Re: [Flashcoders] Can this be true?
try bumping it up to 31fps and see how it works then. i'm getting about 24 on my browser (firefox on osx 10.4) On May 2, 2006, at 10:37 AM, Michael Kønig wrote: 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
Re: [Flashcoders] Can this be true?
I get 28 here. On 5/2/06, Mike Mountain [EMAIL PROTECTED] wrote: I get 23 too, I think there must be something wrong with the FPS counter code. 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
RE: [Flashcoders] Can this be true?
Interesting, a movie set at 30fps plays around 29/30 in the ide using the below code, but does indeed return 23/24 fps in IE. I knew flash ran better in the ide - but that is quite a difference. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 02 May 2006 15:45 To: Flashcoders mailing list Subject: RE: [Flashcoders] Can this be true? 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
RE: [Flashcoders] Can this be true?
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
RE: [Flashcoders] Can this be true?
Try with this FPS counter this.createTextField(fps_txt, 1000, 10, 10, 100, 100); this.nLastFrame = getTimer(); this.onEnterFrame = function () { var nCurrentFrame = getTimer(); var nFPS = Math.round(1000 / (nCurrentFrame - this.nLastFrame)); this.fps_txt.text = nFPS; this.nLastFrame = nCurrentFrame; } Martin Tremblay lvl ___ 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] Can this be true?
I'm getting 25 in Safari, OS 10.4.6, on a dual 1.8 Ghz PowerMac. - Josh On May 2, 2006, at 8:37 AM, Michael Kønig wrote: 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
RE: [Flashcoders] Can this be true?
In IE, I'm getting 25 fps. In Firefox, I'm getting 27. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kønig Sent: Tuesday, May 02, 2006 10:37 AM 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
Re: [Flashcoders] Can this be true?
Interesting, a movie set at 30fps plays around 29/30 in the ide using the below code, but does indeed return 23/24 fps in IE. I knew flash ran better in the ide - but that is quite a difference. From what I've learnt, that kind of stuff happens even when there's nothing being processed - ie, if you specify a certain framerate, it always runs a bit slower. I usually set my movies to use 40fps - because expect them to run at around ~35fps. It's not actually that the movie is only getting 25fps instead of the specified 30, but that he's *trying* 30 - and nothing more. So using a higher number works. Obviously that doesn't help if your movie ACTUALLY has slow performance. It's just that if there's performance to spare but flash just isn't getting there, the only way to get your actual framerate target is to use a higher framerate as the top limit. - Zeh ___ 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] Can this be true?
My experience a couple of months ago when creating a racing game was that there seems to be some kind o frame rate capping. Whatever computer I tried my game on, I got approximately 20 fpt when I ran the game in a browser. With the standalone player I could easily play the same game with frame rates of 90 fps on some computers. Possibly they crippled the browser player in order to prevent computers to bog down completely on sites with lots of flash-based banners but this poor browser performance does make flash quite bad for action based games. Shockwave on the contrary have no performance issues, but then again it gladly hogs 99% of the processing power... /David -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 2006-04-27 ___ 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] Can this be true?
I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of silence. Save the sound. Import that sound into flash. Create a movieclip on stage. Inside the movieClip. Add a few frames, lets say 25 frames. Add the sound on frame 1 and loop it until it reaches the last frame. Publish and watch it a browser. It plays 30 fps. Le 02/05/06 10:37, « Michael Kønig » [EMAIL PROTECTED] a écrit : 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
Re: [Flashcoders] Can this be true?
I am going to be back by my computer in a couple of hours and I will try that sound trick. If that works, I will be completly amazed! It is exactly an action game I am making so I need to at least be able to know what FPS my movie actually runs in. /Michael From: Patrick Matte [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, 02 May 2006 12:00:03 -0400 I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of silence. Save the sound. Import that sound into flash. Create a movieclip on stage. Inside the movieClip. Add a few frames, lets say 25 frames. Add the sound on frame 1 and loop it until it reaches the last frame. Publish and watch it a browser. It plays 30 fps. Le 02/05/06 10:37, « Michael Kønig » [EMAIL PROTECTED] a écrit : 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
RE: [Flashcoders] Can this be true?
The sound needs to be on a frame and set to 'stream' if I remember correctly. This causes the flash player to drop animation frames in order to keep up with the target framerate. If you think about how it works having a sound set to stream on the timeline so that animations can be synched tightly, you'll understand how this 'trick' works - the player needs to maintain framerate so that the audio track and graphical tracks don't lose synch and the audio streams smoothly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Kønig Sent: 02 May 2006 17:23 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Can this be true? I am going to be back by my computer in a couple of hours and I will try that sound trick. If that works, I will be completly amazed! It is exactly an action game I am making so I need to at least be able to know what FPS my movie actually runs in. /Michael From: Patrick Matte [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, 02 May 2006 12:00:03 -0400 I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of silence. Save the sound. Import that sound into flash. Create a movieclip on stage. Inside the movieClip. Add a few frames, lets say 25 frames. Add the sound on frame 1 and loop it until it reaches the last frame. Publish and watch it a browser. It plays 30 fps. Le 02/05/06 10:37, « Michael Kønig » [EMAIL PROTECTED] a écrit : 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 ___ 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] Can this be true?
the presumes good coding practices on the internal player code :) or maybe this has to do with the Browser ... :)) more fun if the Browser is concerned cedric I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of silence. Save the sound. Import that sound into flash. Create a movieclip on stage. Inside the movieClip. Add a few frames, lets say 25 frames. Add the sound on frame 1 and loop it until it reaches the last frame. Publish and watch it a browser. It plays 30 fps. Le 02/05/06 10:37, « Michael Kønig » [EMAIL PROTECTED] a écrit : 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
Re: [Flashcoders] Can this be true? (is: framerate ABCs)
Michael Kønig wrote: The movie is set to 30 fps but plays at around 23 and I have a good computer! That's quite possible. The framerate is a top limit, not a bottom gate. Depending on the content, and what else that computer is being asked to do at that time, and (if playing in a browser) how frequently the particular browser lets its plugins access the processor, you'll see the system work as hard as it can to meet (but not exceed) the framerate you set. Lots of people set framerates too high... you can see these SWFs start to choke up your computer when playing a dozen or so of them simultaneously in different browser windows... all of them straining to meet the high framerate simultaneously. It's good to test ambitious work on some low-end machines. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Can this be true? (is: framerate ABCs)
I noticed it first when i was testing a tilebased game and noticed the low performance in a browser before sending it to the client. I started commenting out parts of the script and evtually removing all graphics. Still the same! I made a whole new BLANK document only containing the script that shows thie framerate. It gave me exactly the same, slow framerate as with the ENTIRE game running. I have a very good computer and had nothing particular running in the background. I guess I am just amazed that a swf looses so many frames per second, not from scripts or rendering graphics, but simply from being playing in a bowser. Its just a complet surprise and I am still wondering if I am doing something wrong... /Michael From: John Dowdell [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? (is: framerate ABCs) Date: Tue, 02 May 2006 13:16:14 -0700 Michael Kønig wrote: The movie is set to 30 fps but plays at around 23 and I have a good computer! That's quite possible. The framerate is a top limit, not a bottom gate. Depending on the content, and what else that computer is being asked to do at that time, and (if playing in a browser) how frequently the particular browser lets its plugins access the processor, you'll see the system work as hard as it can to meet (but not exceed) the framerate you set. Lots of people set framerates too high... you can see these SWFs start to choke up your computer when playing a dozen or so of them simultaneously in different browser windows... all of them straining to meet the high framerate simultaneously. It's good to test ambitious work on some low-end machines. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Can this be true? (is: framerate ABCs)
Thats my experience too, it doesn't matter what the flashfile does, what computer you run on and that you've closed down all other applications, the frame rate is still crippled. That sound sync trick sounds interesting, but does it really increase the framerate or does it only skip frames? If so does it run scripts in the scipped frames? /David - Original Message - From: Michael Kønig [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 02, 2006 10:42 PM Subject: Re: [Flashcoders] Can this be true? (is: framerate ABCs) I noticed it first when i was testing a tilebased game and noticed the low performance in a browser before sending it to the client. I started commenting out parts of the script and evtually removing all graphics. Still the same! I made a whole new BLANK document only containing the script that shows thie framerate. It gave me exactly the same, slow framerate as with the ENTIRE game running. I have a very good computer and had nothing particular running in the background. I guess I am just amazed that a swf looses so many frames per second, not from scripts or rendering graphics, but simply from being playing in a bowser. Its just a complet surprise and I am still wondering if I am doing something wrong... /Michael From: John Dowdell [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? (is: framerate ABCs) Date: Tue, 02 May 2006 13:16:14 -0700 Michael Kønig wrote: The movie is set to 30 fps but plays at around 23 and I have a good computer! That's quite possible. The framerate is a top limit, not a bottom gate. Depending on the content, and what else that computer is being asked to do at that time, and (if playing in a browser) how frequently the particular browser lets its plugins access the processor, you'll see the system work as hard as it can to meet (but not exceed) the framerate you set. Lots of people set framerates too high... you can see these SWFs start to choke up your computer when playing a dozen or so of them simultaneously in different browser windows... all of them straining to meet the high framerate simultaneously. It's good to test ambitious work on some low-end machines. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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
Re: [Flashcoders] Can this be true? (is: framerate ABCs)
Michael Kønig wrote: I guess I am just amazed that a swf looses so many frames per second, not from scripts or rendering graphics, but simply from being playing in a bowser. Its just a complet surprise I don't know if there's anything particularly different about this file running on that machine, but I do know that people are regularly shocked at learning how differently the browsers let plugins play. Mostly this came up in Flash sux on Mac discussions, but it's another example of how the spec-first approach is hard to scale... either it's an ambitious spec which contains lots of details but is impossible for anyone to implement completely (SVG, eg), or it's an incomplete spec where differences emerge in implementations and gradually become recognized. Player and Reader both start with a predictable deployed capability, even though they have to deal with differences in surrounding environment. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Can this be true? (is: framerate ABCs)
Thats my experience too, it doesn't matter what the flashfile does, what computer you run on and that you've closed down all other applications, the frame rate is still crippled. That sound sync trick sounds interesting, but does it really increase the framerate or does it only skip frames? If so does it run scripts in the scipped frames? /David - Original Message - From: Michael Kønig [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 02, 2006 10:42 PM Subject: Re: [Flashcoders] Can this be true? (is: framerate ABCs) I noticed it first when i was testing a tilebased game and noticed the low performance in a browser before sending it to the client. I started commenting out parts of the script and evtually removing all graphics. Still the same! I made a whole new BLANK document only containing the script that shows thie framerate. It gave me exactly the same, slow framerate as with the ENTIRE game running. I have a very good computer and had nothing particular running in the background. I guess I am just amazed that a swf looses so many frames per second, not from scripts or rendering graphics, but simply from being playing in a bowser. Its just a complet surprise and I am still wondering if I am doing something wrong... /Michael From: John Dowdell [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? (is: framerate ABCs) Date: Tue, 02 May 2006 13:16:14 -0700 Michael Kønig wrote: The movie is set to 30 fps but plays at around 23 and I have a good computer! That's quite possible. The framerate is a top limit, not a bottom gate. Depending on the content, and what else that computer is being asked to do at that time, and (if playing in a browser) how frequently the particular browser lets its plugins access the processor, you'll see the system work as hard as it can to meet (but not exceed) the framerate you set. Lots of people set framerates too high... you can see these SWFs start to choke up your computer when playing a dozen or so of them simultaneously in different browser windows... all of them straining to meet the high framerate simultaneously. It's good to test ambitious work on some low-end machines. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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
Re: [Flashcoders] Can this be true?
The code is very simple: setInterval(time, 1000); Is setInterval so accurate ? Is it frame based ? I know you can force it to upade with updateAfterEvent 10 time faster than framerate. Anyone know ? --- erixtekila http://blog.v-i-a.net/ ___ 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] Can this be true?
I get 23/24/23/24/23/24 and finally only 24 -- SalU2 f a r i d | s i l v a | a b o i d www.e-foco.com.ar tel: +54 11 4115-0773 cel: 15-5774-8005 Moderador de Salas Dreamweaver y Programación Multimedia User Group Adobe Argentina http://www.mmug-ar.com.ar ___ 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