Rob thanks for your explanation and yes i would like to remove the scene when i go back to main menu, you can find my code in the middle of the tread.
Thanks
What error message are you getting? Can you post your scene:hide() function?
[lua] function scene:show( event )
local sceneGroup = self.view
local willDid = event.phase
if( willDid == “will” ) then
self:willEnter( event )
elseif( willDid == “did” ) then
physics.start()
self:didEnter( event )
end
end
function scene:hide( event )
local sceneGroup = self.view
local willDid = event.phase
if( willDid == “will” ) then
physics.stop()
self:willExit( event )
elseif( willDid == “did” ) then
self:didExit( event )
end
end
function scene:destroy( event )
local sceneGroup = self.view
end [/lua]