director error module credits must have a new function

Hello, I got an error while trying to director a button to go to my credits scene, it says Director Error, Module “credits” must have a new () function. Now, I’ve been using the same way to set up all of my menus and now its not working, for some reason, It only gives me the error when trying to go to the credits.lua file. Does anybody know the reason for this?

Here is a link to an image of the error I received
http://i41.tinypic.com/1ika2x.jpg [import]uid: 122076 topic_id: 22374 reply_id: 322374[/import]

This is probably because “credits” refers to Super Rewards’ virtual currency library… which is also credits…
Just use some other name [import]uid: 64174 topic_id: 22374 reply_id: 89218[/import]

you are right. this worked for me. just renamed the credits.lua file and it was fine [import]uid: 57002 topic_id: 22374 reply_id: 94839[/import]