FrameRates
- Started
- Last post
- 23 Responses
- CX
I made a Flash presentation to be put on a CD-ROM. How can I be sure the frame rates stay the same on other computers so that the audio wont get out of sync?
- shellie0
do on event not stream it it should be find one cd if you bump the frame rate to 20-25
- CX0
OK each part is one long mp3 file with the animation going in sync with the sound. Event is OK for that?
- shellie0
yup. do a test run. if the computer is slow the animation will drop frames to catch up but at least it will be in sync.
- shellie0
if you dont do on event on a very fast computer.. one fasterthan yours.. the animations may move faster than the movies maybe.
- chokethefat0
shellie knows it all..:) go girl!! i love smart girls!! they rock! +prettie ones too..wooww..cant ask for more, can ya..
- PanchoPimpXL0
Sorry to burst your bubble... but event will do the exact opposite of just that.. you have to use Stream to have it sync with your animations... the flash movie will then drop frames to catch up if it needs to on slower machines... it really doesnt matter what frame rate you use... as long as you remember that faster machines handle higher frame rates better.
- autonoma0
PanchoPimpXL is correct. If you place a sound on a frame as an event, and then hit enter to get the playhead rolling, then hit enter again to stop it, the sound will continue playing. On the other hand, if you set it to stream it automatically syncs up with the frames and will stop when the movie stops. Just try not to have any really heavy animations or lots of looping scripts going at the same time as the sound is playing.
- CX0
Can you specify event or stream when using the Sound object/attachSound?
- Seph0
Stream will sound really bad quality compared to event, you have to bump the quality settings right up I think.
If you want it to follow a beat then try make another sound track that just blips on every beat, whack that in your timeline and synch everything up to where the blips are, then replace you blippy audio with the real thing, set to stream and hey presto, a rollerdisco in your own bedroom.
- CX0
Anyone know the answer to my last question?
- PanchoPimpXL0
Yes indeed you can...
thisSound.loadSound("whatever.mp... true);
true being stream and false being event.
- shellie0
hmmm.. are you guys sure? try both and test on different computers.
- PanchoPimpXL0
Yes... I've done plenty of sound on both MAC and PC platforms, as well as operating systems... the computer doesnt matter... the program's results are the same. Just make sure you try and keep diff sounds on diff layers... placing sounds on the same layer will render some wacky results.
- CX0
BTW shellie you seem cool and are cute too. Nice site/work and client list. Amerie is my woman.
- shellie0
thankyou
- CX0
Pancho, can add this
thisSound.loadSound("what
ever.mp3", true);to this code:
snd01 = new Sound();
snd01.attachSound("snd01");
snd01.setVolume(95);
snd01.start(0, 1);or is that part just for loading an mp3. Right now I have no mp3 load (probably should). Its for a CD-ROM though so I didnt bother as of yet.
- sauerbraten0
definately stream.
if you are doing something in which you depend on sound to sync with animation, you HAVE to use streaming sound, it works best if you combine all your sound in an external sound program and export it as one file into flash, if not, make sure if you have a short sound that you insert a blank keyframe after the sound, and give THAT frame a sound setting of stream, this will make sure flash ends the sounds when you want it to..
- cesar0
I don't think so. Ok this is what I have done:
I have a flash exe playing off a CD-Rom. I have a video inside the rom. When i hit the play button, video and audio are in sync until about half way, then it you get the "look its godzilla effect".
I imported the audio into the video fla and set the audio to stream. What I have found is that the stream option is unreliable.
- CX0
I cant believe how slow the frame rate is on a mac.
Anyway, im using attachSound not loadSound because its on a CD.
It seems that with attachSound its always an event and you can't set it to stream like with loadSound.
Can you use loadSound on a CD-ROM and have the URL be some file path on the CD instead of a live URL?
- JazX0
I don't understand? Your audio should stay the same no matter what? It's already embedded within Flash itself right? You could also have the Flash Presentation install itself on the user's computer and then it will play just fine not sourcing the CD, obviously.