FIRST…I know storyboard is being replaced, but I have 20000 lines of code in this project and I’m not on a timetable to re-write it using composer.
Second… I’m using the following code to load scenes so that I have a smooth iOS7 style transition…
globals.documentToShow = "http://www.lvhn.org" globals.title = "LVHN.ORG" globals.documentExt = "" globals.documentPath = "" globals.returnScene = "scene\_menu" storyboard.loadScene( "scene\_viewer", false, options ) storyboard.gotoScene ( "scene\_viewer", { effect="iosSlideLeft", time=globals.transTime } )
It can be called multiple times on the same screen to load multiple documents. The first time, all works as it should. I’m setting global variables to tell the scene what to load (it’s a basic HTML viewer to view local documents and web sites).
I’m assuming that it keeps a copy of the scene in memory until I exit the scene and just keeps displaying it. Is there a way to force it to reload? I need it to take the parameters and use them each time instead of displaying whatever the user chose the first time.
Thanks!