Debug.write("handling onblah event"); global.foo1 = true; this.addTest("test1"); this.addTest("test1"); Debug.write("TestEventHandler3: mymethod handling onblah event"); global.foo3 = true; this.addTest("test1"); var thisInst = this; var myclosure = {sendonblah: function () { thisInst.onblah.sendEvent(); } } var mydel = new LzDelegate(myclosure, 'sendonblah'); lz.Timer.addTimer(mydel,100); Debug.write("TestEventHandler4: mymethod handling onblah event"); global.foo4 = true; this.addTest("test1");