oscar alexander
May 13th, 2003, 06:28 AM
I have six textfields inside a clip, named digit_1 to digit_6.
The path to the first textfield would be:
_root.mcContainer.digit_1;
How can I dynamically address these fields if I only know the number (ie. 1 to 6)? I've tried this:
eval("_root.mcContainer.digit_" + number) = "value";
But to no avail. Please help...
The path to the first textfield would be:
_root.mcContainer.digit_1;
How can I dynamically address these fields if I only know the number (ie. 1 to 6)? I've tried this:
eval("_root.mcContainer.digit_" + number) = "value";
But to no avail. Please help...