A simple addEventListener (nil value) error, can you help? :)

This is the error:

restart.lua:36: attempt to call method ‘addEventListener’ (a nil value)

This is the code:


function scene:enterScene(event)

        

        storyboard.purgeScene(“game”)

        bkg:addEventListener(“touch”, start)

    end


he second time my storyboard goes to the restart screen… hmm, any ideas?

Please only ask your question once.  Any one wanting to comment, please reply on this thread:  http://forums.coronalabs.com/topic/44106-simple-addeventlistener-not-working-display-nil-value-think-you-can-help/

Thanks

Rob

Please only ask your question once.  Any one wanting to comment, please reply on this thread:  http://forums.coronalabs.com/topic/44106-simple-addeventlistener-not-working-display-nil-value-think-you-can-help/

Thanks

Rob