Adobe 12040118 Using Help - Page 46

AVLayer adjustmentLayer attribute, Method, Example, Description

Page 46 highlights

Help Using Help Reference Back 46 Attribute frameBlending canSetTimeRemapEnabled timeRemapEnabled hasAudio audioActive blendingMode preser veTr ansparency trackMatteTy pe isTr a ckMatte hasTr a ckMatte quality guideLayer Method Reference Description see "AVLayer frameBlending attribute" true if frame blending is enabled on page 49 see "AVLayer canSetTimeRemapEnabled attribute" on page 49 true if it is legal to change the value of timeRemap see "AVLayer timeRemapEnabled attribute" on page 52 true if time remapping is enabled on this layer see "AVLayer hasAudio attribute" on page 50 true if the layer contains an audio component see "AVLayer audioActive attribute" on true if the layer's audio is active at the current page 47 time see "AVLayer blendingMode attribute" blending mode of the layer on page 47 see "AVLayer preserveTransparency attribute" on page 51 true if preserve transparency is enabled see "AVLayer trackMatteType attribute" if layer has a track matte, specifies the way it on page 52 will be applied see "AVLayer isTrackMatte attribute" on true if this layer is being used as a matte track page 51 for the layer below it see "AVLayer hasTrackMatte attribute" true if the layer above is being used as a track on page 50 matte on this layer see "AVLayer quality attribute" on page 51 layer quality setting see "AVLayer guideLayer attribute" on true if the layer is a guide layer page 50 Method audioActiveAtTime() Reference see "AVLayer audioActiveAtTime() method" on page 47 Description given a time, returns whether this layer's audio is active at that time Example If the first item in the project is a CompItem, and the first layer of that CompItem is an AVLayer, the following would set the layer quality, startTime, and inPoint. var firstLayer = app.project.item(1).layer(1); firstLayer.quality = LayerQuality.BEST; firstLayer.startTime = 1; firstLayer.inPoint = 2; AVLayer adjustmentLayer attribute app.project.item(index).adjustmentLayer Description The adjustmentLayer attribute returns a value of true if the layer is an adjustment layer. Using Help Back 46

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253

U
sing H
elp
B
ack
46
Help
Reference
U
sing H
elp
B
ack
46
Method
Example
If the first item in the project is a CompItem, and the first layer of that CompItem is an AVLayer, the following
would set the layer quality, startTime, and inPoint.
var firstLayer = app.project.item(1).layer(1);
firstLayer.quality = LayerQuality.BEST;
firstLayer.startTime = 1;
firstLayer.inPoint = 2;
AVLayer adjustmentLayer attribute
app.project.item(index).
adjustmentLayer
Description
The adjustmentLayer attribute returns a value of true if the layer is an adjustment layer.
frameBlending
see “AVLayer frameBlending attribute”
on page 49
true if frame blending is enabled
canSetTimeRemapEnabled
see “AVLayer canSetTimeRemapEn-
abled attribute” on page 49
true if it is legal to change the value of timeR-
emap
timeRemapEnabled
see “AVLayer timeRemapEnabled
attribute” on page 52
true if time remapping is enabled on this layer
hasAudio
see “AVLayer hasAudio attribute” on
page 50
true if the layer contains an audio component
audioActive
see “AVLayer audioActive attribute” on
page 47
true if the layer's audio is active at the current
time
blendingMode
see “AVLayer blendingMode attribute”
on page 47
blending mode of the layer
preserveTransparency
see “AVLayer preserveTransparency
attribute” on page 51
true if preserve transparency is enabled
trackMatteType
see “AVLayer trackMatteType attribute”
on page 52
if layer has a track matte, specifies the way it
will be applied
isTrackMatte
see “AVLayer isTrackMatte attribute” on
page 51
true if this layer is being used as a matte track
for the layer below it
hasTrackMatte
see “AVLayer hasTrackMatte attribute”
on page 50
true if the layer above is being used as a track
matte on this layer
quality
see “AVLayer quality attribute” on
page 51
layer quality setting
guideLayer
see “AVLayer guideLayer attribute” on
page 50
true if the layer is a guide layer
Method
Reference
Description
audioActiveAtTime()
see “AVLayer audioActiveAtTime()
method” on page 47
given a time, returns whether this layer's audio
is active at that time
Attribute
Reference
Description