Resplendent Elk
07-26-2002, 01:11 PM
Whatīs the difference between variable names and instance names for text fields? The Flash MX help file and manual just says something like "the Var is the Variable Name", which isnīt very helpful.
The funny thing is that Iīve never had to use variable names until now. Iīm trying to set focus to a text field with Selection.setFocus("notesfield") and then select everything in the text field with Selection.setSelection(0, length), but I canīt get it to work. Itīs probably just a stupid n00b error, but Iīll probably be able to solve it when I understand the difference between variable and instance names.
Thanks in advance.
The funny thing is that Iīve never had to use variable names until now. Iīm trying to set focus to a text field with Selection.setFocus("notesfield") and then select everything in the text field with Selection.setSelection(0, length), but I canīt get it to work. Itīs probably just a stupid n00b error, but Iīll probably be able to solve it when I understand the difference between variable and instance names.
Thanks in advance.