I made a panorama with 8 scenes. When trying to load the next scene, I get the error 'loadscene() - scene "NaN" not found. Only on the iPad, the desktop version (using exactly the same code) works well.
code:
Code
<action name="loadnextscene">
get(sceneloaded);
inc(sceneloaded);
txtadd(tmp, scene, get(sceneloaded));
set(nextscene, get(tmp));
if (nextscene == scene9
,
loadscene(scene1,null,KEEPALL);set(sceneloaded,1);
,
loadscene(get(nextscene), null , KEEPALL));
trace('nextscene= ', nextscene);
</action>
Display More
I also get a warning: tween type '' not found - using 'easeOutQuad' instead!
I have to find out where it comes from, I have some textfields with tweens and plugins, but I think I didn't set any tweentype. Is setting a tweentype required in the iPad version? I also don't get this error on the desktop (oh and I had that tweens before, only in the first scene, and didn't get the error, strange?).
Does somebody know what's wrong? Oh, the names of my scenes are scene1 to scene8 ;).