Title: Message
Thanks for the welcome, Charlie!
 
>>And welcome to the list. It seems these are your first posts here today
 
Yep.  I snuck on the list about a month ago when I discovered this resource.
 
 
>> Steven's a Macromedia support engineer (do I have that right?)
 
ColdFusion support... 3 years now. 
(former Neuroscience researcher wkdays and equine veterinary technician on wkends (which explains the photo on the HOF community page), currently pursuing bioinformatics in spare time (see www.i3c.org ).  I'd like to see a ColdFusion implementation of bio* groups such as www.bioperl.org and www.biojava.org.)
 
 
>> I'll just point out that I did an article on this very subject... in the March CFDJ
 
Burning a hole on my desk right now. :)   Read your articles and your other mailing list posts as often as I can find them.
 
In addition to Charlie's "Flash for CFers" article this month, there's a great article on using the NetConnection Debugger in the October 2002 CFDJ by Dennis Baldwin.
 
-Steve
 
 
 
 
-----Original Message-----
From: Charlie Arehart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 5:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Flash Recordset

Steven Erat's now a Flash guy, too...You da man! Glad to hear it.  And welcome to the list. It seems these are your first posts here today, at least in quite a while. For those that don't know him, Steven's a Macromedia support engineer (do I have that right?) who is just a treasure trove of knowledge and enthusiasm.
 
Agha, there are many things that could get in the way of your getting started. I'll just point out that I did an article on this very subject (and point to some other examples and resources) in the March CFDJ. Check it out at systemanage.com/articles/.  I also have some useful stuff on my blog, cfmxplus.blogspot.com. Just do a search for "flash". My only focus in those is on helping folks get started with Flash and connection to the server (whether with remoting or not), and I offer a few other tips you may find handy.
 
/charlie
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Steven Erat
Sent: Tuesday, March 18, 2003 5:08 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [CFCDev] Flash Recordset

First, make sure you're using the Flash Remoting Components for Flash  MX.
 
Then, once you have the flash gateway connection set up in actionscript and can call a method that returns something, use the NetConnection Debugger inside Flash MX when you test your swf.  The debugger has an Events column on the left with the event data on the right.  Click on Results under the Events column, and the result passed from the CFC will show up on the right side of the debugger.  You'll immediately see how the data was returned and the how Flash has organized the result.
 
There's a simple example here: ftp://ftp2.allaire.com/support/serat/com.zip that can be run by unpacking the zip into the CFMX document root and then requesting the url http://localhost/com/macromedia/serat/flashremoting/cgi/index.cfm.  This example assumes that you are running CFMX on a web server listening to port 80.  This example is just a contrived example of having a cfc convert the cgi scope to a query object, and then return that query object to Flash for display. 

If you open the fla file and run the debugger, you'll see what I mean about using this tool to know how to handle the data.  I'm sure that there are more advanced methods, such as DataGlue.
 
See also:
 
 
 
Hope that helps.

-- Steven Erat
 
 

Reply via email to