If you are running off your hard drive (instead of off a webserver),
by default, you are not allowed to reach out to the web.  All the
content you access would have to come from the hard drive as well.
(Read up on the security sandbox for more.)

You might try changing your url to

 <mx:HTTPService id="titleRPC"
        url="QMS/xml/Titles.xml"
        result="titlesHandler(event)"/>

On Thu, May 7, 2009 at 4:19 AM, Laurence MacNeill <[email protected]> wrote:
> Given the following code snippet, why am I getting a Security Error (RPC
> Fault faultString="Security error accessing url"
> faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"])
>
> <mx:Script>
>        <![CDATA[
>        import mx.collections.ArrayCollection;
>        import mx.rpc.events.ResultEvent;
>
>        [Bindable]
>        private var titles:ArrayCollection = new ArrayCollection();
>
>        private function init():void {
>                titleRPC.send();
>        }
>
>        private function titlesHandler(event:ResultEvent):void {
>                titles=event.result.catalog.name;
>        }
>        ]]>
> </mx:Script>
>
> <mx:HTTPService id="titleRPC"
>        url="http://localhost/QMS/xml/Titles.xml";
>        result="titlesHandler(event)"/>
>
>
>
> Laurence MacNeill
> Mableton, Georgia, USA
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in the
> subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>



-- 
Scott Talsma
CTO, echoEleven


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to