# If statement not workin' ?!

**URL:** <https://forum.kirupa.com/t/if-statement-not-workin/51367>\
**Category:** Uncategorized\
**Created:** [May 12, 2004, 1:05pm UTC](https://forum.kirupa.com/t/if-statement-not-workin/51367 "2004-05-12T13:05:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azazel](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Azazel](https://forum.kirupa.com/u/Azazel)\
**Post date:** [May 12, 2004, 1:05pm UTC](https://forum.kirupa.com/t/if-statement-not-workin/51367/1 "2004-05-12T13:05:22Z")

</div>

on (release){  
\_root.opening.picgall.mc1.gotoAndPlay (“2”);  
if (\_root.opening.picgall.mc1 (“2”)){  
gotoAndPlay (“23”);  
}  
}  
on (release){  
\_root.opening.picgall.updown.gotoAndPlay (“2”);  
if (\_root.opening.picgall.updown (“2”)){  
gotoAndPlay (“23”);  
}  
}

what am i doing wrong…?
