issues for the revision of Director, Corona and iOS.

I have managed to get a button that cues a sprite sheet working on a device (ipad) of
sceen 1 of a project.

As soon as i put the exact same code in another scene. i get a director ERROR failed to execute new ( params ) function on the device but not on the simulator.

has anyone encountered this? and managed to rectify the error?

I have considered switching to story board but i’ve spent 3 months coding with director
and i have one month to hand in this particular project as part of my major project from my masters course.

PLEASE HELP!!!
[import]uid: 155893 topic_id: 33146 reply_id: 333146[/import]

There are a couple of things. First of all, the by far most common problem of “It works in the simulator and not on the device” is a case sensitive filename. Maybe you have a file name and it name in the code doesn’t match it case wise, which in the simulator will be fine, but on the device not so much so.

Also Director loves to give that error if the Lua file it’s loading has any errors in it and you don’t always get a message as to where or what that error is. [import]uid: 19626 topic_id: 33146 reply_id: 131604[/import]

There are a couple of things. First of all, the by far most common problem of “It works in the simulator and not on the device” is a case sensitive filename. Maybe you have a file name and it name in the code doesn’t match it case wise, which in the simulator will be fine, but on the device not so much so.

Also Director loves to give that error if the Lua file it’s loading has any errors in it and you don’t always get a message as to where or what that error is. [import]uid: 19626 topic_id: 33146 reply_id: 131604[/import]