|
|
parent.transform.zRotation is a valid expression and should work fine.
Do you get an error when trying this?
Phil
Phil Spitler | Associate Creative Director | Bonfire Labs | t : 415.394.8200 | c : 415.571.3139 | Bonfirelabs.com
On Mar 26, 2012, at 4:08 PM, tolga burcak wrote:
> Hi,
>
> I want to ask a question about expressions.
>
> I have a comp named "Nodes". There are 15 same precomped layers in it
> named "Node". I'm rotating all nodes in different values for each. I
> have a layer in "Node" comp and I want to make it rotated. I'm trying
> to subtract the parent layers rotation value but i couldnt access it
> dynamically.
>
> I dont want to use like this:
>
> comp("Nodes").layer("Node1").transform.zRotation
>
> because i dont want to populate Node1, Node2,...Node15 in project
> panel. It may be another, (not hardcoded) way i guess.
>
> I want to access rotation value like this:
>
> parent.transform.zRotation
>
> I hope i could tell my question clearly. Thanks :)
>
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>
|
|