I use this code to jump to each frame. But the component didn't play as same as 
playing in flash. 

All the transition effect disappear. It just jump one frame to another directly 
without transition. 

How to make the component play as in flash ?



    if (stateBtn.currentLabel == "tiny")
    {
     stateBtn.gotoAndPlay("half");
     stateBtn.stop();
    }
    else if (stateBtn.currentLabel == "half")
    {
     stateBtn.gotoAndPlay("entire");
     stateBtn.stop();
    }
    else
    {
     stateBtn.gotoAndPlay("tiny");
     stateBtn.stop();
    }

Reply via email to