Cameron Yule

Show redraw regions in Flash

If you’re ever having trouble debugging problems caused by hidden artefacts which have mouse interactivity enabled, there’s a handy command which will make your life a lot easier: showRedrawRegions.

Note that you’ll need to be using the debugger version of the Flash Player for this to work.

flash.profiler.showRedrawRegions(true)

Published on January 22, 2010 in Programming
Tags: , ,

Comments

Join the discussion by leaving a comment, or trackback from your own site. (Comment feed)

Tomek
20/05/2010

Handy! I was always doing it by right-clicking and manually enabling it.