| Contents > Developing ColdFusion MX Applications > Using the Flash Remoting Service > Handling errors with ColdFusion and Flash |
|
|
|
|
||
To help with debugging, use the cftry and cfcatch tags to return error messages to the Flash Player, as in the following example:
<cftry>
<cfset Flash.Result = undefinedVar>
<cfcatch>
<cfset Flash.Result="Failed">
</cfcatch>
</cftry>
In this example, the first cfset tag fails to assign the value into Flash.Result because of an undefined variable.
Note: When you create a ColdFusion page that communicates with Flash, ensure that the ColdFusion page works before using it with Flash.
|
|
||
| Contents > Developing ColdFusion MX Applications > Using the Flash Remoting Service > Handling errors with ColdFusion and Flash |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/usings12.htm