# Help with if/then statements, or a better solution?

**URL:** <https://forum.kirupa.com/t/help-with-if-then-statements-or-a-better-solution/303322>\
**Category:** flash\
**Created:** [January 18, 2010, 6:17pm UTC](https://forum.kirupa.com/t/help-with-if-then-statements-or-a-better-solution/303322 "2010-01-18T18:17:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigordesign](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/vigordesign/32/2567_2.png) [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Post date:** [January 18, 2010, 6:17pm UTC](https://forum.kirupa.com/t/help-with-if-then-statements-or-a-better-solution/303322/1 "2010-01-18T18:17:08Z")

</div>

Hey there,

I just got a new job as a Flash Developer and my skills are a bit rusty. Been away from Flash for a few years.

I have a page within a presentation that I need to have the user click on all 3 movieclips on the page before the “Next” nav button comes up. My first thought was to copy the entire contents of the first frame over to a new frame, and delete the next button on the first frame. Now I have to make it so that when all 3 movieclips are clicked, the next button will come up, which is located on frame 5.

So basically this has to happen, “If all 3 movieclips are clicked, then go to frame 5”

I’m messing around with if/then statements, but am not sure if it’s the best way to accomplish this.

Thanks!  
Kev
