Re: [SPAM] Re: [flexcoders] Loading XML

2010-02-03 Thread Peeyush Tuli
-- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *cholid cholid *Sent:* Tuesday, February 02, 2010 10:49 PM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM] Re: [flexcoders] Loading XML can you tell how you call the xml

Re: [flexcoders] Loading XML

2010-02-02 Thread cholid cholid
can you tell how you call the xml is? From: ztpi1 zt...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wed, February 3, 2010 8:53:59 AM Subject: [flexcoders] Loading XML I am getting a security error when trying to load an xml file into my swf. The xml and

RE: [SPAM] Re: [flexcoders] Loading XML

2010-02-02 Thread Tracy Spratt
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cholid cholid Sent: Tuesday, February 02, 2010 10:49 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] Loading XML can you tell how you call the xml

Re: [flexcoders] Loading XML in preloader/ before application onComplete

2008-04-03 Thread Rico Leuthold
Extend the DownloadProgressBar Class (name it e.g myPreloader) and override the preloader: override public function set preloader(value:Sprite):void { value.addEventListener(FlexEvent.INIT_COMPLETE, FlexInitComplete); // I added my download function to the INIT_COMPLETE event }

Re: [flexcoders] Loading XML in preloader/ before application onComplete

2008-04-03 Thread Varun Shetty
Wow, that is pretty descriptive... thank you very much Rico...! umm.. so Extending the downloadprogressbar class is the way... I will try it out in sometime. Thank you very much for your help.. regards, Varun Shetty On Thu, Apr 3, 2008 at 1:26 PM, Rico Leuthold [EMAIL PROTECTED] wrote:

Re: [flexcoders] loading xml

2006-08-13 Thread list
Looks like you need to use the mxmlc compiler argument '-use- network=false' when compiling your application. Flex livedocs entry on this topic: http://livedocs.macromedia.com/ flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm? context=LiveDocs_Partsfile=1500.html You're code also looks a

Re: [flexcoders] loading xml

2006-08-13 Thread Samuel Colak
Aaron,there is a space in the filename " menu.xml" and i also think it might be in the resources directory - try "resources/menu.xml" - when you go and publish this you need to be aware that the relative path is from the root of the webserver - not the path of the flash file.I have a nice

RE: [flexcoders] loading xml

2006-08-13 Thread Franck de Bruijn
I use a function like this: private function loadXml(aXmlFileName:String, aResultCallBack:Function):void { var xmlLoader:HTTPService; xmlLoader = new HTTPService(); xmlLoader.resultFormat = e4x; xmlLoader.url = ""> xmlLoader.addEventListener(fault,

Re: [flexcoders] loading xml

2006-08-13 Thread aaron smith
Ok question about using the -use-network switch.why do you have to use that to access local files. That just seems like a pain. why would you have to switch back and forth depending on you're build type. DEV sv LIVE. What if in some cases you're DEV version needs to access network for remoting

Re: [flexcoders] loading xml

2006-08-13 Thread Raffaele Sena
I had the same questions and I did some testing today. If you are using URLLoader.load you don't have to use the use-network compiler switch. Assuming you are using relative URLs, as in URLLoader.load(new URLRequest(data.file)), you will be able to load from local to local (when testing your