Incorporate the fixes from the java side to make actionscript handle the not-yet-cached scene case correctly.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@922 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Mike Thomas
2010-06-08 01:52:35 +00:00
parent 2c680a0c40
commit 4f739b8bfe
2 changed files with 10 additions and 1 deletions
@@ -208,6 +208,15 @@ public class SceneDirector extends BasicDirector
return _pendingData == null ? null : _pendingData.model;
}
/**
* Returns the scene id set in preparation for a scene transition. As with
* {@link #getPendingModel}, this is for cooperating directors.
*/
public function getPendingSceneId () :int
{
return _pendingData.sceneId;
}
// from interface SceneService_SceneMoveListener
public function moveSucceeded (placeId :int, config :PlaceConfig) :void
{