I am coding in pure Actionscript 3.0 (not Flex, not Flash Authoring Tool), and I use Coldfusion 9 for my server-side scripting. I am trying to directly access my CFC from the Flash runtime. I assume the best way to do this is to use the URLLoader and URLRequest classes on a CFC with access="remote". ?
(Is this the best way to do this? I've heard a little about Flash Remoting, but I've also heard that it's only for Flex developers.??)
I have attached my simple code that I thought would work, but my trace statement outputs the ENTIRE .cfc code rather than just what I'm trying to return. I'm clearly missing something.
Please help. I just want to get the value RETURNED by the CFC, not the CFC itself. :)