FORUMS: list search recent posts

Parent to an object in another Comp

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Johan Nordström
Parent to an object in another Comp
on Jul 20, 2011 at 10:07:24 am

Hi!

I'm so new att expressions, and i'm sure this has been up on the forum before.. but im having a hard time finding the answer.
Here we go.

I want a pre-composed shape layer to parent to a layer in the original composition. I want it to move and scale exactly like the original image but in the pre-comp.

thnx.


Return to posts index

Greg Burrus
Re: Parent to an object in another Comp
on Jul 20, 2011 at 2:57:59 pm

If I understand you correctly you just want to know how you connect values between comps.

If that is it you can drag one compositions timeline panel above the other by clicking and dragging the tab above until you see the blue shapes that tell you where you are placing it.

Then you can just pick whip the values from one composition to the other.

If you happen to have expression controllers you can lock the effects panel with the lock in the tab then open the other composition and pick whip the values.

or you can just type the code below

hope this helps

greg

comp("Comp name").layer("your layer name").value

http://mogra.g2bproductions.com/ - Blog
http://g2bproductions.com/ - Portfolio


Return to posts index

Johan Nordström
Re: Parent to an object in another Comp
on Jul 20, 2011 at 3:58:32 pm

Yes!

Thank you!
I didnt think of that.. it was sooo easy...
Thank you so much!


Return to posts index

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