Hi KKH, The url in HttpService should be 'assets/img_path.xml' not '//assets/ img_path.xml'. Assuming that your xml file is inside the assets folder. One thing I wud like to mention is the path you provide for any file is relative to the final HTML file inside the bin-debug folder which you will get after compiling your application.
HTH, -Ravi On Apr 4, 3:16 pm, hemi <[email protected]> wrote: > hi friends, > > i am new Flex Builder 3.0 Reader . > > Flex files is:- > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > backgroundGradientColors="[0xFFFFFF, 0xAAAAAA]" horizontalAlign="left" > verticalGap="15" horizontalGap="15" initialize="myService.send()"> > <mx:Script> > <![CDATA[ > import mx.collections.ArrayCollection; > import mx.rpc.events.ResultEvent; > > [Bindable] > private var myData:ArrayCollection; > > private function resultHandler(event:ResultEvent):void { > myData = event.result.img.src; > > } > > ]]> > </mx:Script> > > <mx:HTTPService id="myService" url="//assets/img_path.xml" > result="resultHandler(event)"/> > <mx:Text id="something" text="{myData.getItemAt(0).path}" > enabled="true" visible="true"/> > > </mx:Application> > > xml files is: > > <?xml version="1.0" encoding="utf-8"?> > <img> > <src> > <path>hi</path> > </src> > <src> > <path>how</path> > </src> > <src> > <path>are</path> > </src> > </img> > > plz verify it's correct or not.... > plz guid me ........ > > Thanks&Regard in Advance > KKH --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

