Expand my Community achievements bar.

retrieve value of xml field

Avatar

Level 1
Hi, i use the HTTPservice to connect to an xml file,

but now i want to use one of the field values in a function,
how can i do that?



i used:

<mx:HTTPService id="theDataFile" url="dataFile.xml"/>

<mx:Script>

<![CDATA[

var tst:Boolean=theDataFile.lastResult.channel.iNeedThis;

]]>

</mx:Script>



but it won't work :(

i hope someone can help me with this!

thnx in advance!

Symbiot
0 Replies