# Check my if/else statement please?

**URL:** <https://forum.kirupa.com/t/check-my-if-else-statement-please/44227>\
**Category:** flash\
**Created:** [March 2, 2004, 12:32am UTC](https://forum.kirupa.com/t/check-my-if-else-statement-please/44227 "2004-03-02T00:32:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MArll](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MArll](https://forum.kirupa.com/u/MArll)\
**Post date:** [March 2, 2004, 12:32am UTC](https://forum.kirupa.com/t/check-my-if-else-statement-please/44227/1 "2004-03-02T00:32:40Z")

</div>

I am trying to write an ‘if/else’ statement, but, although I now have no errors reported on output, I cannot get this code to work. Basically, I want where the movie clip is positioned on the stage [in this case the \_x property] to dictate what ‘tool-tip caption’ mc is displayed. Can anyone tell me if they can see what may be wrong with this code?

```
if(
	mp3_mc._x&lt;400){
	_root,caption2._visible=false;
	_root.caption1._visible=true;
	_root.caption1.gotoAndPlay(1);
	_root.caption1.words=" Minimise Player";
	startDrag (_root.caption1, true);
	caption1._x = _xmouse;
	caption1._y = _ymouse;
}
else(
	mp3_mc.x_&gt;400)
_root.caption1._visible=false;
_root.caption2._visible=true;
_root.caption2.gotoAndPlay(1);
_root.caption2.words="Maximse Player";
startDrag (_root.caption2, true);
caption2._x = _xmouse;
caption2._y = _ymouse;

```

}

Many thanks for help or advice

MArll
