ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

dima23071991@gmail.com

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dmitriy Khomyakov
dima23071991@gmail.com
on Feb 8, 2019 at 10:21:18 pm

Hello everyone, urgently need help.





I need to change the font as shown in the pictures by clicking on "Checkbox Control".
Please help with the solution of this problem, it is very urgently needed.
Thank!!!


Return to posts index

Andrei Popa
Re: dima23071991@gmail.com
on Feb 9, 2019 at 7:46:08 am

You can't. The best thing you can do is create 3 layers, and make only one visible, according to the selected checkbox. For that, you will need something like this to the opacity of every layer

check = thisComp.layer("Control")("Font_Arial")("Checkbox");
(check == true) ? 100 : 0;


and to the checkbox value you need something like this :

check1 = thisComp.layer("Control")("Font_Arial")("Checkbox");
check2 = thisComp.layer("Control")("Font_Algerian")("Checkbox");
(check1 == true || check2 == true) ? 0 : 1;


This is for your last checkbox. In each, you write the other 2 as variable

Andrei
My Envato portfolio.


Return to posts index

Dmitriy Khomyakov
Re: dima23071991@gmail.com
on Feb 9, 2019 at 4:16:47 pm

I need that there was only one text layer, and the script changed the font


Return to posts index

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