Re: [flexcoders] flex 2 & cf on seperate PC
Thanx for the replies. By going through the docs I figured out a thing or 2, including the fact that the RemoteObject API hasn't been fully implemented yet. I've been fiddling around with some older code a bit that I used for 'querying' a Coldfusion component in order to retrieve a description from a .cfc. The returned information is what you normally see in the ColdFusion Component Explorer. I've put up a sample here: http://www.muzakdeezign.com/flex2/FlashRemoting.html Note that there's alot of [Object object] stuff in there, and I haven't bothered digging deeper into the returned result. Just wanted to see if it works with AS3 ;-) I used a NetConnection class instance directly and defined a (non documented) header. Instead of repeating myself, here's the code I just posted on flashcoders: http://www.mail-archive.com/flashcoders%40chattyfig.figleaf.com/msg00411.html kind regards, Muzak - Original Message - From: "João Fernandes" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 19, 2005 8:18 PM Subject: RE: [flexcoders] flex 2 & cf on seperate PC Musak, I was wonderirng the same because I usually have cf in a development box. FlexBuilder 2 accepts --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-services.xml as a argument for the compiler but shouldn't we be able to point to some other box? Like kinda access it with RDS or something like that? It would be great that FB could connect to the server with RDS and be able to get all the lists of cfcs available and (right-click) add them to the "coldfusionsamples.xml" file as new destination. Just a tought... João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Muzak Sent: Wed 19-Oct-05 7:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2 & cf on seperate PC I'm trying to test some of the Remoting (using CF7) stuff with Flex2. The problem is that my CF server is on a different PC than the one I'm working on. How does one specify that? In other words, how do I tell the RemoteObject which gateway url to use (if possible)? regards, Muzak -- 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 -- 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 ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/
RE: [flexcoders] flex 2 & cf on seperate PC
Musak, I was wonderirng the same because I usually have cf in a development box. FlexBuilder 2 accepts --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-services.xml as a argument for the compiler but shouldn't we be able to point to some other box? Like kinda access it with RDS or something like that? It would be great that FB could connect to the server with RDS and be able to get all the lists of cfcs available and (right-click) add them to the "coldfusionsamples.xml" file as new destination. Just a tought... João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Muzak Sent: Wed 19-Oct-05 7:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2 & cf on seperate PC I'm trying to test some of the Remoting (using CF7) stuff with Flex2. The problem is that my CF server is on a different PC than the one I'm working on. How does one specify that? In other words, how do I tell the RemoteObject which gateway url to use (if possible)? regards, Muzak -- 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 ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/ <>
RE: [flexcoders] flex 2 & cf on seperate PC
If you're using Flex 2 and the ColdFusion adapter from Labs, you need to add the path to the flex-services.xml file as a command-line argument for the Flex compiler. At the moment, I don't believe we can use network paths, but you might be able to keep a local copy of the file and point the compiler to that. The instructions for adding the command-line arg are here: http://labs.macromedia.com/wiki/index.php/CF_Adapter#Installation Phil -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Wednesday, October 19, 2005 2:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2 & cf on seperate PC I'm trying to test some of the Remoting (using CF7) stuff with Flex2. The problem is that my CF server is on a different PC than the one I'm working on. How does one specify that? In other words, how do I tell the RemoteObject which gateway url to use (if possible)? regards, Muzak Yahoo! Groups Sponsor ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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 Yahoo! Groups Sponsor ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/