I already have some compositions inside an array.
x = *is an item inside an array* ..
y = 1 ; // just one layer in this comp.
myLayer = app.project.item(x).layer(y)
what i need is to apply a command to freeze this layer... searched many places and still couldnt find it yet...
Anyone could help?
You'll need to add time-remapping to the layer in question:
myLayer= app.project.item(x).layer(y);
myLayer.timeRemapEnabled = true;
timeRemap = mylayer.property("Time Remap");
timeRemap.setValueAtTime(theTime , theValue); // or is it (theValue, theTime)?
Time remapping is a property of the Layer object in AE.