Skip to content

Instantly share code, notes, and snippets.

@djcsdy
Created February 12, 2011 17:38
Show Gist options
  • Save djcsdy/823903 to your computer and use it in GitHub Desktop.
Save djcsdy/823903 to your computer and use it in GitHub Desktop.
Example of creating a bimap thumbnail of a sprite/movieclip in Flash/AS3
var matrix:Matrix = new Matrix();
matrix.scale(0.2);
var bitmapData:BitmapData = new BitmapData(width, height);
bitmapData.draw(movieClip, matrix);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment