You can implement IExternalizable on the object that references the bitmapdata


On 8/18/11 11:57 AM, "method_air" <loudj...@hotmail.com> wrote:






I'm creating a deep copy of an object which has a BitmapData property using 
ObjectUtil.copy and 'registerClassAlias', eg:

registerClassAlias("flash.display.BitmapData", BitmapData);

...but I'm getting the error: ArgumentError: Error #1063: Argument count 
mismatch on flash.display::BitmapData(). Expected 2, got 0

Is there a workaround?

Thanks,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to