If you want to link certain properties through several composition you can only do this with expressions. They are really not difficult though and its a matter of 1-2 lines.
F.e. to get the position of a layer in a different composition you can do this:
comp("Comp Name").layer("Layer Name").transform.position
Just alt click the position stop watch of the layer you want to apply that position to and enter that command.
To break it down. This select first the comp you want by name and then selects the layer you want within that comp:
comp("Comp Name").layer("Layer Name")
This part says that you want a value from the transform
menu and the name of the value is position
. Position could also just be rotation or any other property:
.transform.position
Note that you often get multiple values at once. For example position can have 2 or 3 values depending on if the layer is 2D or 3D. This multiple values are given to you in something called an array or vector. What comes now is only needed if you want independent axis control and not the position value of all 2 or 3 axis's applied to your layer.
So in order to f.e. only get the position of the y axis you can do this:
y = comp("Comp 1").layer("layer1").transform.position[1];
[transform.position[0],y]
The made-up variable name y in this case is getting the y-axis value of layer1
assigned. by adding [1]
at the end of position
. Using [0]
would give you x and [2]
would give you z.
This part is what you call the return value. You write it in the form of an array/vector. Meaning [x-axis-value,y-axis-value]
or [x-axis,y-axis,z-axis]
. transform.position[0]
just means I want the x value of THIS layer where I'm entering the expression in. So you can still control that axis manually.
[transform.position[0],y]
In order to account for the time remap you would need to apply the same remapping to comp2 that you applied to comp1.
If that's not what you are after I might have to see an example project.
Edit: So if you use time remap to loop layers and not to fine tune your animation you shouldn't use it in these situation. In order to retain a better control you should use a simple expression on the animated assets of your looping composition in order to loop you animation.
loopOut(type = "cycle", numKeyFrame = 0);
Add this to every layer property that is animated and make the comp length as long as you need, your 2 second animation will now repeat as long as your composition is, you just have to stretch your layers length to the new comp length. This solves your issue.
If you have more sub-comps in you sub-comp you will have to increase their length as well of course so you can stretch them to the end of their parent comp.
For more information on this expression have a look at this: http://provideocoalition.com/pvcexclusive/story/expression_shorts_-_loop