Re: [Flashcoders] Can this be true?

2006-05-03 Thread erixtekila
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.

Re: [Flashcoders] Can this be true?

2006-05-02 Thread f a r i d | s i l v a | a b o i d
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 __

Re: [Flashcoders] Can this be true?

2006-05-02 Thread erixtekila
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/

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread Patrick Matte
es it only skip frames? If so does it run scripts in the > scipped frames? > > /David > > - Original Message - > From: "Michael Kønig" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, May 02, 2006 10:42 PM > Subject: Re: [Flashcoders] Can this b

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread David Skoglund
kip frames? If so does it run scripts in the scipped frames? /David - Original Message - From: "Michael Kønig" <[EMAIL PROTECTED]> To: 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 te

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread John Dowdell
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 mac

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread David Skoglund
kip frames? If so does it run scripts in the scipped frames? /David - Original Message - From: "Michael Kønig" <[EMAIL PROTECTED]> To: 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 te

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread Michael K
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 To: Flashcoders mailing list Subject: Re: [Flashcoders] Can this b

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread John Dowdell
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

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Cedric Muller
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 s

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Ian McGregor
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 m

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Michael K
AIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list 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

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Patrick Matte
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 fram

Re: [Flashcoders] Can this be true?

2006-05-02 Thread David Skoglund
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 r

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Zeh Fernando
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, i

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Jim Robson
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

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Josh Buhler
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

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Martin Tremblay
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;

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Michael K
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 To: "Flashcoders mailing list" Subject: RE: [Flashcoders] Can this be true? Date

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
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 >

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Michael K
IL PROTECTED]> Reply-To: Flashcoders mailing list To: "Flashcoders mailing list" Subject: RE: [Flashcoders] Can this be true? Date: Tue, 2 May 2006 15:40:55 +0100 I get 23 too, I think there must be something wrong with the FPS counter code. M > -Original Message- > From: [E

Re: [Flashcoders] Can this be true?

2006-05-02 Thread eric dolecki
2 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

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Geoff Stearns
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 mo

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
alf > 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 >

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
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?

2006-05-02 Thread Michael K
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