Updated to match API changes in Beta3.
InvocationRegistration had a constructor called Registration. I wonder if that was causing the compile error with beta2. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4104 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -5,7 +5,7 @@ import flash.display.Stage;
|
||||
import flash.events.EventDispatcher;
|
||||
import flash.events.TimerEvent;
|
||||
|
||||
import flash.util.Timer;
|
||||
import flash.utils.Timer;
|
||||
|
||||
import com.threerings.util.ObserverList;
|
||||
|
||||
@@ -123,7 +123,7 @@ public class Client extends EventDispatcher
|
||||
return _version;
|
||||
}
|
||||
|
||||
public function setVersion (version :String)
|
||||
public function setVersion (version :String) :void
|
||||
{
|
||||
_version = version;
|
||||
}
|
||||
@@ -270,7 +270,7 @@ public class Client extends EventDispatcher
|
||||
return;
|
||||
}
|
||||
|
||||
var now :uint = flash.util.getTimer();
|
||||
var now :uint = flash.utils.getTimer();
|
||||
if (now - _comm.getLastWrite() > PingRequest.PING_INTERVAL) {
|
||||
_comm.postMessage(new PingRequest());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user