Nick

The Flash movie can issue a loadVariables action command.

This essentially submits a form and passes name/value pairs to the 
target page (in your case a cf template).

The Flash movie expects name/value pairs in return.

So, your cf program gets a request and some parameters from a Flash movie.

Your cf program does whatever (say an SQL Query) and develops some results.

Your cf program passes the results back to the Flash movie as 
name/value pairs, e.g.:

   <cfoutput>URLEncodedFormat('Field1=#value1#&'Field2=#value2#')</cfoutput>

The Flash movie does *whatever* with the data received.

This really is quite nice... the only thing that needs to be sent 
back by your cf template is the name/value pairs.  The entire page 
does *not* need to be sent or refreshed.

   The user's browser page never goes blank while waiting for a response (the
   Flash movie is still running or idle)

   Much less bandwith is used (server, transmission, browser)

The only negative, is you do not get the automatic OS indication 
(hourglass, beachball) that the browser displays when waiting for a 
response from the server.  You can compensate for this by displaying 
something with the flash movie... maybe even an hourglass or a 
spinning beachball( depending on the platform).


HTH

Dick

At 9:25 AM +0100 5/3/01, Nick Betts wrote:
>Hi all,
>I need some advice on where to look for info on how to incorporate CF query
>info into dynamic flash files.  For example, I have an employee database, I
>need to display this information in a flash page, dynamically selecting
>info.
>
>Any help please?
>Nick.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to