This content has been marked as final. Show 3 replies
attachMovie completes immediately, but only the first frame of the attached movieclip is instantiated immediately.
Gotcha. Well for some reason I guess the VideoPlayer component of the FLVPlayback isn't loading right away because when I call the function it's undefined. Maybe I'll just put all those calls in a function and do a setInterval for 1 second. Thanks for the reply.
I think I had read something somewhere about how the first "order" of children are avaialble immediately, but any children of those children take a frame to become available. I'm not explaining that correctly probably, but it is likely what is going on.
I don't think you will need 1 second that is a really long time! More likely 10 to 50 milliseconds – or whatever your framerate would require. It is kind of an ugly hack, but something like using an onEnterFrame for one frame and then deleting it will give you the minimum certain delay.