Director Class Problems

Ok I love the Director Class. I am trying to change scenes and it crashes. I have downloaded the newest Dec. 13 update. I tried to follow the youtube video about using the clean function with director, but the code in Director has changed. My issue is, how do I use the clean function when I don’t see it in the code? Do I need to remove eventListeners, stop timers?

My error is:

Copyright (C) 2009-2010 A n s c a , I n c .  
 Version: 2.0.0  
 Build: 2010.243  
The file sandbox for this project is located at the following folder:  
 (/Users/derwydd/Library/Application Support/Corona Simulator/game4-60DFA3011116F87540F7FEE1BC2D16E2)  
/Applications/Corona.243/Corona Terminal: line 9: 75123 Bus error "$path/Corona Simulator.app/Contents/MacOS/Corona Simulator" $\*  
logout  
  
[Process completed]  
  

My code:

[code]

module(…, package.seeall)
– Activate physics engine
local physics = require(“physics”)
local ui = require( “ui” )
local introparts = require( “intro-parts” )
local localGroup
physics.start()

–line 9

–display.setStatusBar( display.HiddenStatusBar )
– Main function - MUST return a display.newGroup()
function new()
local localGroup = display.newGroup()

– some code is missing
playHandler = function( event )
–timer.performWithDelay(1000, removeSetup)
Runtime:removeEventListener(“enterFrame”, rotater)
media.stopSound()
director:changeScene(“playerSelection”)
end
[/code] [import]uid: 7197 topic_id: 4985 reply_id: 304985[/import]

I removed all images that would pertain to the second Director Scene, it is just blank. I still get this error. Simulator crashes, I think it maybe a memory leak.

[code]
Copyright © 2009-2010 A n s c a , I n c .
Version: 2.0.0
Build: 2010.243
The file sandbox for this project is located at the following folder:
(/Users/derwydd/Library/Application Support/Corona Simulator/game4-60DFA3011116F87540F7FEE1BC2D16E2)
/Applications/Corona.243/Corona Terminal: line 9: 398 Bus error “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
logout

[Process completed]
[/code] [import]uid: 7197 topic_id: 4985 reply_id: 16155[/import]

One thing I noticed was that a file I am calling for extra images, are not being removed, eventhough I inserted them into the localGroup…

Copyright (C) 2009-2010 A n s c a , I n c .  
 Version: 2.0.0  
 Build: 2010.243  
The file sandbox for this project is located at the following folder:  
 (/Users/derwydd/Library/Application Support/Corona Simulator/game4-60DFA3011116F87540F7FEE1BC2D16E2)  
/Applications/Corona.243/Corona Terminal: line 9: 487 Segmentation fault "$path/Corona Simulator.app/Contents/MacOS/Corona Simulator" $\*  
logout  
  
[Process completed]  

[import]uid: 7197 topic_id: 4985 reply_id: 16158[/import]

Guys, please write your questions at Director’s sub-forum. I don’t have too much time to answer and I really didn’t see most of the topics created for Director. I’m sorry for that and I will appreciate if you all could go to this link:

http://developer.anscamobile.com/forums/director-class [import]uid: 8556 topic_id: 4985 reply_id: 18685[/import]