When loading at runtime the path has to be relative to where the html file 
(holding the swf) is located.
If you left everything at the default settings for your project, the /bin 
folder is where your app is compiled to.

Files that need to be loaded at runtime should be in the /bin folder (or 
subfolder).

For example:
projectroot/bin/modules/modules.xml

to load it at runtime, use:
modules/modules.xml

regards,
Muzak


----- Original Message ----- 
From: "Steve Hueners" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Wednesday, September 12, 2007 3:20 AM
Subject: Re: [flexcoders] Getting xml in code only


> Right...loading at runtime. But understand that /xml is direct off the root
> - just like /com and /bin - all sibling levels.
>
> Can I expect the same behavior (understandable or not) once I deploy to a
> server or should I be prepending a fully qualified URL?
>
> On 9/11/07, Muzak <[EMAIL PROTECTED]> wrote:
>>
>>   erhm, scratch that.. you're loading an xml file at run time ;-)
>> I thought you were compiling it in.
>>
>> Sorry for the confusion.
>>
>> regards,
>> Muzak
>>


Reply via email to