AS3 Have hidden performance stats which is made visible by double-clicking in the top-left corner of SWF


/ Published in: ActionScript 3
Save to your folder(s)

For this to work you need get Mr.Doob's Stats class and put it in the 'net/hires/debug' package structure. This code basically makes the stats hidden until you double-click in the top-left corner of the stage. The stats are then draggable and can be hidden again by double-clicking the stats panel.

URL: http://mrdoob.com/blog/post/582

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.