-
Bitmapdata
Hi
Lets say I have an image imported into flash of a character ( person ). I convert this to a movie symbol and call the instance "Character". I have the following code which creates a new bitmap movie clip:
import flash.display.BitmapData;
var NewBitmapData:BitmapData = new BitmapData(this.Character._width, this.Character._height, false, 0x00CCCCCC);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc.attachBitmap(NewBitmapData, this.getNextHighestDepth());
This works great to create a grey box the same size as the character movie. But how do I then copy the the character image to the new clip area?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|