Hi there, I’m having some problems (on the client’s side… isn’t that always the case!!!) regarding some performance issues, where the audio takes a while buffering before playing, and where the audio would pause mid-way. Now, I know the way I create my files is a bit old-fashioned and probably not the best way. If someone can just help me and direct me on how to fix this “never-ending” problems, I would love to meet you and shake your hand! Otherwise, I will start applying for a job at Starbucks!
So… the audio files were first created in QuickTime, and then compressed with Sorenson Squeeze 5 with “F8_FastStart_512K” settings, modified the data rate to 64 Kbps, and sample rate of 44100. I disabled the video section, since there is none. And I’ve output the file into an embedded video swf file. (I know, this is very old-fashioned… but it’s the only way I know how to cue audio points my way).
And the way I load these external audio swf files is by loading them into a blank movieClip on the stage ( audioClip.loadMovie(“audio1.swf”) ). I would then apply an onClipEvent (enterframe) on the audioClip to play the file. And use the this._currentframe==X to trigger my cue points (play/pause the animation… gotoAndStop(x)… etc.) And when the audio has finished, the audioClip would be unloaded. This method of mine has served me well over the past few years on different projects, but recently… since about 6 months ago… my clients would start having problems… mainly performance issues where audio wouldn’t load, thus the cue points would not get triggered, and the whole animation would then get stuck etc. And it’s not always consistent. I’ve tried testing my files on my office computer, home computer, other people’s laptops (both Mac and PC), on different internet bandwidth… and I can’t seem to duplicate what my clients are experiencing. Thus, I’ve no way to find out what is freaking wrong with my files. I’m not sure if it’s the way I’ve programmed it… or if I should start learning AS3 (don’t even know if that’ll fix my problem)… or just hang myself right now.
So, somebody out there, if you have any clue on what could cause this hell, please reply to this post. I would greatly appreciate it!!!
Note: I’m using Flash CS3, but writing in AS2.
Thanks!!!