# On Press Change script?

**URL:** <https://forum.kirupa.com/t/on-press-change-script/219476>\
**Category:** flash\
**Created:** [March 16, 2007, 8:07pm UTC](https://forum.kirupa.com/t/on-press-change-script/219476 "2007-03-16T20:07:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin105](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Robin105](https://forum.kirupa.com/u/Robin105)\
**Post date:** [March 16, 2007, 8:07pm UTC](https://forum.kirupa.com/t/on-press-change-script/219476/1 "2007-03-16T20:07:55Z")

</div>

Ok what I am trying to do is that when I press on a button it changes the script of another button.

Like, if button 1 has the script “On press Gotoandplay 4”, and you press button 2, it will change button 1’s script to “On press GotoandStop 5”.

THANKS :D!
