AS3 : Preloading mulitiple flvs
Posted on 2010-04-04
I have 55 flvs that I would like to preload so they are available for play when I need them in an online test. The code below successfully loads 2 of the flvs, but I have some questions before proceeding:
--should I have 1 netstream per flv?
I believe that is what is needed, preload and position them at 0 and then I should be able to play them later. Would I also need 55 Video objects as well (even though at this point the flvs are sound only)....But, then another question:
--in AS3, how do I create variable names on the fly, which I did in AS2 like this for example for loadVars():
_root[nyData+i] = new loadVars();
Thanks a lot!