code: function children_to( sceneName, argsArr, deferred ) {
      var toScene = this.scenes[sceneName],
          fromScene = this._current,
          args = argsArr ? argsArr : [],
          complete = this._complete = deferred || _.Deferred(),
          exitComplete = _.Deferred(),
          enterComplete = _.Deferred(),
          publish = _.bind(function(name, isExit) {
            var sceneName = isExit ? fromScene : toScene;
            sceneName = sceneName ? sceneName.name : "";
  
            this.publish(name, fromScene, toScene);
            if (name !== "start" || name !== "end") {
              this.publish(sceneName + ":" + name);
            }
  
          }, this),
          bailout = _.bind(function() {
            this._transitioning = false;
            this._current = fromScene;
            publish("fail");
            complete.reject();
          }, this),
          success = _.bind(function() {
            publish("enter");
            this._transitioning = false;
            this._current = toScene;
            publish("end");
            complete.resolve();
          }, this);
  
  
      if (!toScene) {
        throw "Scene \"" + sceneName + "\" not found!";
      }
  
      // we in the middle of a transition?
      if (this._transitioning) {
        return complete.reject();
      }
  
      publish("start");
  
      this._transitioning = true;
  
      if (fromScene) {
  
        // we are coming from a scene, so transition out of it.
        fromScene.to("exit", args, exitComplete);
        exitComplete.done(function() {
          publish("exit", true);
        });
  
      } else {
        exitComplete.resolve();
      }
  
      // when we're done exiting, enter the next set
      _.when(exitComplete).then(function() {
  
        toScene.to(toScene._initial || "enter", args, enterComplete);
  
      }).fail(bailout);
  
      enterComplete
        .then(success)
        .fail(bailout);
  
      return complete.promise();
    }
docs: Used as the function to scenes that do have children.