# A little help for a noob

**URL:** <https://forum.kirupa.com/t/a-little-help-for-a-noob/283993>\
**Category:** flash\
**Created:** [March 13, 2009, 2:30pm UTC](https://forum.kirupa.com/t/a-little-help-for-a-noob/283993 "2009-03-13T14:30:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_Templar](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dark\_Templar](https://forum.kirupa.com/u/Dark_Templar)\
**Post date:** [March 13, 2009, 2:30pm UTC](https://forum.kirupa.com/t/a-little-help-for-a-noob/283993/1 "2009-03-13T14:30:40Z")

</div>

This might sound like a stupid question, however i can not remember how to get this if else statement to work correctly and would like some help.

what i want to do is from the start, check the current frame if it is the home frame then it goto and play frame 2 else go to frame 3.

to give you an idea this is what i have :

if current frame = home then gotoandplay(“about”) else gotoandplay(“home”) .

if this makes any sense to anyone.

thx  
:sen:
