I had the same problem a while ago, here was my final solution
[as]
import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Point;
import flash.geom.Matrix;
//
function staticCloneMC(target, mc, padding) {
var bounds = mc.getBounds(mc);
var offset_y =
Hi all,
I'm using the BitmapData.draw method, and I've bumped into a problem. I
need to copy all the pixels from a movie clip, including the pixels
which are on negative coordinates. I've only succeeded copying the ones
on positive coordinates. Has anyone experienced the same thing, and,
Mike,
You have, quite literally, saved the day! Thanks a lot for the very
useful and quick response.
Niclas
Mike Mountain wrote:
I had the same problem a while ago, here was my final solution
[as]
import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Point;
3 matches
Mail list logo