Director 1.4 loadNextScene force sets nextView.x = _W

Director 1.4 loadNextScene force sets nextView.x = _W.
Doesn't work well if scene has to start at any other value of x.

e.g. a scene which is (2*display.contentWidth) and starting x is set to scene.x=-480 (e.g. Ghost vs Monsters) gets force set to scene.x=480 by loadNextScene.

local loadNextScene = function( moduleName, params )
loadScene( moduleName, "next", params )
nextView.x = _W
end

views:1411 update:2011/10/19 14:58:09
corona forums © 2003-2011