[flexcoders] Re: Loading XML

2010-02-03 Thread Flex
I can think of 2 possible causes (which may or may not be true in your case) 1. Your project is not deployed on a web server and you are using HTTP to load the xml file...that will cause a security error even though you can load images by specifying source 2. The xml is on some other domain

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

2008-12-10 Thread ilikeflex
Hi I tried the psuedo code and works fine but when there is error and Alert is shown Alert.show(Security error + error.errorID.toString()); This alert is hidden behing the DownloadProgressbar. Can we bring it to front. Thanks ilikelfex --- In flexcoders@yahoogroups.com, Varun Shetty

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

2008-12-10 Thread valdhor
Remove the ProgressBar. If there is an error, there is no progress to speak of. --- In flexcoders@yahoogroups.com, ilikeflex [EMAIL PROTECTED] wrote: Hi I tried the psuedo code and works fine but when there is error and Alert is shown Alert.show(Security error +

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

2008-12-10 Thread valdhor
Scratch that - Didn't grok you were talking about the pre-loader. --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Remove the ProgressBar. If there is an error, there is no progress to speak of. --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote: Hi

[flexcoders] Re: loading xml with AS3

2006-08-12 Thread Geoffrey Williams
URLLoader, HTTPService c http://livedocs.macromedia.com/flex/2/docs/1920.html --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: I'm having troubles figuring out where the functionality to load xml went. What classes do i use to load xml? thanks --

Re: [flexcoders] Re: loading xml with AS3

2006-08-12 Thread aaron smith
how do I load local XML data. I'm trying this:private function loadXML():void { myXML = new XML(); myXMLURL = new URLRequest( menu.xml ); myLoader = new URLLoader(myXMLURL); myLoader.addEventListener(complete, xmlLoaded); }private function xmlLoaded():void { myXML =