 
 package com.threerings.util {
 
+import flash.net.registerClassAlias; // function import
 import flash.net.ObjectEncoding;
 
 import flash.geom.Point;

import flash.utils.Dictionary;
import flash.utils.Endian;
import flash.utils.IExternalizable;
import flash.utils.getQualifiedSuperclassName; // function import

import com.threerings.io.TypedArray;


        return null; // it all checks out!
    }

    /**
     * Our static initializer.
     */
    private static function staticInit () :void
    {
        registerClassAlias("Point", Point);
        registerClassAlias("Rectangle", Rectangle);
    }
    staticInit();

    /** Non-simple classes that we allow, as long as they are not subclassed. */
    protected static const VALID_CLASSES :Array = [ ByteArray, Point, Rectangle ];
}
