More Help with Director Class!

OK so i am making an app with multiple screens and it wont even go past main.lua file without giving me this error: Director ERROR: The scene name must be a string. scene = nil nil.

And here is the code im using in the main.lua file:

\_W = display.contentWidth  
\_H = display.contentHeight  
  
local director = require("director")  
  
local mainGroup = display.newGroup();  
  
local function main()  
  
 mainGroup:insert(director.directorView);  
  
 director.changeScene("menu");  
  
 return true;  
end  
  
main();  

Also i am using director class 1.4 and i dont know what to do with this error…im a newbie.

Thanks [import]uid: 69054 topic_id: 18835 reply_id: 318835[/import]

Director class isn’t part of Corona API. Why not use storyboard insted? [import]uid: 12704 topic_id: 18835 reply_id: 72491[/import]

Oh cause i had never heard of it, until you just mentioned it, i will go try it out now. [import]uid: 69054 topic_id: 18835 reply_id: 72492[/import]

Also would story board let me go to like menu to screen1 then go back to menu? And if so could i have a link i cand seem to find it.

Thanks
[import]uid: 69054 topic_id: 18835 reply_id: 72495[/import]

https://github.com/ansca/Storyboard-Sample

download this sample for Storyboard, it will get you started [import]uid: 16142 topic_id: 18835 reply_id: 72502[/import]

It says that storyboard.lu is not in the archive, is there a place a can download this?
[import]uid: 69054 topic_id: 18835 reply_id: 72513[/import]

I found it but it appears to only be available for subscribers at the moment.

–Edit never mind all i needed to do was update my corona sdk simulator to build 703. [import]uid: 69054 topic_id: 18835 reply_id: 72526[/import]

" Director class isn’t part of Corona API. Why not use storyboard insted? "

@ crazyscouter1

Director Class is fairly easy to use once you learn the ropes around it and maybe Director is not part of Corona API like gtatarkin mention but it sure has helped so many people (Thanks Ricardo) and been around much longer then Storyboard. I havent bother switching to Storyboard I been using Director nearly a year it gets the job done thats all it matters to me.

I think the latest director has a template for you to use as main.lua to make things easier for you but looking at your code I think your problem is you used #1 sample instead of #2 sample.
[lua] director.changeScene(“menu”);

director:changeScene(“menu”);
[import]uid: 30314 topic_id: 18835 reply_id: 72605[/import]

I second LeivaGames… Director class is pretty awesome and I din’t bother switching over to Storyboard.

Ricardo - *respect* [import]uid: 64174 topic_id: 18835 reply_id: 72621[/import]