You shouldn't need to go that far as the textfield class/object has a number of events/listeners built in.
This should be enough:
myTextField_txt.onChanged = function() {
trace("The textfiled called 'myTextField_txt' has just changed!);
}Andrew
Jason Bayly wrote:
Hi all
My first time with a listener,
im listening to a dynamic text field and want to detect when a value is inserted into it.. Does the below look good cause it dont seem to work..
i.e pdf_trigger_listener = new Object(); pdf_trigger_listener.onChanged = function () { text1 = "> pdf text field changed"; //other code } pdf.addListener(pdf_trigger_listener);
Cheers
Jason
-- Andrew Muller Senior Macromedia Certified Instructor - ColdFusion, Flash Certified Advanced Macromedia ColdFusion Developer - CF5, CFMX Certified Macromedia Flash Developer - FL5, FMX
Daemon Internet Consultants [EMAIL PROTECTED] Macromedia Certified Training http://www.daemon.com.au/go/training T: 61 2 9380 4162 F: 61 2 9380 4204 17 Roslyn Gardens Elizabeth Bay NSW 2011 AUSTRALIA
Daemon: Serious Web Development
FarCry, the open source CMS for ColdFusion MX http://farcry.daemon.com.au/
--- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
