local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
function scene:createScene(event )
local screenGroup = self.view
local bg = display.newImage("bg3.jpg")
screenGroup:insert(bg)
print ( "scene 1 create" )
end
print( "1: enterScene event" )
end
print( "1: exitScene event" )
end
print( "((destroying scene 1's view))" )
end
scene:addEventListener( "enterScene", scene )
scene:addEventListener( "exitScene", scene )
scene:addEventListener( "destroyScene", scene )
return scene