From: Richard K. <ric...@us...> - 2005-05-28 04:45:00
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7869 Modified Files: ASTheme.as Log Message: minor fixes Index: ASTheme.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/ASTheme.as,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ASTheme.as 23 May 2005 21:25:49 -0000 1.10 --- ASTheme.as 28 May 2005 04:44:52 -0000 1.11 *************** *** 137,140 **** --- 137,146 ---- } + public function setImage(name:String, klass:Function) { + var image = (new NSImage()).init(); + image.setName(name); + image.addRepresentation(new klass()); + } + /** * @see org.actionstep.NSObject#description *************** *** 155,164 **** //****************************************************** - private function setImage(name:String, klass:Function) { - var image = (new NSImage()).init(); - image.setName(name); - image.addRepresentation(new klass()); - } - private function drawBorderButtonUp(mc:MovieClip, rect:NSRect) { var x = rect.origin.x; --- 161,164 ---- |