Discussion:
Adding value to scale only affects X, not Y? Why?
(too old to reply)
N***@adobeforums.com
2009-03-23 17:10:59 UTC
Permalink
So I I'm using Sound Keys to drive the scale of another layer. However, it's only modifying the X scale, not X & Y.

What's wrong with this expression:

transform.scale+thisComp.layer("solid").effect("Sound Keys")("Output 1")

also tried these, but got an syntax error:
s = transform.scale+thisComp.layer("solid").effect("Sound Keys")("Output 1");
[s[0],s[1]]

and
s = transform.scale+thisComp.layer("solid").effect("Sound Keys")("Output 1");
[s,s]
D***@adobeforums.com
2009-03-23 18:51:23 UTC
Permalink
You were all around it. Try this:

s = thisComp.layer("solid").effect("Sound Keys")("Output 1");
transform.scale + [s,s]

Dan
N***@adobeforums.com
2009-03-23 19:08:11 UTC
Permalink
ARGH! Thanks Dan! I never can remember that one can add arrays.

Continue reading on narkive:
Loading...