Skip navigation
Currently Being Moderated

How can I get one element of httpservice xml file  (for flex mobile application)

Feb 11, 2013 6:41 AM

Tags: #flex #mobile #xml

I investigated this problem for hours on end. but I couldn't find out it. I really need you guidance for flex mobile application


I only wanna use a xml child (not all of them )

for example ; I only wanna this person's picture "Allen Partridge"

this is xml file :

this is my project;


xmlns:s="library://" title="HomeView"  creationComplete="view1_creationCompleteHandler(event)" >


        protected function view1_creationCompleteHandler(event:FlexEvent):void


<s:HTTPService id="adres" url=""/>               

<s:Image id="picture" x="50" y="500" source="{adres.evangelist.(name == 'Allen Partridge').profileimage}" />

<s:List left="0" right="0" top="0" bottom="500" dataProvider="{adres.lastResult.evangelists.evangelist}" labelField="name" ></s:List>


I tryed all the ways ,like bellow;


<s:Image x="10" y="467" source="{adres.evangelist.(name == 'Allen Partridge').profileimage}" />
<s:Image id="picture" x="50" y="500" source="{data.evangelist.(name == 'Allen Partridge').profileimage}" />




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points