FORUMS: list search recent posts

Break a time remap expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Milos Milunovic
Break a time remap expression
on May 22, 2015 at 11:06:05 am

Hi people, another rookie in expressions.
here is my problem:

I have a composition with time remap and a expression:
state=comp("comp_1").layer("character").effect("outfit")("ADBE Slider Control-0001");
framesToTime(state);
Null with a slider that is controlling a time remap.
I wont to break expression with a checkbox and be able to controll the compositions frame number with another null and a slider.

My humble opinion is to use if/else command.
I managed to do similarly with this exspression:

effect("default")("Slider")
if (effect("dafault_character_on/off")("Checkbox").value)
{effect("default")("Slider")
}else
value


in general I need to break a time remap expression (that is controll by a slider) with checkbox and use another slider to control the same composition.
Thanks in advance.


Return to posts index


Dan Ebberts
Re: Break a time remap expression
on May 22, 2015 at 5:03:25 pm

I haven't tested it, but I guess it would be like this:


if (effect("dafault_character_on/off")("Checkbox").value){
state=comp("comp_1").layer("character").effect("outfit")("ADBE Slider Control-0001");
}else{
state=comp("comp_1").layer("other null").effect("other slider")("ADBE Slider Control-0001");
}
framesToTime(state);


Dan



Return to posts index

Milos Milunovic
Re: Break a time remap expression
on May 22, 2015 at 6:56:07 pm
Last Edited By Milos Milunovic on May 25, 2015 at 2:49:11 pm

Dan, thank You for replay.
I will try it.

works perfectly!
thanks

Dan,
is it possible to pick whip both way two sliders? if I type a number 12 in one the other change to 12 and the other way if I type in second slider some value the first slider change to that value.
Is there an expression for that?
I try to pickwhip-it and I get some funky results.
Thanks.


Return to posts index


Milos Milunovic
Re: Break a time remap expression
on May 25, 2015 at 12:43:07 pm

Works perfectly.
Thanks again.


Return to posts index

Milos Milunovic
Re: Break a time remap expression
on May 25, 2015 at 2:47:00 pm

Dan,
is it possible to pick whip both way two sliders? if I type a number 12 in one the other change to 12 and the other way if I type in second slider some value the first slider change to that value.
Is there an expression for that?
I try to pickwhip-it and I get some funky results.
Thanks.


Return to posts index

Dan Ebberts
Re: Break a time remap expression
on May 25, 2015 at 3:53:15 pm

Setting up two expressions so that each depends on the other for its result will give you unpredictable results. Don't do it.

Dan



Return to posts index

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