hi guys,
Havent really had the opportunity to use the BitmapData class till today.. im having a slight problem in the following code ... the movieclip mc is a small sqaure ... however when i use the Bitmap Data class to display it ..it seems to scale it down to about half the size of the original...
the following code is in an empty fla, with a square movieclip "mc" on stage
ive attached the fla for u to see as well...Code:import flash.display.BitmapData; var bmp:BitmapData = new BitmapData(mc._width, mc._height); bmp.draw(mc); var target:MovieClip = this.createEmptyMovieClip("mcContent", 1); target.attachBitmap(bmp, 1);
im sure im missing something obvious ..but i cant seem to see what ..
thanks in advance




Reply With Quote