This content has been marked as final. Show 4 replies
You can get the image of the stage by using the command:
That image can be put into a bitmap member easily. 1st make a bitmap
member. Let's name it "stageImage"
Then do this:
voila! The current stage is now in your bitmap member. If you want
only a portion of the stage, then crop it:
Now that bitmap has just the top left corner. Change that rect to
whatever is appropriate for your usage.
myBitmap =sprite(me.spriteNum).newobject("flash.display.BitmapData",sprite(me.spriteNum).width,spr ite(me.spriteNum).height,true,"0x0ccFFFFF")
btw, you can get the image of a flash member easily enough using something like this:
flashImage = member("flash member").image