I think you will be safest to stick with relative urls (no leading
slash).  That has been most successful for me.

 

On the other hand, I often pass an application specific url into the
Flex app via flashvars.  That way the url is certain and does not have
to be under the project.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Hueners
Sent: Tuesday, September 11, 2007 9:20 PM
To: [email protected]
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]
<mailto:[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

----- Original Message ----- 
From: "Muzak" <[EMAIL PROTECTED]
<mailto:p.ginneberge%40telenet.be> >
To: <[email protected] <mailto:flexcoders%40yahoogroups.com> >
Sent: Tuesday, September 11, 2007 11:51 PM
Subject: Re: [flexcoders] Getting xml in code only

> So if I understand this correctly you have:
>
> projectroot/com/TTS.ModuleMenu/model/enum/file.xml
> projectroot/com/xml/file.xml
>
> then "/com/xml/file.xml" is what you need.
>
> regards,
> Muzak
>

 

 

Reply via email to