这是我的代码,看看有什么错,谢谢!
而且stage拖动,member中的图象就错位。
property newBipMap,pStageRect,pStageWidth,pStageHeight
on beginsprite me
pStageRect=(the stage).rect
pStageWidth=(the stage).rect.width
pStageHeight=(the stage).rect.height
end
on mouseUp me
newBipMap=new(#bitmap,member(10))
newBipMap = image(pStageWidth,pStageHeight,32)
newBipMap.copyPixels((the stage).image, rect(0,0,pStageWidth,pStageHeight), (the stage).rect)
member(10).image=newBipMap
end