Adobe 65009963 Scripting Manual page 37

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
d u r a ti o n
Returns
Nothing.
AVItem setProxyWithSequence() method
a pp .p r o j e c t .i te m (i nd e x) .set Pro x yW it hSeq uen ce ( f i le, f or ce Al phabet i cal )
Description
Sets a sequence of files as the proxy of this AVItem, with the option of forcing alphabetical order. Loads the
specified file sequence into a new FileSource object, sets this as the value of the
to true. It does not preserve the interpretation parameters, instead using the user preferences. If any
usePro xy
file has an unlabeled alpha channel, and the user preference says to ask the user what to do, the method
estimates the alpha interpretation, rather than asking the user.
Parameters
f i l e
f o r c e A l ph ab e t i c al
Returns
Nothing.
AVItem setProxyWithSolid() method
a pp .p r o j e c t .i te m (i nd e x) .s et Pro x yW it hSolid (c ol o r, na m e , w id t h , h ei gh t , p ix el A s p ec t)
Description
Creates a SolidSource object with specified values, sets this as the value of the
to true. It does not preserve the interpretation parameters, instead using the user preferences.
usePro xy
NOTE: There is no way, using the user interface, to set a solid as a proxy; this feature is available only through
scripting.
Parameters
c o l o r
The color of the solid, an array of 3 floating-point values, [R, G, B], in the range [0.0..1.0].
n a m e
A string containing the name of the new object.
w i dt h, h eight
The pixel dimensions of the placeholder, an integer in the range [1...30000].
p i xe l A s pe c t
The pixel aspect of the solid, a floating-point value in the range [0.01... 100.0].
Returns
Nothing.
The total length in seconds, up to 3 hours. An integer in the range [0.0..10800.0].
An ExtendScript File object for the first file in the sequence.
When true, use the "Force alphabetical order" option.
AVItem object
37
attribute, and sets
pr ox y So urc e
attribute, and sets
p r o xy S o u r c e
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents