13 Replies Latest reply on May 19, 2007 2:44 PM by kglad

    screenshots from external swfs

      How can i draw a movieclip that contains an external swf onto a BitmapData variable?
      I'm loading the movieclip with:

      Then i initialise the BitmapData var with:
      var snap:BitmapData = new BitmapData(Math.floor(nwidth), Math.floor(nheight),false);

      When a button is pressed i try this:
      snap.draw(moviecontainer,new Matrix());

      I expected the BitmapData snap to contain a screenshot from the external swf pacman.swf, but it doesn't.
      Does anyone know what i'm doing wrong?