User Guide

Scope of the this keyword 177
Within an on() handler attached to a button, this refers to the Timeline that contains the
button, as shown in the following code:
// Attached to button on main Timeline
on(press) {
trace(this); // displays '_level0'
}