These functions can be used for debugging and profiling ActionScript code.
Public Methods
Function | Defined By | ||
---|---|---|---|
Shows or hides redraw regions. | flash.profiler |
Function detail
showRedrawRegions | () | function |
public function showRedrawRegions(on:Boolean, color:uint = 0xFF0000):void
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9 |
Shows or hides redraw regions. Enables the debugger version of Flash® Player to outline the regions of the screen that are being redrawn (that is regions that are being updated).
Parameters
on:Boolean — Specifies whether to show or hide
redraw regions. When set to true , the redraw rectangles are
shown. When set to false , the redraw rectangles are hidden.
| |
color:uint (default = 0xFF0000 ) — Sets the color of the rectangles. If you do not specify this parameter,
0xFF0000 is used.
|
Wed Nov 21 2018, 06:59 AM -08:00