RE: [flexcoders] ObjectUtil.copy() and Dictionaries

2009-11-06 Thread Alex Harui
Might be a bug.  Not sure they expected Dictionary to be serialized.  You might 
have to write your own copy function.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of seanmcmonahan
Sent: Thursday, November 05, 2009 1:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ObjectUtil.copy() and Dictionaries



I have an AIR project setup in Flex Builder 3 that copies a subclass of 
flash.utils.Dictionary just fine with ObjectUtil.copy() when the target player 
is set to 9.0.28. However, when the target player is set to 10.0.0 I get the 
following error when attempting to make a copy:

TypeError: Error #1034: Type Coercion failed: cannot convert 
flash.utils::diction...@2743cf71 to com.elasticsales.utils.ElasticDictionary.

Does any one have any insight into why this is happening?



[flexcoders] ObjectUtil.copy() and Dictionaries

2009-11-05 Thread seanmcmonahan
I have an AIR project setup in Flex Builder 3 that copies a subclass of 
flash.utils.Dictionary just fine with ObjectUtil.copy() when the target player 
is set to 9.0.28.  However, when the target player is set to 10.0.0 I get the 
following error when attempting to make a copy:

TypeError: Error #1034: Type Coercion failed: cannot convert 
flash.utils::diction...@2743cf71 to com.elasticsales.utils.ElasticDictionary.

Does any one have any insight into why this is happening?