January 13, 2012 at 1:33 pm | blabbing, Flash, web.

Flash has a finite amount of frames in any given SWF that can be compiled. 16,000 in fact. So how do you know if your streaming audio will fit in a single SWF file? The easiest thing is to put them in different SWF files and call them in one at a time or nest them in movieclips. But if this is not an option for you, here is an easy way to figure it out.

(((Minutes x 60) + seconds) x Frames a second of your Flash)

Say you have 9:27 seconds of audio. How many frames will this take? Well if you do this at 30 frames a second it will be 17,010. (((9 x 60) + 27) x 30 frames a second) Clearly over your limit. Looks like you will have to cut your frame rate. How about 24? That comes out to 13,608 and this is under your limit.