setTimeout cannot find the right scope

there was another thread in this forum about a setTimeout and some not working code.

In setTimeout you cannot use the “this” keyword, for instance:

setTimeout(function(){ this.alpha = 0.5}, 2000); // does not work.

Looks like on old AS2 “scope” relict left over in setTimeout AS3.

Does anybody know a workaround for this ( eh…“this”) :huh:

keith