Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Re: raster data expressions

Cow Forums : Adobe After Effects
FAQ   •   VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: raster data expressions
by Ben Insler on Sep 10, 2008 at 3:36:28 pm

Gotcha. Thanks.

Turns out I'm using AFX 6.5 (i know...I know...), and that function wasn't introduced until CS3. So I've come up with a new idea for driving the effect I'm looking for, but I'm having trouble with the driving expression. Can you have one expression, in one layer, drive many other layers. For example, if I have 10 solids (solid01 - solid10) in compA, and another solid (driver01) in CompB, can an expression use driver01.rotation to control the rotation of all 10 solids, without writing an expression for each?

I was hoping to do something along the lines of this in the rotation attribute of the driver solid (and I don't know if the syntax is write here, just using it as an example):

for(i = 1, i<=10, i++)
comp("compA").layer(i).rotation = rotation;

The results of this don't calculate onto solid01 - solid10. However, if I write an expression for each solid's rotation in compA referencing the driver's rotation, everything works. Any way to just have one expression drive all?

Thanks again!

Ben



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]