/ Published in: ActionScript 3

if you have a bitmapData Object with transparent content and some colored pixels, you can get the bounds for those pixels with this method
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var bounds : Rectangle = myBmpData.getColorBoundsRect(0xFFFFFFFF, 0x000000, false);
Comments
