November 1, 2002
Sending ColdFusion query results to Flash on the client? If you are using .cfm files via Flash Remoting you can control the frequency at which data is sent by setting the FLASH.pagesize variable. By default data is sent when processing has completed, but this option lets you send data incrementally...
October 31, 2002
To return data from .cfm files to Flash via Flash Remoting place the values in the FLASH.result variable. Only the values in FLASH.result will be returned to Flash in the client. (Applies to: ColdFusion MX)
October 30, 2002
If accessing .cfm files via Flash Remoting, passed parameters are made available via the params variable in the FLASH scope. FLASH.params is an array and may be accessed using standard index notation or via any of the CFML array functions. (Applies to: ColdFusion MX)
October 29, 2002
The ActionScript NetServices GetService() method is used to connect to a ColdFusion service. When using Flash Remoting to connect to ColdFusion CFM files the service is actually a directory name, and service methods map to specific files in that directory (minus the .cfm extensions). (Applies to:...
October 28, 2002
The ActionScript NetServices GetService() method is used to connect to a ColdFusion service. When using Flash Remoting to connect to ColdFusion Components (.cfc files) the service is the CFC file (minus the extension) and the methods are the ColdFusion Component functions. (Applies to: ColdFusion...
October 27, 2002
Flash Remoting is used to connect Flash on the client and ColdFusion on the server. Flash Remoting allows client side Flash ActionScript code to invoke ColdFusion code - either CFC methods of CFM files. (Applies to: ColdFusion MX)
October 26, 2002
Need the actual path to the CFM file being executed? Inspect the CGI.PATH_TRANSLATED variable which will contain the actual path after any logicial mappings have been processed. (Applies to: ColdFusion MX)
October 25, 2002
Using Search Engine Friendly URLs (hiding the query string within text appended to the path)? This is a popular technique, and one that breaks when ColdFusion MX is installed. The solution is actually quite simple. Modify web.xml (it's in the web-inf directory under the web root) to add the...
October 24, 2002
ColdFusion Component arguments are Web Service arguments. Simple, right? Not exactly, there is an important difference. CFCs can have optional arguments (set REQUIRED="no"), but those same arguments will actually be required when the CFC is accessed as a Web Service. If you really do need optional...
October 23, 2002
To implement cookieless security (suitable for single requests only) use with a tag. (Applies to: ColdFusion MX)