Target Object
Represents the target itself.
Target Properties
The name of this item. An item’s name can be changed by setting this property, with the following restrictions:
The parent object of this item.
A SystemPropertyList object that allows access to all of the System Properties contained in this object.
A string that indicates the type of this object.
An array of objects representing the children of this object, if any. Null if the object has no children.
Returns the position (zero-based index) of this item’s parent’s array of children.
Always 0 for a Delay.
If this item repeats in parallel with the “Renew parallel repeats” option enabled, this is an integer value that is the “playNumber” value of the original parallel repeat for this item if it has been renewed because a prior parallel repeat ended. If this is the original parallel repeat, the value of
For example, if parallel repeat number 5 of the item ends, but the Renew parallel repeats checkbox is enabled, the ending repeat will be replaced with a new, replacement repeat. The new repeat will have new repeatIndex and playNumber values (according to how many other repeats have already occurred). However, the playNumberBeforeRenewal value will still be 5 in this example. This property is always 0 for Composition, Checkpoint, Delay, and Target.
Always -1 for a Target.
Returns the next item after this one in this item’s parent’s array of children, or null if this is the last item. In other words, returns the next sibling in the object hierarchy. Equivalent to:
Returns the previous item before this one in this item’s parent’s array of children, or null of this is the first item. In other words, returns the next sibling in the object hierarchy. . Equivalent to:
This property is always null for Targets.
This contains the current list of cookies being maintained. This list changes as responses are received that contain cookies. The value is null if there are currently no cookies being maintained. There is a single list of cookies maintained across all Targets within the same instance of the same Clip. Thus the value for this property will be the same for all Targets in the same instance of the same Clip, and setting this property affects the Clip’s cookie processing across all Targets within the Clip. This property can be set to replace the entire list of cookies. This can be done by modifying the existing list, or by creating an entirely new list. The value of the property is an array of Objects. Each object in the array has the following property values:
|
|
Target Methods
getChild Method Returns a specific child object by name, or null if there is no child with the specified name. |
object getChild(string childName) |
getItemViaPath Method
Given a type of item and the path to that item in the Composition object hierarchy, returns the object in the hierarchy that represents that item. |
object getItemViaPath(string itemType, string path) |
The " itemType " parameter value
indicates the type of item (not case sensitive):
The " |
|
string signURL(string url)
This method "
The "
The information needed to perform the signing operation is taken from the following System Property values of the Target:
|