issue with composer.reloadScene()

Hi,

I am using composer for scene management and have created a scene template.

I want to restart the current scene when the character dies

I added the following code

function scene:restart() composer.reloadScene() end

then from my overlay screen I called the restart function and I get an error saying

attempt to call field ‘reloadScene’ a nil value??

help…

I am using the latest public build

very same issue here as well

The .reloadScene() API was removed from composer.  Its functionality was rolled into gotoScene().  See the migration guide:

http://docs.coronalabs.com/api/library/composer/migration.html

and the guide:

http://docs.coronalabs.com/guide/system/composer/index.html#reloading-scenes

very same issue here as well

The .reloadScene() API was removed from composer.  Its functionality was rolled into gotoScene().  See the migration guide:

http://docs.coronalabs.com/api/library/composer/migration.html

and the guide:

http://docs.coronalabs.com/guide/system/composer/index.html#reloading-scenes