Here's the code preview of that event
class SceneEvents_0 extends SceneScript
{
public function new(dummy:Int, engine:Engine)
{
super(engine);
}
override public function init()
{
addActorTypeGroupPositionListener(getActorGroup(4).ID + 1000000, function(list:Array, a:Actor, enteredScreen:Boolean, exitedScreen:Boolean, enteredScene:Boolean, exitedScene:Boolean):void
{
if (wrapper.enabled && enteredScreen)
{ /* "This doesn't compile" */}
});
}
override public function forwardMessage(msg:String)
{
}
}
It looks to me like all the { and } are matching, but I also cannot spot any other syntax error or a reason why this wouldn't compile.