# Conditional statements/ Fuse/ Menu HELP

**URL:** <https://forum.kirupa.com/t/conditional-statements-fuse-menu-help/228994>\
**Category:** Uncategorized\
**Created:** [June 13, 2007, 6:31am UTC](https://forum.kirupa.com/t/conditional-statements-fuse-menu-help/228994 "2007-06-13T06:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dondeigo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dondeigo/32/2806_2.png) [@dondeigo](https://forum.kirupa.com/u/dondeigo)\
**Post date:** [June 13, 2007, 6:31am UTC](https://forum.kirupa.com/t/conditional-statements-fuse-menu-help/228994/1 "2007-06-13T06:31:02Z")

</div>

Hey all you super cool über brainie peeps

I need some help making an menu or it is the conditional statements  
to make the trantsion/animation run the way i would like it to.  
I am trying to show hide some content by animating a mask using fuse/zigo

it shuld have been a simpel task…but im a moron.

WELL  
At first the site is just a grey background and the menu.

press any random button --\>load movie–\>play open animation–\>show contents  
button 1…(if window is already open) press–\>load movie–\>play close animation–\>play open animation–\>show contents  
button 2 …press–\>load movie --\>play close animation–\>play open animation–\>show contents

ECT.ECT

i know i cant use ZigoEngine the way my code looks below, but it is just to illustrate what i am trying to do.  
you can get my fla here [http://www.box.net/shared/kacgh4uypn](http://www.box.net/shared/kacgh4uypn)

```php

this.portfolio_mc.onPress = function() {
        if (menuClosed) {
ZigoEngine.removeTween(infowind_mc.masker_mc);
ZigoEngine.doTween(infowind_mc.masker_mc, '_width,_x,', [815,this.startx,this.starty], 1);
                menuClosed = false
        }

   else {
ZigoEngine.removeTween(infowind_mc.masker_mc);
ZigoEngine.doTween(infowind_mc.masker_mc, '_width,_x,',[5,this.startx,this.starty], 1);
ZigoEngine.doTween(infowind_mc.masker_mc, '_width,_x,', [815,this.startx,this.starty], 1);
                menuClosed = true

   ifelse {
ZigoEngine.removeTween(infowind_mc.masker_mc);
ZigoEngine.doTween(infowind_mc.masker_mc, '_width,_x,',[5,this.startx,this.starty], 1);
ZigoEngine.doTween(infowind_mc.masker_mc, '_width,_x,', [815,this.startx,this.starty], 1);
                menuClosed = true

        };
};

```
