Added Log facilities like we're used to, and discovered a host of

new wacky things (and possible compiler bugs) on the way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3888 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-24 01:28:55 +00:00
parent ac6e897905
commit 76ae4d5f5a
17 changed files with 195 additions and 56 deletions
+10
View File
@@ -7,6 +7,16 @@ public class ClassUtil
return flash.util.getQualifiedClassName(obj).replace("::", ".");
}
public static function shortClassName (obj :Object) :String
{
var s :String = flash.util.getQualifiedClassName(obj);
var dex :int = s.lastIndexOf(".");
if (dex != -1) {
s = s.substring(dex);
}
return s.replace("::", ".");
}
public static function getClass (obj :Object) :Class
{
return flash.util.getClassByName(getClassName(obj));