Storyboard not working on device

hi, i try to make simple stroyboard app, it’s working on simulator but not on device
it’s only simple app, when you touch the image, it will move to another storyboard

here’is my code for page0

[code]

local storyboard = require( “storyboard” )
local scene = storyboard.newScene()
local bg

local function onSceneTouch( self, event )
storyboard.gotoScene( “page1” , “fade”, 100 )
end

function scene:createScene( event )
local group = self.view
bg = display.newImage(“menu.jpg”)
group:insert(bg)
bg.touch = onSceneTouch

end
function scene:enterScene( event )
local group = self.view
storyboard.purgeScene(“page1”)
bg:addEventListener(“touch”, bg)

end

function scene:exitScene( event )
local group = self.view

end

function scene:destroyScene( event )
local group = self.view

end

scene:addEventListener( “createScene”, scene )

scene:addEventListener( “enterScene”, scene )

scene:addEventListener( “exitScene”, scene )

scene:addEventListener( “destroyScene”, scene )

return scene[/code]

for page1

[code]
local storyboard = require( “storyboard” )
local scene = storyboard.newScene()
local bg

local function onSceneTouch( self, event )
storyboard.gotoScene( “page0”, “slideLeft”, 800 )
end

function scene:createScene( event )
local group = self.view
bg = display.newImage(“help.jpg”)
group:insert(bg)
bg.touch = onSceneTouch
end

function scene:enterScene( event )
local group = self.view
storyboard.purgeScene(“page0”)
bg:addEventListener(“touch”, bg)
end
function scene:exitScene( event )
local group = self.view
end
function scene:destroyScene( event )
local group = self.view
end

scene:addEventListener( “createScene”, scene )

scene:addEventListener( “enterScene”, scene )

scene:addEventListener( “exitScene”, scene )

scene:addEventListener( “destroyScene”, scene )

return scene[/code] [import]uid: 164509 topic_id: 32087 reply_id: 332087[/import]

Have you tethered your device to look for any errors in the console?

Are you by any chance using filenames with mixed case? [import]uid: 19626 topic_id: 32087 reply_id: 127835[/import]

i haven’t tried it yet, how to do that?

nope, i’m using simple filenames like page0.lua page1.lua is there any problem with the filenames?

i tried to change it with different filenames like mainmenu.lua and help.lua but it didn’t help at all [import]uid: 164509 topic_id: 32087 reply_id: 127914[/import]

you need to see if you are getting any errors. Plug your device into the USB port with a sync cord. Launch Xcode and then show the “Organizer”. There is an option to see the console on that screen and you can look for errors and such in that console.

Still the #1 reason for something to not work on device but in the simulator is filename case sensitivity problems. Don’t just look at your .lua files, but check your images, sounds etc.
[import]uid: 19626 topic_id: 32087 reply_id: 127935[/import]

Have you tethered your device to look for any errors in the console?

Are you by any chance using filenames with mixed case? [import]uid: 19626 topic_id: 32087 reply_id: 127835[/import]

well i’m using windows and android, so how to do that? [import]uid: 164509 topic_id: 32087 reply_id: 128004[/import]

i haven’t tried it yet, how to do that?

nope, i’m using simple filenames like page0.lua page1.lua is there any problem with the filenames?

i tried to change it with different filenames like mainmenu.lua and help.lua but it didn’t help at all [import]uid: 164509 topic_id: 32087 reply_id: 127914[/import]

you need to see if you are getting any errors. Plug your device into the USB port with a sync cord. Launch Xcode and then show the “Organizer”. There is an option to see the console on that screen and you can look for errors and such in that console.

Still the #1 reason for something to not work on device but in the simulator is filename case sensitivity problems. Don’t just look at your .lua files, but check your images, sounds etc.
[import]uid: 19626 topic_id: 32087 reply_id: 127935[/import]

well i’m using windows and android, so how to do that? [import]uid: 164509 topic_id: 32087 reply_id: 128004[/import]