9 Replies Latest reply on Nov 17, 2011 9:54 AM by Peter Celuch

    draw a bitmapdata from .flv frame

    JeanPaulRossi Level 1

      hi to everybody

      this is what happens Me,

      I want to extract a bitmapdata from one of the first frames of a video flv, and it works correctly in Flash debug with these statements:

       

           NetStream.pause();

           bmp = new BitmapData(clip.width,clip.height);               // bmp is a bitmapdata, clip is e Video class

           bmp.draw(clip);

       

      When i test this in www, the statement bmp.draw() not work, I've inserted trace statements before and after this, and only the first are displayed.

      This means that the program stop at bmp.draw() statement.

       

      does someone have some idea?

       

      thanks in advance