here is my code:
[code]
function onTouchReturn (event)
remove_group()
storyboard.gotoScene( “scene_playmenu”, “slideLeft”,200);
storyboard.removeScene( “counting”)
end
function remove_group()
for i=0,Qgroup.numChildren do
local child = Qgroup[i]
Qgroup:remove(child)
end
if Qgroup.numChildren > 0 then
remove_group()
end
end
the object is bring to gotoScene, not remove !
can anyone helping ! thanks
[import]uid: 22631 topic_id: 25383 reply_id: 325383[/import]