I have two AS3 classes, A and B. Class A contains an ArrayCollection that will hold multiple instances of class B.
In ColdFusion, I have matching CFCs, with same-named variables in the same order, as well as cfproperty tags for each variable.
The AS3 classes both use the RemoteClass metadata to associate them with their CFC counterparts.
The problem is that, while A.cfc comes back from CF and populates the A.as instances appropriately, I can't get any of the nested B.as instances to populate. Instead, I get this error:
TypeError: Error #1034: Type Coercion failed: cannot convert []@2f4465f1 to mx.collections.ArrayCollection.
Why would the A instance work fine except for the collection of its nested B instances?