# Simple if satement

**URL:** <https://forum.kirupa.com/t/simple-if-satement/209693>\
**Category:** flash\
**Created:** [December 11, 2006, 5:46pm UTC](https://forum.kirupa.com/t/simple-if-satement/209693 "2006-12-11T17:46:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crankT](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@crankT](https://forum.kirupa.com/u/crankT)\
**Post date:** [December 11, 2006, 5:46pm UTC](https://forum.kirupa.com/t/simple-if-satement/209693/1 "2006-12-11T17:46:56Z")

</div>

I’m having trouble with this. Never done it before and I’m just trying to learn.

I have this statement:  
if(zero\_mc.\_currentframe == “pause”){  
zero\_mc.gotoAndPlay(“out”);  
}

Pause is a frame lable on frame 16 and the “out” frame lable is on frame 17.

Can I not use frame lables?

The above may make no sence and I’m sorry about that. I have attached my test file to try and clearify what I’m trying to do. I want the content (the cirlces) to animate off the screen if the other content is selected.

Any help would be wonderful…thanks
