# Reset

**URL:** <https://forum.kirupa.com/t/reset/976>\
**Category:** flash\
**Created:** [August 5, 2002, 5:58am UTC](https://forum.kirupa.com/t/reset/976 "2002-08-05T05:58:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigshero](https://avatars.discourse-cdn.com/v4/letter/b/b487fb/32.png) [@bigshero](https://forum.kirupa.com/u/bigshero)\
**Post date:** [August 5, 2002, 5:58am UTC](https://forum.kirupa.com/t/reset/976/1 "2002-08-05T05:58:13Z")

</div>

hullo  
can anyone please help me with my movie ??  
i have looked everywhere trying to find the answer  
what i am trying to do is to reset it to go back to the beginning

layer one has the mc

layer two has the buttons listed below on it  
x  
xscale  
y  
yscale  
vis false  
vis true  
alpha  
reset

these buttons all work -but not the reset button --is there a code that will reset the the mc so that i can repeat the functions

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2002, 6:41am UTC](https://forum.kirupa.com/t/reset/976/2 "2002-08-06T06:41:11Z")

</div>

Well I can’t look at your code because I don’t have Flash on this machine, but I can guess.

the reset button should have the following code.

on(release){  
\_xscale=100;  
\_yscale=100;  
\_visible=true;  
\_alpha=100;  
}

I’m not sure what you’re doing with \_x and \_y locations so I can’t say how to reset them. The above example is assuming that the object starts out full size and visible.

Am I not understanding what you’re asking?

Perhaps paste the code for each button. That might help.
