Just out of curiosity, did you try setting the Flash framerates to "lock
step"?  If so, how well or poorly did it work?

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29


----- Original Message -----
From: "Leah Kramer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 2:40 PM
Subject: <lingo-l> interesting Flash synch helper


We've been around the block a million times with trying to get hundreds of
Flash animations to look good, sound good and stay synced to their voiceover
in
Director and I thought I'd share a solution that's working out really well
so
far.

A little background:
For sound quality reasons (especially on Windows) we found that we cannot
play
sound through Flash.  It stutters, pops, etc. on Windows.  If we COULD play
the
sound thru Flash, then we would just use the stream synch setting on the
sound
in Flash and then when needed, Flash would drop frames to keep up with the
sound.  So, we ended up having to keep the sound as a separate cast member
from
the swf cast member and then play them both at the same time.

This means that Flash does no skipping frames at all.  So on slow machines,
if
the Flash movie had to slow down to 10 fps (from 15 fps) then the
character's
voiceover would end at point A but the Flash animation would keep flapping
it's
lips until point B.  Very ugly.

So, the solution we came up with was to go into the sound file and put a cue
point into it at every 15 "frames."  We named these "15", "30", "45", etc.
for
ease and then I wrote an "on cuePassed" handler that when called, forces the
Flash animation to jump to the frame number that matches up with the cue
point
that was just passed.

While this probably doesn't look as good as how Flash would choose to drop
frames, I'm really impressed with how well it works.

Just though I'd share...







__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to