0 Replies Latest reply on Jan 23, 2008 2:46 PM by relief8

    AttachBitmap problem

    relief8 Level 1
      Is there a way to capture everything that is in a specific movieclips current frame and attach it to another movieclip?

      This is what I am using now but it only copies frame 1 of the proModel movieclip and not the current frame it is on.

      var sourceMC = _parent._parent._parent.proModel; // mc to copy from
      var bd = new flash.display.BitmapData(sourceMC._width,
      sourceMC._height); // create bitmap data
      bd.draw(sourceMC); // copy the source MC into the bitmap data
      destinationMC.attachBitmap(bd,100); // attach the bitmap data to where you want it copied to