Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 390 Bytes

File metadata and controls

22 lines (12 loc) · 390 Bytes

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();';