Adobe 65009963 Scripting Manual page 66

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
f r am e R a te
The frame rate of the placeholder, a floating-point value in the range [1.0..99.0]
d u r a ti o n
The duration of the placeholder in seconds, a floating-point value in the range [0.0..10800.0].
FootageItem replaceWithSequence() method
a pp .p r o j e c t .i te m (i nd e x) .re pla ceWi th Se qu ence( file, forc eA l p h a b e t i c a l )
Description
Changes the source of this FootageItem to the specified image sequence. In addition to loading the file, the
method creates a new FileSource object for the file and sets
object, it sets the
,
n am e
w i dt h
page 32) based on the contents of the file.
The method preserves interpretation parameters from the previous
an unlabeled alpha channel, the method estimates the alpha interpretation.
Parameters
f i l e
f o r c e A l ph ab e t i c al
FootageItem replaceWithSolid() method
a pp .p r o j e c t .i te m (i nd e x) . r e pl a c e W i t h So l id (co l or , n am e , w idt h, h e igh t , p i xe l As p e ct )
Description
Changes the source of this FootageItem to the specified solid. Creates a new SolidSource object, sets its values
from the parameters, and sets
Parameters
c o l o r
The color of the solid, an array of three floating-point values, [R, G, B], in the range [0.0..1.0].
n a m e
A string containing the name of the solid.
w i dt h
The width of the solid in pixels, an integer in the range [4..30000].
h ei g ht
The height of the solid in pixels, an integer in the range [4..30000].
p i xe l A s pe c t
The pixel aspect ratio of the solid, a floating-point value in the range [0.01..100.0].
,
,
, and
h ei g ht
f r a m e D u r at i o n
An ExtendScript File object for the first file in the sequence to be used as the footage main source.
When true, use the "Force alphabetical order" option.
to that object.
m a i n S o u rc e
FootageItem object
to that object. In the new source
m a in S o u rc e
attributes (see "AVItem object" on
du rat i on
object. If the specified file has
m a i n S o u r ce
66
66

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents