Yes, Even for URLoader we need to wait till the file completes download.
On Wed, Mar 10, 2010 at 7:47 PM, Kiran Kumar Vasireddy <kiranv...@gmail.com>wrote: > I am sorry KKC. Did you try URL loader? ( I am not sure about this just > throwing a stone, I got this from one of our prestigious group member ) > > > * > var > * loader:URLLoader = *new* URLLoader(); > ** > > *import* > flash.net.URLLoader; *import** flash.net.URLRequest;* > *importflash.net.URLRequestMethod; > * > *private* > *function* loadMetaData():*void**{* *var* request:URLRequest = > *new*URLRequest( > *"tree.xml"*); > > loader.load(request); > loader.addEventListener(Event.COMPLETE, onMataDataLoadComplete); > } > private function onMataDataLoadComplete():void > {//ur action > } > > > > On Wed, Mar 10, 2010 at 8:17 AM, krishna chaitanya kambhampati < > kkc.kambhamp...@gmail.com> wrote: > >> Hi Kiran, >> >> Thanks for reply. >> I don't have control on XML file. It is dynamic XML. >> >> >> On Wed, Mar 10, 2010 at 6:21 PM, Kiran Kumar Vasireddy < >> kiranv...@gmail.com> wrote: >> >>> Good question KKC . I exactly faced similar kind of problem and did >>> research for one month and got a really good solution :) >>> >>> You can try compressing the xml file first and decompressing it when >>> loaded - I've used this to good effect and see something like a 10x >>> reduction in the filesize - >>> This blog covers the technique >>> http://www.ghostwir e.com/blog/ archives/ as3-saving- >>> xml-as-binary/<http://www.ghostwire.com/blog/archives/as3-saving-xml-as-binary/> >>> >>> Regards >>> Kiran >>> >>> On Wed, Mar 10, 2010 at 6:34 AM, krishna chaitanya kambhampati < >>> kkc.kambhamp...@gmail.com> wrote: >>> >>>> Hi All, >>>> >>>> I have a large XML file of size 2 Mb >>>> >>>> Is there any way to load the xml file progressively so that i can >>>> display the first 10kb data >>>> I am using HTTPService to load the xml file. >>>> >>>> Thanks in advance >>>> >>>> >>>> -- >>>> Thanks & Regards, >>>> K. Krishna Chaitanya >>>> ARIJASOFT - HYD >>>> www.arijasoft.com >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Flex India Community" group. >>>> To post to this group, send email to flex_in...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex_india?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to flex_in...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> >> >> -- >> Thanks & Regards, >> K. Krishna Chaitanya >> ARIJASOFT - HYD >> www.arijasoft.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks & Regards, K. Krishna Chaitanya ARIJASOFT - HYD www.arijasoft.com -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.