-
Change color of one text character in an expression
Hi everyone. Long time listener, first time caller. I’ve been doing some digging and haven’t really come across an answer to my question, or perhaps it’s in there and just buried in a bunch of code. So, I thought I’d ask here, which has been a helpful forum for me in the past (via Google searches).
I have a comp I’m using in a video that deals with some data — specifically amounts of money given to certain groups.
As I cycle through V/O of the groups, I have an animation sliding the number down to correspond to the groups referenced. The dollar amounts are in millions, and so we decided to just put an “m” after the number. So, $40 million would be “$40m” … make sense?
So the question is, can I make the “m” a different color than the “$” and the number? Here’s the code I have in the expression box right now:
“$”+effect(“Slider Control”)(“Slider”).value.toFixed(1)+”m”
Forgot to add. Most of the figures we’re displaying have one decimal place. Anyway, I hope the question makes sense, and thank you kindly for your help. Keep in mind I’m still getting my sea legs with this program, so you might be talking over my head a bit. If I need you to dumb it down for me, though, I’ll ask.
Thanks again!!
"$"+effect("Slider Control")("Slider").value.toFixed(1)+"m"