Try adding this compiler option in your project settings (right-click on
your project-->properties-->Flex Compiler-->under additional compiler
arguments):

-use-network=false

Good luck
benz

Benjamin Dobler
RIA Development
web: http://www.richapps.de
mail: [EMAIL PROTECTED]
> -----Ursprüngliche Nachricht-----
> Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
> Auftrag von flxcoder
> Gesendet: Donnerstag, 29. Juni 2006 21:22
> An: flexcoders@yahoogroups.com
> Betreff: [flexcoders] FlexBuilder - cannot access local resource - used
> to work in b3
> 
> I am trying a really simple example
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="horizontal" creationComplete="srv.send()">
>       <mx:HTTPService id="srv" url="data/catalog.xml"/>
>       <mx:DataGrid dataProvider="{srv.lastResult.catalog.product}"/>
> </mx:Application>
> 
> On running this example, I see this error
> 
> [RPC Fault faultString="Error #2148: SWF file file:///C:/_mystuff/
> _programs/eclipse/flex2-2/ws/bin/phones.swf cannot access local
> resource data/catalog.xml. Only local-with-filesystem and trusted local
> SWF files may access local resources." faultCode="InvokeFailed"
> faultDetail="null"]
> 
> This used to work in Flex beta 3
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-
> archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to