Created
February 12, 2011 17:38
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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