Adobe 12040118 Using Help - Page 103
Layer active attribute, Layer activeAtTime() method, Methods, Example, Description
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 103 highlights
Help Using Help Reference Back 103 Methods Method remove() m ove To B e g i n n i n g ( ) moveTo E n d () moveAfter() moveBefore() duplicate() copy To Comp () activeAtTime() setParentWithJump() Reference Description see "Layer remove() method" on page 108 deletes the layer from the composition see "Layer moveToBeginning() method" moves the layer to the top of the composition on page 106 (the first layer) see "Layer moveToEnd() method" on page 106 moves the layer to the bottom of the composition (the last layer) see "Layer moveAfter() method" on page 105 moves the layer below another, specified layer see "Layer moveBefore() method" on page 106 moves the layer above another, specified layer see "Layer duplicate() method" on page 104 duplicates the layer see "Layer copyToComp() method" on copies the layer to the top and beginning of page 104 another composition see "Layer activeAtTime() method" on given a time, returns whether this layer will be page 103 active at that time see "Layer setParentWithJump() method" on page 108 establishes newParent as the parent of this layer Example If the first item in the project is a CompItem, the following example would disable the first layer in that composition (i.e., turn the eyeball icon off) and rename it to "Lord High Imperial Layer." var firstLayer = app.project.item(1).layer(1); firstLayer.enabled = false; firstLayer.name = "Lord High Imperial Layer"; Layer active attribute app.project.item(index).layer(index).active Description The Layer active attribute is true if the layer's video is active at the current time. To be true, the layer must be enabled; no other layer may be soloing unless this layer is soloed too, and the time must be in between the inPoint and outPoint of this layer. Note that an audio layer will not have active as true; there is a separate audioActive attribute in the AVLayer object. Type Boolean; read-only. Layer activeAtTime() method app.project.item(index).layer(index).activeAtTime(time) Using Help Back 103