Clone with bitmapdata


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var bmpData:BitmapData = new BitmapData(800,800, true, 0x00000000);
  2. bmpData.draw (myClip);
  3. var bmp:Bitmap = new Bitmap(bmpData);
  4.  
  5. this.addChild(bmp);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.