views:

212

answers:

1

Is it possible to enable the "show redraw regions" programmatically? From AS3 code, I mean.

Or is it exclusively a feature of the context menu?

Our current C++ hosting app does not pass through right-clicks and I'd like to avoid changing that code. This is all for testing, doesn't have to be pretty.

+3  A: 

Yeah, should be able to do it with this line of code:

flash.profiler.showRedrawRegions(true)

Read the official docs for a few more details.

davr
sweet. i didn't know this!
grapefrukt