Yes HTTPService. The docs have some good examples. Here is anothr simple example:
http://www.cflex.net/showFileDetails.cfm?ObjectID=472&Object=File&ChannelID=1
-TH
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> 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] <mailto:flexcoders%40yahoogroups.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
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
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
__,_._,___

