0 Replies Latest reply on Aug 16, 2006 1:16 AM by Newsgroup_User

    macrofor insert some codes

    Level 7
      hi,

      when i started to a new project i need some codes in occasionally. for
      example a key control codes or tween codes. how can i do this via
      macro/commands.

      for example ,
      when i decided to use tween, I have to enter help, find tween and copy them
      and then past it to project. instead of this, i want to use one click like
      "commands"
      import mx.transitions.Tween;
      var myTween:Tween = new Tween(img1_mc, "_x",
      mx.transitions.easing.None.easeNone,0, Stage.width, 4, true);
      myTween.onMotionFinished = function() {
      myTween.yoyo();
      };
      how can i do this?regards.Burak