 
     public function callLater (fn :Function, args :Array = null) :void
     {
-        _app.callLater(fn, args);
+        Application.application.callLater(fn, args);
     }
 
     /**

     */
    public function getStage () :Stage
    {
        return _app.stage;
    }

    public function getHostname () :String


    private static const log :Log = Log.getLog(Client);

    public function Client (creds :Credentials)
    {
        _creds = creds;
    }

    /**
