Previously, I’ve discussed how to use ColdFusion Components (CFCs) in AIR-powered Flex applications but I never got a chance to follow up on how to use CF8′s integrated LiveCycle Data Services ES in AIR.
I’ve figured out that all I need to do is specify a ChannelSet component that is reused in both the Consumer and Producer. Since I was developing locally, I set up my AMFChannel to use my local server. You can see in the following example:
cf-polling-amf
I know there are other channels, such as RTMP, but I have not used them yet. Since I was learning how to use CF/LCDS in AIR, I used it in an AIR version of a simple Chat application. I was quite impressed how easy this was to do. By simply setting up the ChannelSet, I had a working LCDS powered AIR application.