Hello all from dummy!
In my application I try to change VideoDisplay source multiple times.
while (i < CERTAIN_NUMBER)
myVideoDisplay.source = "assets/movie/MovieClip-" + String(i);
It works of about 7-10 times, and then my browser hangs...
But I need to play much more videos...
I would appreciate if somebody could help me to fix this problem.
I mean, if somebody could tell me how to play a number of progressively downloaded videos properly, so that my browser never hangs.
Seems, the solution is in using FLV format instead of F4V...
Create VideoElements yourself and share one NetLoader.
var netLoader:NetLoader = new NetLoader(true); videoDisplay.source = new VideoElement(netLoader, new URLResource(new URL(streamPath1))); videoDisplay.source = new VideoElement(netLoader, new URLResource(new URL(streamPath2)));