Hi I'm new to flex and still trying to figure out what is
what
I've got this in my main flex file
<mx:RemoteObject id="roleTitle" destination="ColdFusion"
source="Roletitle_example.CF.RoleTitle" showBusyCursor="true" />
<mx:Panel width="50%" height="100%" layout="vertical"
title="Role titles" id="panel1">
<mx:DataGrid width="100%" height="90%"
dataProvider="{roleTitle.getAll.result}"
id="dgItem" >
<mx:columns>
<mx:DataGridColumn headerText="Role title"
dataField="sJobTitleName" />
<mx:DataGridColumn headerText="Code" dataField="sJobcode"
/>
<mx:DataGridColumn headerText="Disipline"
dataField="sIndustryName" />
</mx:columns>
</mx:DataGrid>
</mx:Panel>
<mx:Button id="pbGridLoadSearch" label="Load"
click="roleTitle.getAll();" />
but I keap getting this error and I don't know what it means.
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Security.Error error Error #2048: Security
sandbox violation:
file:///C|/Inetpub/wwwroot/Roletitle%5Fexample/main.swf may not
load data from
http://localhost/flex2gateway/." at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging.channels::NetConnectionChannel/::defaultErrorHandler()
at
mx.messaging.channels::NetConnectionChannel/::securityErrorHandler()