How would I go about implementing that? eg: public class PageVO implements IExternalizable { public function get bitmapData():BitmapData { return _bitmapData; }
public function set bitmapData(value:BitmapData):void { _bitmapData = value; } public function writeExternal(output:IDataOutput):void { } public function readExternal(input:IDataInput):void { } } To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Thu, 18 Aug 2011 13:46:59 -0700 Subject: Re: [flexcoders] BitmapData Argument: Error #1063: Arg count mismatch on object util.copy 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