On Mar 16, 2004, at 9:41 AM, Daniel Kessler wrote:

>  1 - From flash do I just call from send/load "save_game.cfm" and
>  append the data so I get it from the querystring?
>  "save_game.cfm?id=tim987&save_game=mark|89|red|83|38|99|23"��Or is
>  there a more proper way.

That will work just fine.  Have a look at getURL, loadVaraibles, the
LoadVars class (more sophisticated than loadVariables), and even the
XML object for different ways to communicate with a ColdFusion server.  
Of course, you also have the options of Flash Remoting and web
services, which is what I typically prefer.  Have you looked into those
techniques?

>  2 - the cfm only needs cfquery to get the data and cfoutput to return
>  it to flash?

You would use CFOUTPUT to return data to Flash in some instances.  For
example, if you were to send data to a CFM page using getURL,
loadVaraibles, loadVars or the XML object, you would need to use
CFOUTPUT to send data back.  If you're using web services or Flash
Remoting, you won't need CFOUTPUT at all.

>  3 - anything else?

The first thing you have to do is decide on a format for sharing data
between Flash and ColdFusion.  Each of the techniques listed above
either assumes a format (query strings, XML, SOAP, AMF) or requires you
to implement one yourself.  Once you know what format you want to use
to exchange data, you can pick the most appropriate mechanism.

Does that make sense?  I hope I'm not actually confusing the issue.

Christian
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to