Copy link to clipboard
Copied
Hello,
I have to TLF text ( Read Only ) with a name of sMath10 inside MovieClip with a name of content10. I want to chage the backgorund color from white to gray when the value of the text less then 26. How can i do that. please ?!
Regards,
is sMath10 is a valid reference in the scope of your code use the following. otherwise, try content10.sMath10 instead of sMath10 (if content10 is defined in the scope of your code).
sMath10.background = true;
sMath10.backgroundColor = 0xff0000;
Copy link to clipboard
Copied
is sMath10 is a valid reference in the scope of your code use the following. otherwise, try content10.sMath10 instead of sMath10 (if content10 is defined in the scope of your code).
sMath10.background = true;
sMath10.backgroundColor = 0xff0000;
Copy link to clipboard
Copied
Thanks kglad it's work fine
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now