Thanks, it just seemed wrong that it defaults to FDS when I explicitly told Flex to set up a Remoting project. Maybe I am getting FDS and Remotingconfused and it's basically the same thing...
 
 
One more question. When working on this
 
 <mx:RemoteObject
     id="myCfc"
     destination="ColdFusion"
     source="flex.cfc.flextest"
     result="resultHandler(event)"
     />
    
     <mx:Script>
      <![CDATA[
      
       private function resultHandler( event:ResultEvent ):void
        {
         // Show alert with the value that is returned from the CFC.
         mx.controls.Alert.show(event.result);
        }
       
      ]]>
     </mx:Script>
 
Flexbuilder flags up this line
private function resultHandler( event:ResultEvent ):void
 
stating:
Type is not found or not a compile-time constant: ResultEvent 
 
 
What kind of event should it be? The code still runs ok if I ignore any errors.
 
 
Stefan
 

 
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland
Sent: 31 March 2006 15:48
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Setting up Remoting

It's prefilled with a path for the typical Java based installation. We expect uses to change this value for a variety of installation scenarios - essentially you will have to know the location of this file and update this value on ANY mxmlc compilation when using FDS or CF data services, such as RemoteObject.
 
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Richter
Sent: Friday, March 31, 2006 9:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setting up Remoting

When setting up a Flex2 Remoting project I noticed that the compile command is set to
-services "C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-enterprise-services.xml"
 
The docs state that it should be set to -services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml
 
I tried with the former first and it failed. I tried the latter and it worked. Just thought I'd mention it here. Seems silly that it's prefilled with what seems to be the wrong path.
 
Stefan
 
 
 


--
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




Reply via email to