- April 8, 2021 at 5:07 pm
On a text layer, I want to “build” some variables via sliders to equal a know text layer that already exists. This is just an example of how I think it would work.
xCopy=effect(“Data controls”)(“Copy #”);
The variable xCopy is equal to these possibilities: Copy1, Copy2, Copy3, Copy4, Copy5
The variable XResolution is equal the following possibilities: 300×250, 300×600, 640×480, 728×90, 970×90.
Then I have a Pseudo Effect associated with this text layer where I can build the possible outcomes of what text layer I want it to be associated with.
To simplify the issue, here is what works. I am just linking text in one comp to text in another comp through this expression, and it works fine. I just want to setup a situation where people don’t have to go into expressions to edit what layer it should point towards.
- April 12, 2021 at 1:27 pm
I think you’ve added the resolution options to an expression control pop-up selector ?
Those return a number, the index of the selection, and not the actual string of theboption you selected
Log in to reply.