Archive for February, 2008

ColdFusion Dynamic Argument Naming in Method Calls

I created a custom tag recently that required a method argument name be passed as an attribute. While I’m familiar with the usual techniques of using dynamic variable names, they didn’t work in this situation.
Here’s what I was attempting to do:
Main Page

<cfmodule template=”customtags/deleteRecord.cfm”
idValue = “1″
idColumn = “colName” />

Custom Tag

<cfset obj = createObject(“component”,”com.mycomponent”)>
<cfset qRecord = [...]

coldFusion, quickTip

Run Multiple Versions of Firefox on OSX

John Resig, creator and lead developer of the jQuery JavaScript library, wrote a nice post describing how to run multiple versions of Firefox on OSX without one stepping on the other. Worked like a charm for me so I thought I’d share:
http://ejohn.org/blog/sexy-firefox-3/

firefox, osx

AS3 Event Generator Extension

Lee Brimelow, master of Flash tutorials (see gotoAndLearn.com), has released a free AS3 Event Generator extension for Flash CS3. The extension adds an ‘Event Generator’ option under your Window > Other Panels menu. Once installed you simply select a named movie clip, select the event functionality you require for your application, click the ‘Copy to [...]

as3