-
Argh! Very simple but can’t get to work!! Adding values with time remapping and expressions
In my comp – COMP1 – I have 19 layers, each of exactly the same sequence of animation which is 57 frames long.
I am time remapping each layer to have a single hold keyframe on each consecutive frame so
Layer 01 – frame 01
Layer 02 – frame 02meaning you have all the first 19 images of the animation in 19 consecutive layers in the comp.
etc…
I need to duplicate that comp to COMP02 and have a layer with a slider control that means I can change the time remapping values to add 19 to each of the layers so in effect it’s the next 19 frames (the reason being is I’m going to be duplicating this comp loads of times with different offsets)
This layer is called “FRAME_OFFSET” and the slider is called “AMOUNT_OF_FRAMES”. The slider value is ’19’
I thought that it was as simple as having my time-remap keyframe value and then adding the slider number but when I use the pickwhip I get
timeRemap+thisComp.layer(“FRAME_OFFSET”).effect(“AMOUNT_OF_FRAMES”)(“Slider”)
and it’s giving me ridiculous return numbers that I can’t seem to work out. Basically not working at all!
Is this because my method of ‘adding’ is wrong – i.e. using the + sign or is it something to do with what time re-mapping considers ‘a frame’
hmmmmmm
Any thoughts would be very much appreciated!
yours
jim