ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Changing Keyframe value using Expresion

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
jamel ghabbara
Changing Keyframe value using Expresion
on Jun 20, 2018 at 11:04:55 am

i have an urgent project, and im struggling with this code.
in the comp there is a NULL and TEXT. the problem is that between the two keyframes the animation jump is case the text is empty, so pleaaaaaase help meeee :"(

textlayer = thisComp.layer("text").text.sourceText;
n = 0;
kf = 2;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time) n-2;
}
if (n == kf && textlayer == ""){
t = time - key(n).time;
PositionX=effect("Slider Control")("Slider");
[PositionX,value[1]];
}else
value


Return to posts index

Andrei Popa
Re: Changing Keyframe value using Expresion
on Jun 21, 2018 at 8:18:40 am

I don't want to be mean, but even if you are in a hurry, you should try to expose your problem as clear as possible and don't emphasize on the "so please help me". I feel like trying to figure out what you are saying because you took your time to write in bold some text that is totally outside your problem instead of actually thinking of a right way to present us what you need.

Andrei
My Envato portfolio.


Return to posts index

jamel ghabbara
Re: Changing Keyframe value using Expresion
on Jun 21, 2018 at 9:02:55 am

i don't want to be mean too, but making a text BOLD is not a problem that u should spend time talking about it, its just ONE CLICK and BOOM! it's BOLD.Then, i did wrote everything: Comp contain two things (NULL and a TEXT) and if the text is empty the position jumps to the second frame... i think uve only read the BOLD sentance anyway thanks for the help Boss :*


Return to posts index


Andrei Popa
Re: Changing Keyframe value using Expresion
on Jun 21, 2018 at 10:10:24 am

You are treating the people on this forum like they owe you something. They don't. And i don't think anyone will answer your question if you post it like this. But what do i know? Good luck.

Andrei
My Envato portfolio.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]