Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.01 KB

File metadata and controls

34 lines (19 loc) · 1.01 KB

frame.getCustomEase()

Availability

Flash 8.

Usage

Frame.getCustomEase([property])

Parameters

property An optional string that specifies the property for which you want to return the custom ease value. Acceptable values are "all", "position", "rotation", "scale", "color", and "filters". The default value is "all".

Returns

Returns an array of JavaScript objects, each of which has an x and y property.

Description

Method; returns an array of objects that represent the control points for the cubic Bézier curve that defines the ease curve.

Example

The following example returns the custom ease value of the position property for the first frame in the top layer:

var theFrame = fl.getDocumentDOM().getTimeline().layers[0].frames[0] 
var easeArray = theFrame.getCustomEase("position");

See also

frame.hasCustomEase, frame.setCustomEase(), frame.useSingleEaseCurve