> foo = createObject("component","foo");
> methodName = "doStuff";
> foo["tempMethod"] = foo[methodName];
> foo.tempMethod();If you are used to handling objects in JavaScript this sound pretty much familiar :-) ---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ---------------------------- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
