PDA

View Full Version : video-audio sync problem when loading external swf


danielanvar
09-02-2005, 12:58 PM
hi.
i'm loading external swf using MovieClipLoader and playing it, and i've noticed that the audio-video sync of the loaded movie changes, it's not in sync - while playing the swf thru the flash player the sync is fine.
anyone knows why is that?
does it depends on the type of audio (streamig... etc) or another thing?

thanks

oldnewbie
09-03-2005, 04:13 AM
To maintain the best sync, audio's Sync must be set to "stream" (different than a streaming sound...) and not to "event"...

http://www.macromedia.com/support/flash/how/expert/sound/sound07.html

danielanvar
09-03-2005, 10:52 AM
yes, that did the trick...
when setting the sound to stream it forces the swf to play at it's original frame-rate and no the frame rate of the loader swf.