myScene.clear() in Anark Studio 2.5

Removes all layers from the scene.

Return Type
(none)

Description

Equivalent to doing: for ( var i=scene.layers.length-1; i>=0; i-- ) scene.detach( scene.layers[i] );