Why not just keep networking on and access the local file with a local URL?

<mx:HttpService url="test.xml" ... 

--- In flexcoders@yahoogroups.com, Richard Rodseth <rrods...@...> wrote:
>
> Thanks. That's good to know about.
> It seems, though, that one has to choose between allowing local access or
> network access.
> Can anyone tell me if it's possible to create a single SWF (plus companion
> wrapper html and config xml that can either be hosted on a web server, or
> unzipped and run locally? Or would the end user have to use that page you
> linked to?
> 
> On Tue, May 25, 2010 at 6:18 AM, valdhor <valdhorli...@...>wrote:
> 
> >
> >
> > What I do for debugging purposes is to set my debug folder as a trusted
> > source in
> > http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
> >
> > To do this...
> > Click "Edit Locations->Add Location"
> > Click "Browse for Folder"
> > Browse to your bin-debug folder
> >
> > This allows you to debug locally - ie. from a
> > file://location_of_bin-debug_HTML_file. If you have a local server running
> > (Which I do) the you can set your run/debug settings to open the html file
> > on your local server. ie.
> > http://127.0.0.1/myproject/bin-debug/myproject.html. In this case, you
> > would need a crossdomain.xml file.
> >
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Richard
> > Rodseth <rrodseth@> wrote:
> > >
> > > Not sure I follow that page, but it appears that the -use-network=false
> > > compiler flag may be helpful for this scenario.
> > >
> > > If only FB allowed you to set different compiler options for different
> > > applications within a project.
> > >
> > > On Mon, May 24, 2010 at 4:11 PM, Oleg Sivokon <olegsivokon@> wrote:
> > >
> > > >
> > > >
> > > > No, it is different. If the SWF is embedded in HTML page, it requires
> > that
> > > > you specify the trusted locations on your machine, so it could load
> > > > content:
> > > >
> > http://macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
> > > > Read carefully the text in gray under the picture.
> > > > But, if you launch it in standalone player, then, I reckon, it should
> > be
> > > > able to access local files.
> > > >
> > > >
> > >
> >
> >  
> >
>


Reply via email to