0 Replies Latest reply on Oct 17, 2010 1:25 AM by bryant_16

    How to capture multiple panels as screenshot?

    bryant_16 Level 1

      Hey guys,


      I got this screenshot method which does the snapshot of the application.


      public function takeSnapshot(target:UIComponent) :void


      var bd:BitmapData = new BitmapData(target.width,target.height);



      var ba:ByteArray = (new PNGEncoder()).encode(bd);

      (new FileReference()).save(ba, "screenshot.png");





      public function screenshot():void





      I got other panels as well, how do I put them together and screenshot out as png?