lets Talk Flex

Entries tagged as ‘Type Coercion failed: cannot convert mx.utils’

Workaround for Error #1034: Type Coercion failed: cannot convert mx.utils

November 22, 2008 · 2 Comments

When I gave my first flexool build to Zoltan, he reported 2 erros and one of them was “TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::ObjectProxy@6380a19 to mx.collections.ArrayCollection”.

Not a familiar one for me. So I checked the engine I sent him on my machine. It was working fine without error. the i googled and found the reason behind this.  It happens when there is only 1 single node in the xml flex is trying to load. So it is returned as an ObjectProxy instead of an Array and the error pops up. Perhaps a bug with flex.

See the solution here: http://forum.sephiroth.it/showthread.php?p=32751

It solved my problem. thanks tekati

Categories: Flex Development
Tagged: , ,