-
EXTENDSCRIPT loop in property layer
Hi!
I’m trying to do a loop into the property of solids layers to find an effect by it’s name (let’s suppouse it is Transform effect). How can I write it?
I have this:
var proj = app.project;
var curLayer = proj.item(1).layer(1);for(var i=1;i<=curLayer.effect.length;i++){
var curEffect = curLayer.effect(i);
alert(curEffect.name);
}