Flex and ArrayCollection – Error if xml has only one node

My collleguea had a bug in his Flex application when a rss feed only contains one item. It seems that Flex does not handle this very well when using the ArrayCollection class.

If you have the same problem, you can fix it like I did below.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">