I wonder if you can help me.... I'm new to Flex so I've been playing with a demo app from Lynda which with out mods loads simple xml as a demo and shows it as a list.
I've tried to take that and use a more complex xml file with some info I source from else where and I seem to not be able to process it. TypeError: Error #1034: Type Coercion failed: cannot convert XMLList@xxxx to XML comes upo which I believe is about placing XML in to an array where as it should be an object ? I've looked at a number of code snippets but there seems to be a number of ways to do this and I'm going round and round.
I'd appriciate any help you may be able to give me been a complete noob.
<?xml version="1.0" encoding="utf-8"?>
//make this work with xml
protected var myUnplanned:ArrayCollection;
// May not need this line
protected function getUnplanned_resultHandler(event:ResultEvent):void
// TODO Auto-generated method stub
myUnplanned = event.result.payloadPublication.situation
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:Button label="Back" click="navigator.popView()"/>
<s:Button label="Menu" click="mx.core.FlexGlobals.topLevelApplication.viewMenuOpen=true"/>