-
Scalar error
I made a bar graph and control the y scale with a slider control. This slider also controls the numbers counting up from 0-100. I’m trying to get the numbers to follow the scale growth of the graph bar and get an error msg scalar. The problem is that scale 0 is the bottom of the comp and position 0 is left/top. I found a solution by rotating the bar and the number, and then flipping it back in the main comp so the bar and number look ok moving together.
I just want to do this without rotating or the multiplication. How do I make the position of the number think that 0 is actually at the bottom of the comp (when the solid is scaled to 0), and that 100 is approximately the middle of the comp (which is roughly 500 px)I thought this would work:
linear(x,100,0,0,100) but got the scalar error msg.
Thanks,
Kris
temp = thisComp.layer("Null 1").effect("Slider Control")("Slider");
[temp, temp]
y = thisComp.layer("Null 1").effect("Slider Control")("Slider")*2.6;
x = 20;
[ x , y ] \this works for nowKristian Tonnessen
Graphic • Motion Designer
KING 5 Television • Seattle, WA