This is really bizarre but I have some code that was working previously and now
is no longer working. I
am using a servlet to output information in the following format:
<system>
<data>
<name>Channel 1</name>
<id>Rep1</id>
</data>
</system>
But I am now getting a runtime error: Error #1034: Type Coercion failed: cannot
convert
mx.utils::[EMAIL PROTECTED] to mx.collections.ArrayCollection
Code:
public function initializeBrowser(evt:ResultEvent):void {
var arr:ArrayCollection = evt.result.system.data;
}
<mx:HTTPService id="reportsList" result="initializeBrowser(event)"
useProxy="false"
method="GET" url="{dbURL}"/>