I want to do something like this:
class blah {
public function handleClickEvent ( event:MouseEvent ) : void {
this.setIndex ( _root.index );
}
}
I know _root.index doesn’t work in ActionScript 3.0, so how do I access root variables from within a class or how do I accomplish what I’m trying to do?