Forums: Flash:

 

Audio synch question

first
 

es! Audio synch question

So I find myself fighting with some timeline-based Flash movies, wherein I need to synch text in a textfield with an audio track. Piece of cake, right?

Wrong.

The way the movies are set up, each has a single audio track, some animations, and a layer which contains a single text field which, on hitting keyframes, swaps out its text.

The synching works perfectly in the Flash 10 player, but becomes gradually more out-of-synch in FP9. On the timeline, everything looks to be perfectly in synch. When I preview in CS3, everything is in synch.

Any thoughts on what to do with this? I assume this is a Known Issue somewhere, but my google-fu appears to be weak today.

We are already 200% over budget, so the quick-and-dirtier the fix, the better.

Thanks for your help

PS: I fuggin HATE the timeline!

-------------------------------------------
blog ::: photos
quote
 

Storm

If it's narration, you could always splice the audio into phrases and trigger the next phrase and the text box together with keyframes. That way the readjustment of dropped frames would result in maybe only slightly longer 'breaths' as Flash realigns itself.

I have always preferred the timeline and it always worked, but I honestly can't say how reliable our old tricks are with the new iterations of flash.

It's probably worth asking at Adobe too though. If the timeline is out of sync consistently across versions then there's a problem.

 

es!

Solved it in a hack-ish way:


//frame 1
var sc = System.capabilities.version.split(",")[0].split(" ")[1];
var is9 = (sc=="9") ? true : false;

//frame 90
if(is9) this.movieText.text = "";

//frame 100
this.movieText.text = "";

//frame 180
if(is9) this.movieText.text = "";

//frame 200
this.movieText.text = "";


Ugly hack, but it works. I had no idea that you could detect the player version with Actionscript. K3wl!

-------------------------------------------
blog ::: photos
quote
 
first
 

Forums: Flash: Audio synch question

 
New Post
 
You must be logged in to post