 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 package com.threerings.crowd.chat.data {
+
+import flash.utils.getTimer; // function import
 
 import com.threerings.util.ClassUtil;
 import com.threerings.util.Long;

    public var localtype :String;

    /** The client time that this message was created. */
    public var timestamp :Long;

    public function ChatMessage (msg :String = null, bundle :String = null)
    {

        message = msg;
        this.localtype = localtype;
        bundle = null;
        timestamp = getTimer();
    }

    /**
