there is no need of FDS to use remoting. The 7.0.2 version is enough to use the new AMF3 with Flex2.
For the web-inf part, point to the war folder and not the web-inf itself {jrun4-home}/servers/{serverInstance}/cfusion-ear/cfusion-war/ .
João Fernandes
On 8/9/06, flex-guitar <[EMAIL PROTECTED]> wrote:
I've been trying to figure this out myself. Do you need FDS in order to set a project as CF Flash Remoting? I couldn't figure out how to select this option. (It always asked for a WEB-INF folder).Thanks,Derek-----Original Message-----
From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Douglas Knudsen
Sent: Wednesday, August 09, 2006 5:02 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Re: Remoteobject helpold thread but i just experienced this. Reason I had the issue was I failed to set up my Flex project correctly! You have to choose 'ColdFusion Flash Remoting Service' as a project type and go from there. Then the proper stuff is compiled into the SWF.
DK
On 7/27/06, Jeremy Rottman <[EMAIL PROTECTED]> wrote:ok well I got it to work with this code. But this isnt exactly how I
want it to work. Do I have to use test.<component name> and do I have
to add the end point.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.Fault;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function qryService_userSearch(lastName){
qryService.userSearch(lastName)
}
private function qryService_userSearch_Result(event:ResultEvent):void{
testDG.dataProvider = event.result;
}
private function qryService_userSearch_Fault(event:FaultEvent):void{
Alert.show(event.fault.message);
}
]]>
</mx:Script>
<mx:RemoteObject
id="qryService"
destination="ColdFusion"
source="test.ROtest"
result="qryService_userSearch_Result(event)"
endpoint=" http://fx3.homesmartagent.com/flex2gateway/ "
showBusyCursor="true"
fault="qryService_userSearch_Fault(event)"/>
<mx:Canvas x="0" y="0" width="100%" height="100%">
<mx:Label x="10" y="10" text="Name:"/>
<mx:TextInput id="lastName" x="60" y="8"/>
<mx:Button x="228" y="8"
click="qryService_userSearch(lastName.text)" label="Button"/>
<mx:DataGrid x="10" y="38" id="testDG" width="90%" height="100%">
<mx:columns>
<mx:DataGridColumn headerText="Column 1"
dataField="fld_agentFullName"/>
<mx:DataGridColumn headerText="Column 2" dataField="fld_agentId"/>
<mx:DataGridColumn headerText="Column 3" dataField="fld_agentEmail"/>
</mx:columns>
</mx:DataGrid>
</mx:Canvas>
</mx:Application>
--
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/
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
__________ NOD32 1.1699 (20060809) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
__._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: Remoteobject help Douglas Knudsen
- RE: [flexcoders] Re: Remoteobject help flex-guitar
- Re: [flexcoders] Re: Remoteobject help João Fernandes
- RE: [flexcoders] Re: Remoteobject help flex-guitar
Reply via email to

