AnimationSetting
Animation settings.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, save, saveACopy, toSource, toSpecifier
Objects:
AnimationEaseOptions, Boolean, DesignOptions, EventListeners, Events, MotionPreset, NothingEnum, Number, Object, String,
Hierarchy:
Superclass: Preference
Class: AnimationSetting
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The animation design option. |
||
Number (range 0.125 - 60) |
read/write |
The duration in second for this animation. |
|
read/write |
The ease type. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Determines if this animated object has custom settings. |
||
read/write |
Determines if this object is hidden after its animation is played in an exported SWF file. |
||
read/write |
Determines if this object is initially hidden when displayed in an exported SWF file. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
Array of OrderedarraycontainingkeyFrame:LongInteger Array of leftDirection:2 Reals Array of pathPoint:Ordered array containing anchor:2 Reals Array of rightDirection:2 Reals. |
read/write |
The list of motion path points and key frames for this animation. Can return: Ordered array containing keyFrame:Long Integer, pathPoint:Ordered array containing anchor:Array of 2 Reals, leftDirection:Array of 2 Reals, rightDirection:Array of 2 Reals. |
|
Array of Ordered array containing pathPointArray:Ordered array containing anchor:2 Reals Array of leftDirection:2 Reals PathOpen:Boolean Array of rightDirection:2 Reals |
read/write |
The list of motion path points for this animation. Can return: Ordered array containing pathPointArray:Array of Ordered array containing anchor:Array of 2 Reals, leftDirection:Array of 2 Reals, rightDirection:Array of 2 Reals, pathOpen:Boolean. |
|
Array of OrderedarraycontainingkeyFrame:LongInteger Array of Value:Real |
read/write |
The list of opacity key frames for this animation. Can return: Ordered array containing keyFrame:Long Integer, value:Real. |
|
readonly |
The parent of the AnimationSetting (a PageItem, HtmlItem, FormField, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject, Button, MediaItem, Sound, Movie, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Graphic, SVG, ImportedPage, PICT, WMF, PDF, EPS, Image, Group, TextFrame or EndnoteTextFrame). |
||
Number (range 1 - 100) |
read/write |
The number of times this animation plays. |
|
read/write |
Set to true if animation play loops. |
||
read/write |
The base animation preset applied. Can return: MotionPreset, String or NothingEnum enumerator. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
Array of OrderedarraycontainingkeyFrame:LongInteger Array of Value:Real |
read/write |
The list of rotation key frames for this animation. Can return: Ordered array containing keyFrame:Long Integer, value:Real. |
|
Array of OrderedarraycontainingkeyFrame:LongInteger Array of Value:Real |
read/write |
The list of scale x key frames for this animation. Can return: Ordered array containing keyFrame:Long Integer, value:Real. |
|
Array of OrderedarraycontainingkeyFrame:LongInteger Array of Value:Real |
read/write |
The list of scale y key frames for this animation. Can return: Ordered array containing keyFrame:Long Integer, value:Real. |
|
read/write |
The tranform offset percentage from the target object bounding box's left-top corner. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
AnimationSetting getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
MotionPreset save (name:String)
Save this motion preset as custom preset.
Parameter |
Type |
Description |
---|---|---|
name |
The name for the new motion preset. |
undefined saveACopy (to:File)
Save a copy of this motion preset to a InDesign motion preset file.
Parameter |
Type |
Description |
---|---|---|
to |
The Flash motion preset file to export to. |
String toSource ()
Generates a string which, if executed, will return the AnimationSetting.
String toSpecifier ()
Retrieves the object specifier.
Object of
FormField.animationSettings
Button.animationSettings
MultiStateObject.animationSettings
CheckBox.animationSettings
ComboBox.animationSettings
ListBox.animationSettings
RadioButton.animationSettings
TextBox.animationSettings
SignatureField.animationSettings
Movie.animationSettings
Sound.animationSettings
PageItem.animationSettings
Oval.animationSettings
Rectangle.animationSettings
GraphicLine.animationSettings
Polygon.animationSettings
Group.animationSettings
Image.animationSettings
EPS.animationSettings
PDF.animationSettings
WMF.animationSettings
PICT.animationSettings
Graphic.animationSettings
SplineItem.animationSettings
EPSText.animationSettings
ImportedPage.animationSettings
SVG.animationSettings
MediaItem.animationSettings
HtmlItem.animationSettings
TextFrame.animationSettings
EndnoteTextFrame.animationSettings
Event.parent
EventListener.parent
MutationEvent.parent