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
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
};
};