Copy link to clipboard
Copied
Hello everyone,
i found a formula on the web for avoiding at max the flickering effect on scrolling title for non-interlaleced video
rate = 2; //value in px/sec.
value - [0,rate*timeToFrames(time)]
its working pretty good for vertical movement but i would like to use it for an horizontal movement ( Legals on bottom of frame that have to roll from right to left on some commercials )
i tryed to use this formula but it's working only on the Y axis.
can someone help me on this?
have you a better solution / formula for horizontal movement without flickering?
sorry for my english, iam french ![]()
thx in advance
Oh, sorry, I misunderstood your question.
Here is the expression for horizontal movement:
rate = 2; //value in px/sec.
value - [rate*timeToFrames(time), 0];
Value inside square brackets represet position as [ x, y ].
Copy link to clipboard
Copied
I guess this will work both for X and Y axis:
rate = 2; //value in px/sec.
value - [rate*timeToFrames(time), rate*timeToFrames(time)];
Values inside brackets is an array of values [x, y] , that are deducted from the property value.
Copy link to clipboard
Copied
Hi Alex,
thx for your help but now my layer is going in diagonal ![]()
![]()
any idea?
thx again
Copy link to clipboard
Copied
Oh, sorry, I misunderstood your question.
Here is the expression for horizontal movement:
rate = 2; //value in px/sec.
value - [rate*timeToFrames(time), 0];
Value inside square brackets represet position as [ x, y ].
Copy link to clipboard
Copied
Thx a lot,
now i understand how its working by comparing the 2 expression i have.
thx again for your help.
cheers
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more