Adobe 65009963 Scripting Manual page 38

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
AVItem time attribute
a pp .p r o j e c t .i te m (i nd e x) .t im e
Description
The current time of the item when it is being previewed directly from the Project panel. This value is a number
of seconds. Use the global method
in terms of frames; see "timeToCurrentFormat() global function" on page 17.
It is an error to set this value for a FootageItem whose
Type
Floating-point value; read/write.
AVItem usedIn attribute
a pp .p r o j e c t .i te m (i nd e x) .u s e d I n
Description
All the compositions that use this AVItem.
Note: Upon retrieval, the array value is copied, so it is not automatically updated. If you get this value, then add
this item into another composition, you must retrieve the value again to get an array that includes the new item.
Type
Array of CompItem objects; read-only.
AVItem useProxy attribute
a pp .p r o j e c t .i te m (i nd e x) .u s e P r o x y
Description
When true, a proxy is used for the item. It is set to true by all the
method.
S e t Pr o x y T o N o n e ()
Type
Boolean; read/write.
AVItem width attribute
a pp .p r o j e c t .i te m (i nd e x) .w i dt h
Description
The width of the item, in pixels.
In a CompItem, the value is linked to the composition, and is read/write.
In a FootageItem, the value is linked to the
object is a SolidSource. Otherwise, it is read-only.
Type
Integer in the range [1...30000]; read/write, except as noted.
to convert it to a string value that expresses the time
t im eToCu rren tForm at
m a in S o u rc e
object, and is read/write only if the
m a i n S o u r c e
is still (
.
ite m
m a in S o u rc e . i s S t i l l
methods, and to false by the
S e tP r o x y
AVItem object
38
is true).
m a i n So u r c e
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents