Groups | Blog | Home
all groups > flash (macromedia) > november 2006 >

flash (macromedia) : Synchronization Problem



Chris Georgenes
11/21/2006 2:49:51 PM
where is the animation? on main timeline or inside the same graphic symbol? what frame does the
graphic symbol start on?

~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Gushousekai195
11/21/2006 7:17:03 PM
I have a graphic layer and in the properties, I've added a wav. file (size is
115 KB) to be synced with it. The problem is that when I test the movie, the
sound comes before the animation.

I have this sound set to "Stream", too.

I also inserted a button in this Flash movie that allows me to rewind back to
earlier parts of it, and when I use it and the part with the sound and graphic
plays again, the sound and graphic are in perfect sync.

Is there any solution to this issue? :sad; :confused;
Nickels55
11/21/2006 8:18:52 PM
Chris Georgenes
11/23/2006 1:08:14 PM
I'm not sure how much clearer that can be - the main timeline is, well, for lack of a clearer
definition - the main timeline - the one you see when you start a new doc. Sorry if i mis understood
you but this is as basic as it gets with flash - flash can have multiple timelines - graphic symbols
and movie clip symbols have their own timelines - any number of frames and layers - graphic symbols
are in syn with the main timeline while movie clips are not.

~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Gushousekai195
11/23/2006 4:43:00 PM
What do you mean by [Q]on the main timeline, or in the same graphic symbol[/Q]?

Gushousekai195
11/23/2006 6:57:55 PM
Gushousekai195
11/23/2006 7:01:06 PM
Chris Georgenes
11/23/2006 9:47:53 PM
doesn't matter - the timeline in flash has not changed much since the very first versions. but noted.
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Chris Georgenes
11/23/2006 9:52:29 PM
ok - it may be time to post your FLA for us to look at - i had to go back to your intial post to
[quoted text, click to view]

"I have a graphic layer and in the properties..."

First of all - there is no such thing in flash as a "graphic layer", so not sure if this means
"layer" or "graphic symbol" or "graphic symbol on a layer on the main timeline."



"I've added a wav. file (size is
115 KB) to be synced with it."

If the animation is on the main timeline or in a Graphic symbol that is on the main timeline, is the
wav file inside the graphic symbol or on the main timeline?



"The problem is that when I test the movie, the
sound comes before the animation. I have this sound set to "Stream", too."

"this sounds like a simple case of the sound not in sync with the animation because you simply yare
not starting them at the same frame.



"I also inserted a button in this Flash movie that allows me to rewind back to
earlier parts of it, and when I use it and the part with the sound and graphic
plays again, the sound and graphic are in perfect sync."

Then copy/paste the code for the button - where is the button telling the playhead to go and why
would this frame be different?

Now, your latest reply you say this:
"I am animating a movie clip, so animation is both in the timeline and in the graphic symbol."

So which is it? A Graphic symbol, a movie clip symbol or on the main timeline - I still can't tell.

~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Chris Georgenes
11/24/2006 4:18:27 PM
well that would make perfect sense why it would not be in sync if it were explained in the intitial
post - MCs timelines are independant from all other timelines - so if you audio is on a different
timeline that their are 2 different playheads playing.
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Chris Georgenes
11/24/2006 4:19:59 PM
Yeah i think my confusions was because you originally said "graphic layer" (which isn't flash
terminology) and then corrected youself by saying it was a "graphic symbol" which makes more sense
but then finally corrected yourself and said it was in a movie clip. All are very important keys
bits of information.


~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Gushousekai195
11/24/2006 8:02:56 PM
Well, I think I meant "graphic symbol", but the object I'm animating is a
movie clip and I used to have the sound for it inside the frame it is in on the
main timeline. But, I moved the sound to a separate layer later.
Chris Georgenes
11/25/2006 9:43:03 PM
here's the deal, setting sounds to "stream" insures that it gets embedded into the timeline it is
in. From there it is just a matter of setting your animation to happen in sync with it. Can we
please see your fla or get a very detailed explaination as to where your animation is in relation to
this sound? So far you have said it is in a graphic symbol and then siad it is in a movie clip -
these are 2 very different things and can help us a lot if you can clarify these.

also - where is the sound in relation to the animation?
provide the fla so we can finally solve this for you quickly and efficiently - hearing what your
styepdad thinks about moving sound 1 frame before makes no sense at all. if it is set to stream and
animation is on the same timeline then the issue is your code on your rewind button.

~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Gushousekai195
11/26/2006 2:25:24 AM
My stepdad, who is familiar with Flash, said that I should move the sound to a
frame before the animation, test the movie, and see if the animation is in sync
with the sound and keep moving the sound to where it would sound like the sound
is in sync with the animation.

I don't think that's a good idea since the fact that it would sound out of
sync when I pressed the rewind button in my Flash movie to the moment before
the animation and sound occur, and let it play through that part.
Chris Georgenes
11/28/2006 10:39:40 AM
Why would it be "illegal"? People post code all the time and there are millions of flash source
files all over the web for years. If your code it completely custom to a project that is protected
by you or your company, then do not post it - if this is the case, it must be some pretty slick code
to send the playhead back to the beginning :)


~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~




[quoted text, click to view]
Gushousekai195
11/28/2006 2:47:22 PM
Gushousekai195
11/29/2006 10:33:32 PM
Okay.

By the way, I recently received Flash Professional 8 (Education edition) and
so I'm using that version now. (Synchronization problems still persist.)

The code for my Rewind button is:

on (press) {
gotoAndPlay(_currentframe-20);
}
AddThis Social Bookmark Button