# Funny "if statement"

**URL:** <https://forum.kirupa.com/t/funny-if-statement/289725>\
**Category:** Uncategorized\
**Created:** [June 3, 2009, 11:02pm UTC](https://forum.kirupa.com/t/funny-if-statement/289725 "2009-06-03T23:02:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Master\_thief](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Master\_thief](https://forum.kirupa.com/u/Master_thief)\
**Post date:** [June 3, 2009, 11:02pm UTC](https://forum.kirupa.com/t/funny-if-statement/289725/1 "2009-06-03T23:02:14Z")

</div>

hii all…

I building a photoviewer with xml loaded pics…

my problem right now is that i should building the back button, but i dont know how …

it should be:

when i press back-button(mc) (its placed on frame 10 to frame 20)  
it should gotoandplay frame 21  
and when its hits frame 30  
it should read, if back-button was clicked it should play frame 50, if not it should play frame 31.

hope anyone understod my problem and can help me… please…

thx
