2 Replies Latest reply on Jan 10, 2011 11:29 PM by Ticore

    Flex 4. How to change VideoDisplay source multiple times properly?

    Fuzzy Barsik Level 4

      Hello all from dummy!

       

      In my application I try to change VideoDisplay source multiple times.

      E.g.

       

      while (i < CERTAIN_NUMBER)

      {

           myVideoDisplay.source = "assets/movie/MovieClip-" + String(i);

           myVideoDisplay.play();

           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.