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 = XML(myLoader.data);
trace("Data loaded.");
}
it spits out this:
SWF file file:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/Main.swf cannot access local resource file:///C|/Documents%20and%20Settings/aaronsh/Desktop/dev/flash/%5F%20AS3%20TESTING/3waylayout/classes/menu.xml . Only local-with-filesystem and trusted local SWF files may access local resources.
Do i need to do something with security?
thanks
On 8/12/06,
Geoffrey Williams <[EMAIL PROTECTED]> wrote:
URLLoader, HTTPService &c
http://livedocs.macromedia.com/flex/2/docs/00001920.html
--- In [email protected], "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
>
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Re: loading xml with AS3 Geoffrey Williams
- Re: [flexcoders] Re: loading xml with AS3 aaron smith
Reply via email to

