Adobe 65009963 Scripting Manual page 113

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Project importPlaceholder() method
a pp .p r o j e c t .i m po r tP l ac e h o l d e r ( n am e , w id t h, he ig ht, fram e Ra t e , du ra tio n )
Description
Creates and returns a new PlaceholderItem object and adds it to the project's
File > Import > Placeholder command.
Parameters
n a m e
A string containing the name of the placeholder.
w i dt h
The width of the placeholder in pixels, an integer in the range [4..30000].
h ei g ht
The height of the placeholder in pixels, an integer in the range [4..30000].
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].
Returns
PlaceholderItem object.
Project item() method
a pp .p r o j e c t .i te m (i nd e x)
Description
Retrieves an item at a specified index position.
Parameters
i n d e x
The index position of the item, an integer. The first item is at index 1.
Returns
Item object.
Project items attribute
a pp .p r o j e c t .i te m s
Description
All of the items in the project.
Type
ItemCollection object; read-only.
Project linearBlending attribute
a pp .p r o j e c t .l i n e ar Bl e n d i n g
Description
True if linear blending should be used for this project; othewise false.
Project object
113
array. Same as the
i te m s
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents