Class sandy.util.BitmapUtil

Description

Utilities for the BitmapData object

Method Index

getScaledBitmap(), movieToBitmap()

Method Detail

movieToBitmap

static public function movieToBitmap(mc:MovieClip, pTransparent:Boolean, pColor:Number):BitmapData

Convert a movieClip to a bitmapData. Take care of the movieclip position. The simple BitmapData.draw method doesn't take care of the negative part of the movieclip during the draw. This method does.

Parameters

mcThe movieClip to convert to a Bitmap

Return

BitmapData

getScaledBitmap

static public function getScaledBitmap(b:BitmapData, scalex:Number, scaley:Number):BitmapData