[Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
Just messing around converting some double buffering AS2 routines to AS3 when I stumbled upon lock() and unlock() - does this make double buffering unnecessary? I'm not noticing any immediate speed differences between my routine using double buffering and my test with lock()/unlock(). Cheers M

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread dan
WHEN IS FLASH WITH AS3 COMING OUT? NOT THE BETA? ANY IDEAS? ___ 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

Re: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Meinte van't Kruis
from the AS3 reference: Locks an image so that any objects that reference the BitmapData object, such as Bitmap objects, are not updated when this BitmapData object changes. To improve performance, use this method along with the unlock() method before and after numerous calls to the setPixel()

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
Subject: Re: [Flashcoders] AS3 bitmapdata lock/unlock from the AS3 reference: Locks an image so that any objects that reference the BitmapData object, such as Bitmap objects, are not updated when this BitmapData object changes. To improve performance, use this method along with the unlock

Re: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Nicolas Cannasse
WHEN IS FLASH WITH AS3 COMING OUT? NOT THE BETA? ANY IDEAS? With next version of haXe you'll be able to build Flash9 content ;) http://haxe.org Nicolas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Hauwert, Ralph
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: woensdag 16 augustus 2006 11:43 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 bitmapdata lock/unlock from the AS3 reference: Locks an image so that any objects that reference the BitmapData

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
: [Flashcoders] AS3 bitmapdata lock/unlock Actually doublebuffering or pageflipping routines could easily use these functions for optimizations. The thing is, that as soon as you swap out one bitmapdata for another (or the holder bitmap class), you lock it anyway. The lock function on itself

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Hauwert, Ralph
about 200Ms of difference in WS size. Ralph. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: woensdag 16 augustus 2006 12:19 To: Flashcoders mailing list Subject: RE: [Flashcoders] AS3 bitmapdata lock/unlock Hi Ralph If you're feeling

Re: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread David Rorex
in WS size. Ralph. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: woensdag 16 augustus 2006 12:19 To: Flashcoders mailing list Subject: RE: [Flashcoders] AS3 bitmapdata lock/unlock Hi Ralph If you're feeling generous I'd be interested