Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding value to scale only affects X, not Y? Why?

644 views
Skip to first unread message

Navarro...@adobeforums.com

unread,
Mar 23, 2009, 1:10:59 PM3/23/09
to
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]

Dan_E...@adobeforums.com

unread,
Mar 23, 2009, 2:51:23 PM3/23/09
to
You were all around it. Try this:

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

Dan

Navarro...@adobeforums.com

unread,
Mar 23, 2009, 3:08:11 PM3/23/09
to
ARGH! Thanks Dan! I never can remember that one can add arrays.
0 new messages