Removed MethodQueue.setStage(), use the same trick we use in

AnimationManager and that I saw in use in Tweener: just
listen for ENTER_FRAME on some random sprite.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4926 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-01-24 21:47:11 +00:00
parent cd421f7fa7
commit bab168d443
2 changed files with 7 additions and 47 deletions
@@ -55,7 +55,6 @@ public class Client extends EventDispatcher
{
_creds = creds;
_stage = stage;
MethodQueue.setStage(stage);
}
/**
@@ -269,9 +268,7 @@ public class Client extends EventDispatcher
// we need to wait for the CLIENT_WILL_LOGON to have been dispatched before we actually
// tell the communicator to logon, so we run this through the callLater pipeline
_comm = new Communicator(this);
callLater(function () :void {
_comm.logon();
});
callLater(_comm.logon);
// it is safe, however, to start up our tick interval immediately
if (_tickInterval == null) {