Frame.actionscript, Frame.duration – Adobe Extending Flash Professional CS4 User Manual
Page 301
279
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
frame.actionScript
Availability
Flash MX 2004.
Usage
frame.actionScript
Description
Property; a string that represents ActionScript code. To insert a new line character, use
"\n"
.
Example
The following example assigns
stop()
to first frame top layer action:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript = 'stop();';
frame.duration
Availability
Flash MX 2004.
Usage
frame.duration
A string that specifies effects for a sound that is attached directly to a frame
(
).
An integer value that specifies the number of times a sound that is attached
directly to a frame (
A string that specifies whether a sound that is attached directly to a frame
(
) should play a specific number of times or loop
indefinitely.
A string that specifies the name of a sound that is attached directly to a frame
(
), as stored in the library.
A string that specifies the sync behavior of a sound that is attached directly to a
frame (
).
Read-only; the index of the first frame in a sequence.
An integer that specifies the amount of easing that should be applied to the
tweened object.
A string that specifies the type of tween.
A Boolean value that specifies whether a single custom ease curve is used for
easing information for all properties.
Property
Description