0 Replies Latest reply on Apr 23, 2008 4:19 PM by Kalen.Gibbons

    CFC to ActionScript Auto-Conversion Problem

      I have a Coldfusion object that has an array of objects inside it and the auto-conversion worked fine when the ActionScript datatype was set to Array. But when I change it to Array collection, I get the following error:
      TypeError: Error #1034: Type Coercion failed: cannot convert []@1098c319 to mx.collections.ArrayCollection

      Ben Forta states that a CF array can map to an ArrayCollection but doesn't appear to be the case. See here

      Please see the code below; the variable "optionArray" translated fine when it was typed as an Array, but when I change it to an ArrayCollection it throws errors.

      Any help or suggestions is appreciated.