I want to filter the results (which are in e4x format) of an HTTPService call
(display_samples) and push certain ones into a new arrayCollection.
This code populates a Tree just fine:
<mx:XMLListCollection id = "all_samples"
source="{display_samples.lastResult.sample}"/>
But when I do this: Alert.show(all_samples.length.toString());
It's showing the size as 0. I can't seem to interact with the data at all. I
also tried an arraycollection and I'm making sure I set it after I send() the
HTTPService request.
These also don't work:
new ArrayCollection(display_samples.lastResult.sample)
display_samples.lastResult.sample as ArrayCollection
Any ideas?
Thanks
THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY
FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL
AND/OR PRIVILEGED MATERIAL. ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER
USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR
ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED. IF YOU RECEIVED THIS
INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND
PROPERLY DISPOSE OF THIS INFORMATION.