Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 784 Bytes

File metadata and controls

29 lines (16 loc) · 784 Bytes

fl.toggleBreakpoint()

Availability

Adobe Animate.

Usage

fl.toggleBreakpoint(String fileURI, int line, Boolean enable)

Parameters

fileURI A string; the URI of the the AS file in which to toggle the breakpoint.

line An integer; the line number at which to toggle the breakpoint.

enable Boolean; if set to true, the breakpoint is enabled. If set to false, the breakpoint is disabled.

Description

Toggles a breakpoint for the given .as file at the given line. If enable is false, the breakpoint currently stored at that line will be erased.

Example

The following example enables a breakppoint at line 10 of the AS file located at C:\AS\breakpointTest.as:

fl.toggleBreakpoint("file:///C|/AS/breakpointTest.as", 10, 1);