From: Richard K. <ric...@us...> - 2005-07-18 02:52:48
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18228 Modified Files: ASAlertPanel.as Log Message: you CANNOT init a var to a static call, you have to do that elsewhere Index: ASAlertPanel.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/ASAlertPanel.as,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ASAlertPanel.as 17 Jul 2005 00:55:27 -0000 1.5 --- ASAlertPanel.as 18 Jul 2005 02:52:39 -0000 1.6 *************** *** 81,85 **** class org.actionstep.ASAlertPanel extends NSPanel { ! private var m_app:NSApplication = NSApplication.sharedApplication(); private static var m_standardAlertPanel:ASAlertPanel; --- 81,85 ---- class org.actionstep.ASAlertPanel extends NSPanel { ! private var m_app:NSApplication; private static var m_standardAlertPanel:ASAlertPanel; *************** *** 135,138 **** --- 135,139 ---- public function init ():ASAlertPanel { + m_app = NSApplication.sharedApplication(); //super.init(); var rect:NSRect = NSRect.ZeroRect, |