6 Replies Latest reply on Jul 12, 2009 3:02 AM by Benoitcn

    Flash component play in flex issue

    Benoitcn Level 1

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