Initialising Variables Within CFFunction Using CFSCRIPT Problem
Just doing some CFC development at the moment and am working with some local variables within the CFFunction tags.
These should be initialised with
var as previously documented on other sites.
I was converting some CFSCRIPT code into the custom function that I was writing and so I dutifully initialised my local variable as the first line of the code, only to get an error when I ran the code telling me that the local variable must be "grouped at the top of the function body".
Interesting thing this reveals is that any
var statements must come at the beginning of the CFFunction code and that seems to even include coming before the CFSCRIPT tag. Modifying the code to initialise the variable with a CFSET ended the error message.
Flash Remoting Checklist
Have just added a Flash Remoting Checklist for CFMX to the Daemon site.
I've seen a few similar issues listed on some of the lists that I'm currently subscribed to and thought I'd put together some thoughts, ideas & suggestions as to what might be needed for quick success.
Flashkit 2002 Presentation
I presented "Consuming XML in Flash" at Flashkit 2002, Sydney, on Friday and have put both the PowerPoint presentation and the demo files on the Daemon site, Tips & Tricks section for download.