These functions can be used for debugging and profiling ActionScript code.
Public Functions
 FunctionDefined by
  
showRedrawRegions(on:Boolean, color:uint = 0xFF0000):void
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 version: 

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.