PDA

View Full Version : Problems of desync speed between elements


field3d
12-29-2005, 04:56 AM
I have a trouble i made my .fla files and published to swf in my laptop 1ghz speed. In that laptop all runs ok fine and pretty. But when i run that same swf or fla in other machine like pentium 4 3ghz. . I have Problems of desync speed between elements for an example i used a text fade in and fade out meanwhile a voice is talking in all the swf file. That text runs faster than my voice.
I published in flash player 6 to max compatibility 800 *600 px resolution is my work page and 12 frames per second.
The strange is in my laptop 1ghz where i made the fla runs excelent the text is syn with the voice.
I need solve this because i need the swf to run in different machines. Any suggestion will be apreciated

oldnewbie
12-29-2005, 05:23 AM
To maintain a somewhat thight sync, the sound's Sync must be set to "stream" and not "event", and as many frames added on the timeline, as needed to see the whole of the sound's modulations...

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

field3d
12-29-2005, 04:33 PM
ok My master of audio si in mp3 file. 128k, 44100, 16, stereo. I heard about streaming an audio file to use with flash how can i streami the audio file wich tool Or only i need to do import to library and in properties option put instead event, slect stream sync and thats all?

oldnewbie
12-29-2005, 05:48 PM
There's a big difference between dynamically loading a "streaming" mp3, and setting a sound's Sync (in the properties) to "stream".
You need to set your sound on the timeline, and set it's Sync to "stream", and then add as many frames as needed till you come to the end of the sound, a straight blue line with no modulations.
Stream sounds only play the frames that are on the timeline... If you only have your sound on one frame, you'll hear norhing.

The animation is usually done after the sound has been set in that manner, so that you can sync it based on the sound's modulations. Setting the sound to "stream" after the animation is done, may not always work, and you may nedd to redo your animation.