Er, use HTTPService rather than URLLoader, it will take care of more for you.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of e_baggg
Sent: Tuesday, September 12, 2006 7:35 AM
To: [email protected]
Subject: [flexcoders] Re: Need help using XML files without embedding them in SWF

 

Yes, the URLLoader class is what you need.

--- In [EMAIL PROTECTED]ups.com, "greggohlke" <greg.gohlke@...> wrote:
>
> Right now I use several XML files in my Flex 2 app and they are being
> embedded in the SWF file. I define them in an <mx:XML> tag like this:
>
> <mx:XML id="inboxConfig" format="e4x"
> source="../xml/site_configs/inboxConfig.xml"/>
>
> As you can see by the relative pathing the files are in the same file
> structure as the final SWF. How can I decouple these files so they are
> not embedded in the swf but are read at runtime? Since they are config
> files it would be useful to change them without having to recompile
> the app to get them re-embedded. Should I be using a URLLoader or
> HTTPService instead?
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to