RE: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Mike Mountain
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 =

Re: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Zeh Fernando
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,

Re: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Niclas Ã…berg
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;