Thanks guys! That's exactly what I needed.
Cheers
--- In flexcoders@yahoogroups.com, vardpenguin [EMAIL PROTECTED] wrote:
once you've nagivated to the node you're wanting to look at you can
use name().localName:
once example might be:
var nodeName : String =
Argh..now I'm having difficulty using this variable in an e4x
filtering expression.
here was my old code that worked fine with a named value
var myXMLList:XMLList = xl.(EmployeeId == _selectedRowID);
Now, I know that I can use the variable name to refer to an XML node
like so:
ok I figured it out...you have to use the child method - hopefully
this helps someone else out there!
var myXMLList = myXMLList.(child(id) ==_selectedRowID);
--- In flexcoders@yahoogroups.com, guitarguy555 [EMAIL PROTECTED]
wrote:
The xml returned defines it's own namespace:
private function onInit ():void{
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest
(http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml);
loader.addEventListener(Event.COMPLETE,
onComplete);
4 matches
Mail list logo