Transitioning between content MC's in AS3?
Posted on 2009-05-19
Hi, im currently trying to make the jump from as2 to as3...which happens to be not so easy; who would have thought.So my question is:
i have multiple menu buttons on the stage: btn_home, btn_contact etc
and each btn relates to a content movie clip: mc_home, mc_contact ... these movie clips have 'animateON' & 'animateOFF' sections which are marked by frame labels inside the MC's.
when a menu button is pressed i need the current MC on the stage to play through its 'animateOFF' section, and on completion, the content MC relating to the menu button which was pressed to begin playing through it's 'animateON' section. This way the content MC's will seem to transition between each other.
Seems to me like a pretty generic question but as of yet i have not been able to find any tutorials or resources in regards to AS3?