Scroll control
Posted: December 13th, 2014, 3:56 pm
I have to scroll horizontally over a very wide time line where I make a few stops. The preview's terrible and key framing is therefore very difficult which makes me think this could be easy with a null and an expression but I'm a total n00b to this stuff. ![Smile :)](./images/smilies/icon_smile.gif)
I made this:
And tweaked a code to add slider control I found on this forum:
They would be great if it wasn't for the stops, because both return to the starting position when I set the slider to 0 to stop. Logical if I think about it but the thing is I want to continue after a stop of a few seconds.
Anybody know how to do this? Seems easy but could also be way more difficult.![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
I made this:
Code: Select all
temp = effect("Tempo")("Slider");
xPos = value[0] + (time * (temp * -10));
yPos = 540;
[xPos, yPos];
Code: Select all
temp = effect("Tempo")("Slider");
intPixelsPerSecond = temp * 100;
x=position[0]-((time-inPoint)*intPixelsPerSecond);
if (temp = 0){
[position[0],position[1]];
}else{ [x,position[1]] ; }
Anybody know how to do this? Seems easy but could also be way more difficult.
![Smile :)](./images/smilies/icon_smile.gif)