2 Replies Latest reply on Nov 30, 2008 8:04 PM by phoecxan

    I want to change movie clip script to frame script

    phoecxan
      I want to change
      below this script into frame.So what i can do?
      quote:


      "
      onClipEvent(load){
      xvel=10;
      yvel=10;
      }
      onClipEvent(enterFrame){
      xpos=Stage.width/2;
      ypos=Stage.height/2;

      _x=xpos;

      if(_y<ypos){
      _y+=yvel;
      }
      if(_y>ypos){
      _y-=yvel;
      }

      } "