# Restart the current frame

**URL:** <https://forum.kirupa.com/t/restart-the-current-frame/302238>\
**Category:** Uncategorized\
**Created:** [December 24, 2009, 2:05am UTC](https://forum.kirupa.com/t/restart-the-current-frame/302238 "2009-12-24T02:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash\_at\_risk](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Post date:** [December 24, 2009, 2:05am UTC](https://forum.kirupa.com/t/restart-the-current-frame/302238/1 "2009-12-24T02:05:43Z")

</div>

I am almost on the verge of completion of my game, but i don’t have clear & unique way to restart if the player loses its life before completion of level.  
I am trying to accomplish it with a dialog box having a button & text “game over” with the code

gotoAndStop(1) &  
removing all the Child of the stage &  
call the function which initiates the level(which i am also calling in the corresponding fla)  
i have 1 frame only & my class is called in this frame  
Any suggestion will be appreciated,please help i m in great trouble  
**Sorry same thread got posted again**
