Using Flex to call CFC functions and Railo Part2
In this video I will set up a Flex project that will use the Railo 3.0 server and a coldfusion CFC to query a MySQL Database. The result that we get back will be displayed into a Flex List component.
Download my source files here HelloFromRailoQuery.zip

Excellent tutorial!! I was trying to connect to CFCs on Railo 3 via Flex and was hitting roadblocks. I didn’t realize I didn’t need BlazeDS! This was the only example I found on the web! Way to be up on the technology! After your video I’m right behind you!
So glad this helped you out man. I am hoping the Railo with Blaze built in will be out soon. There will be better support for AMF. Namely the will be putting in AFM 3 because that what Blaze has.
You keep up the good work on becoming a Flex Ninja.
So, I got the example to work! w00t! Now I’m trying to pass data from a text input in Flex to my Railo CFC. I’ve done this with Flex/CFMX8 using mx:RemoteObject. Can this also be done using NetConnection?
Yeah it is pretty easy you would do something like this….
nc.call(”remoteFunctionName”, responder, “params you want to pass”);