Hi we have a component some thing like this. This code works properly with Flex
2, but when we try to migrate to flex 3 we are getting ERROR
1067: Implicit coercion of a value of type Array to an unrelated type
classes.ixrev.industry:ResultObject.
CellData.mxml
-------------
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
xmlns:MyComps="common.*">
.....
....
<mx:Script>
<![CDATA[
[Bindable]
public var result:ResultObject = null;
........
........
]]>
</mx:Script>
<MyComps:detailListingCommodity id="detailListingId" headerIndex="0"
verticalAlign="top" result="{result}"/>
</mx:Canvas>
detailListingCommodity.mxml
---------------------------
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
creationPolicy="all">
<mx:Script>
<![CDATA[
[Bindable]
public var result:ResultObject = null;
..........
..........
]]>
</mx:Script>
....
....
</mx:VBox>
I dont't know why it needs implicit coercion, both are type ResultObject.
Anybody have any idea?
Thanks
-Sruthi