Jeffry Houser wrote:
>  Flash and Flex communicate using an AMF Gateway built into ColdFusion.  
> Most of the time it is located at "domain/flex2gateway" so in your case 
> I'd expect it to be "localhost/flex2gateway" .  If that URL loads a 
> blank page [as opposed to a 404 error], there is a good chance that the 
> gateway is working properly. 

Thanks, this got me there.  I did not need to do anything in my 
services-config file.  On your hint that the path should be 
"domain/flex2gateway" I removed everything from the 'path' property in 
my Project Configuration.  Thus Flash player was now looking for 
'http://localhost/flex2gateway";; *not* 
"http://localhost/playground/flex2gateway"; or 
"http://localhost/flex/playground"; which is what it was looking for before.

I then got an error about not being able to find my cfc file and I 
realized that I need the full path from the root of the site *not* the 
relative path from the flex/flash page.
    <mx:RemoteObject id="helloWorld"
        destination="ColdFusion"
        source="flex.playground.cfcs.foobar">

I am now connecting to my local ColdFusion server and receiving results 
from it. 

Thank You Jaffry and Gareth.
Ian Skinner


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5663
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to