- Home /
Sequential disabling of menu
Hi, i'm new to ngui and i want to ask how to do this:
I have several menus that should be animated in a sequential manner and at the end of their animation they should be disabled from the stage.
Let me explain with an example:
I have a pop-up and a menu at the footer, when I close the popup (fade out) the menu at the footer do a slide down and then a new menu appears (slide up). I need that every time an animation is end the object is disabled and only after this start the other animation (one animation per time).
I wish I could set this through code using eventListener and providing an array as input to the function where I indicate what are the menu in question and in what sense are animated (forward or reverse).
Thank you in advance for the help