# "if" statement for goto

**URL:** <https://forum.kirupa.com/t/if-statement-for-goto/101219>\
**Category:** Uncategorized\
**Created:** [February 7, 2004, 8:24am UTC](https://forum.kirupa.com/t/if-statement-for-goto/101219 "2004-02-07T08:24:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanc](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@seanc](https://forum.kirupa.com/u/seanc)\
**Post date:** [February 7, 2004, 8:24am UTC](https://forum.kirupa.com/t/if-statement-for-goto/101219/1 "2004-02-07T08:24:40Z")

</div>

hey does anyone know how to write an “if” statement for a button to trigger a movie clip to go from frame 1 (which has a stop action) to frame 2 (which will play through to frame 10)???  
:!: need help:!:
