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: [email protected] 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 <[email protected]> >To: Flashcoders mailing list <[email protected]> >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 > > > > > > _______________________________________________ > > [email protected] > > 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 > > >_______________________________________________ >[email protected] >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 _______________________________________________ [email protected] 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 _______________________________________________ [email protected] 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

