This content has been marked as final.
Show 5 replies
-
1. Re: colorChangeF(tf_mcHT_2.tf,0x000000);
Ned Murphy May 6, 2012 8:00 AM (in response to Ron Colmen)textNumNowCol = "tf_mcHT_"+textNumNow+".tf";
is assigning a String to the textNumNowCol variable, not an object.
I am pretty sure you've been shown how to use bracket/array notation to be able to target an object using a string representation of its instance name. See if you can remember and apply it to what you tried to do in that line.
-
2. Re: colorChangeF(tf_mcHT_2.tf,0x000000);
Ron Colmen May 6, 2012 8:14 AM (in response to Ned Murphy)Thanks Ned! done
Is this what's expected?
textNumNowCol = "tf_mcHT_"+String(textNumNow);
colorChangeF(this[textNumNowCol].tf,0x000000);
-
3. Re: colorChangeF(tf_mcHT_2.tf,0x000000);
Ned Murphy May 6, 2012 10:26 AM (in response to Ron Colmen)That should work Ron.
-
4. Re: colorChangeF(tf_mcHT_2.tf,0x000000);
Ron Colmen May 6, 2012 10:29 AM (in response to Ned Murphy)That worked! Thanks Ned!
-
5. Re: colorChangeF(tf_mcHT_2.tf,0x000000);
Ned Murphy May 6, 2012 3:04 PM (in response to Ron Colmen)You're welcome Ron



