I'm trying to get my first non-tutorial AIR code working. I'm
using Aptana/AIR plugin. I've gotten to do the various tutorial
things, like the desktop file list and stuff, but this one isn't
working. Here's my code:
var request = new
var loader = new air.URLLoader();
loader.dataFormat = air.URLLoaderDataFormat.TEXT;
Running the URL in the browser works fine; I get the data
back from my CFC. But in AIR, it always comes back as UNDEFINED.
I've even dumped the output inside the CFC to ensure that it's
returning data when called by AIR, and it is.
I've used the Introspector to look at the "loader" object,
and it does come back intact, but again, the data property is
undefined. What am I missing, or doing wrong?