Fantastic, don't know how I missed this. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of John VanHorn > Sent: 15 December 2006 04:33 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Attaching bitmap data to arbitary coords > > http://chattyfig.figleaf.com/pipermail/flashcoders/2006-July/1 69819.html > > On 12/12/06, Mike Mountain <[EMAIL PROTECTED]> wrote: > > > > Charles > > > > I'm well aware of both those methods, but they still won't let you > > position the bitmap data anywhere other than with the registration > > point at TL or positively offset from the TL. > > > > Cheers > > > > M > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Charles Parcell > > > Sent: 11 December 2006 17:30 > > > To: Flashcoders mailing list > > > Subject: Re: [Flashcoders] Attaching bitmap data to > arbitary coords > > > > > > You can of course use copyPixels() as well. > > > > > > http://livedocs.macromedia.com/flash/8/main/00001948.html > > > > > > Charles P. > > > > > > > > > On 12/11/06, Charles Parcell <[EMAIL PROTECTED]> wrote: > > > > > > > > Yeah, I think you are looking for the draw() method of > BitmapData. > > > > > > > > http://livedocs.macromedia.com/flash/8/main/00001950.html > > > > > > > > See the comments as well. > > > > > > > > Charles P. > > > > > > > > > > > > > > > > On 12/10/06, Martin Jonasson <[EMAIL PROTECTED]> wrote: > > > > > > > > > > This is what i use in i a project of mine: > > > > > > > > > > var myMatrix:Matrix = new Matrix(); > > > > > myMatrix.rotate(clip._rotation * 0.0174532925199433); var > > > > > translateMatrix:Matrix = new Matrix(); > > > > > translateMatrix.translate(clip._x, clip._y); > > > > > myMatrix.concat(translateMatrix); > > > myBitmapData2.draw(clip, myMatrix) > > > > > > > > > > (this is stolen straight from my code, with nothing added > > > to make it > > > > > more understandable, but it should be rather self explanatory) > > > > > > > > > > > > > > > Mike Mountain skrev: > > > > > > Consider the following, Flash 8: > > > > > > > > > > > > var w=200 > > > > > > var h=200 > > > > > > holder=this.createEmptyMovieClip ("bmp1", > > > > > > this.getNextHighestDepth()); var bmpData1:BitmapData = new > > > > > > BitmapData(w, h, true, 0xFFFF0000); > > > bmp1.attachBitmap(bmpData1, 2, > > > > > > "auto", true); > > > > > > > > > > > > This will attach the bitmapdata so it's top left is > situated > > > > > > at the > > > > > reg > > > > > > point of the mc, how do I attach it, or later move it > > > so the reg > > > > > > point of the MC is situated at any point I wish, > > > without using nested MC's? > > > > > > > > > > > > The problem being I want to make an exact bitmap > copy of the > > > > > > contents > > > > > of > > > > > > an MC, which could have it reg point set anywhere - and > > > I want the > > > > > > new copy to inherit the same registration point, but > > > like I said > > > > > > before - without having to resort to nested MC's - > > > surely this is > > > > > > possible and I'm missing something blindingly obvious? > > > > > > > > > > > > Cheers > > > > > > > > > > > > M > > > > > > > > > > > > _______________________________________________ > > > > > > Flashcoders@chattyfig.figleaf.com To change your > subscription > > > > > > options or search the archive: > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > Brought to you by Fig Leaf Software Premier > Authorized Adobe > > > > > > Consulting and Training http://www.figleaf.com > > > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Flashcoders@chattyfig.figleaf.com To change your subscription > > > > > options or search the archive: > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > Brought to you by Fig Leaf Software Premier Authorized Adobe > > > > > Consulting and Training http://www.figleaf.com > > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > _______________________________________________ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com http://training.figleaf.com > > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com http://training.figleaf.com > > > > > > -- > John Van Horn > [EMAIL PROTECTED] > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com