Hello all, I'm currently using the Dynapi to build quizzes and I've got the following problem :
In an event listener I'm not able to close a window under NS6 or Mozilla. It works fine under NS4 and IE6. This problem occurs with the 2.56 but also with the last snapshot (downloaded this morning). The problem can be reached at : http://amzerzo.univ-rennes1.fr/RearSite/NewDynapi/dynapi/examples/dynapi.gui.button.html This is an example from the last snapshot. I've just modified it to add a window.close() when a button is pressed : var text3button = new Button("close the window (but not under NS6)"); text3button.moveTo(200,150); text3button.setSize(250,70); p.addChild(text3button); var l = new EventListener(text3button); l.onclick = function(e) { ===> window.close(); var o = e.getTarget(); o.setSize(o.w+10,o.h+10); } This slightly modified snapshot example runs well (close the window) under NS4 and IE6 but does not close anything under NS6. Any help would be appreciated. -- François Dagorn Université de Rennes France _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help