what does this mean?
in error here is the full stack traceback error
Corona Simulator Runtime error
File: ?
Attempt to index field ‘contentBounds’ (a nil value)
stack traceback:
?: in function ‘_saveSceneAndHide’
?: in function ‘gotoScene’
MainMenu.lua:979: in function <MainMenu.lua:969>
?: in function <?:218>
?: in function ‘_saveSceneAndHide’
?: in function ‘gotoScene’
MainMenu.lua:979: in function <MainMenu.lua:969>
?: in function <?:218>
…
?: in function ‘_saveSceneAndHide’
?: in function ‘gotoScene’
MainMenu.lua:979: in function <MainMenu.lua:969>
?: in function <?:218>
?: in function ‘_saveSceneAndHide’
?: in function ‘gotoScene’
TopLevelMenu.lua:241: in function <TopLevelMenu.lua:230>
?: in function <?:218>
How did you solve the problem? Thank you.
Thank you very much for your reply. Actually I don’t have any contentBounds word on my code. I searched for that word everywhere and didn’t find anything. I’m using the Composer library. I really don’t know how to fix this. I just edited the Composer sample code and deleted everything except the essential event functions. It works when I go to Scene1, but not from Scene1 to Scene2
Thank you very much for all your help. I managed to solve it. Just a little misarrangement of the functions