Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
Package flash.profiler 

These functions can be used for debugging and profiling ActionScript code.
Public Methods
 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 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.