Hi, I am new to Flash but pretty experienced in Director and lingo. Can anybody please tell how I can avoid this type of ridiculous code I am having to use:
function resetText():void {
pathText_textField_1.text = "";
pathText_textField_2.text = "";
pathText_textField_3.text = "";
pathText_textField_4.text = "";
pathText_textField_5.text = "";
pathText_textField_6.text = "";
pathText_textField_7.text = "";
pathText_textField_8.text = "";
}
In lingo I would run a repeat loop using the base “pathText_textField_” and adding the number as a string for each one. Is this possible in as3? I mean can I construct the mc reference using code somehow? I can of course make the names as a string in a loop but you cannot use a string as a mc name right? If not then how else can you send the same instruction to multiple mcs?
Any help would be appreciated!
Thanks