3 Replies Latest reply on Aug 24, 2006 6:30 PM by VS_gill

    Shape tween Short key

    VS_gill
      Hi
      I use shape tween quite often in flash. I wanted to setup a short key for shape tween so that i dont have to go back to property panel every time.... Is there a way to do this...
      if this is not possible thenis there a way to add sape tween to rite click menu ... just like motion tween...
      thanx
        • 1. Re: Shape tween Short key
          Level 7


          VS gill wrote:
          > Hi
          > I use shape tween quite often in flash. I wanted to setup a short key for
          > shape tween so that i dont have to go back to property panel every time.... Is
          > there a way to do this...

          sure there is

          > if this is not possible thenis there a way to add sape tween to rite click
          > menu ... just like motion tween...

          I use shape tween probably most often of the two tweens so I know how convenient
          it can be if you can just whoosh across keys to get it insert rather than go through menus.

          With flash MX 2004 and Flash 8 and its support of JSFL such things can be now done:
          JSFL files are JavaScript files that you can use to add new functionality to the Flash authoring tool.

          Open notepad and paste the following :


          var timeline=fl.getDocumentDOM().getTimeline(),
          sel=timeline.getSelectedFrames();
          if (sel.length>0) {
          var frame=timeline.layers[sel[0]].frames[sel[1]];
          frame.tweenType=frame.tweenType=="shape" ? "none" : "shape";
          }


          Save this file as shapeTween.txt and rename that txt to jsfl
          shapeTween.jsfl

          Place the file in:
          C:\Documents and Settings\ user name here \Local Settings\Application Data\Macromedia\Flash
          8\en\Configuration\Commands

          (find the similar folder on your drive)

          Now all you need to do is go to EDIT - Keyboard Shortucts - in the window look for COMMANDS
          You will find the shape tween there.
          Select and insert new shortcut, i use CTRL ALT SPACE bar, its all in one row and it wasn't taken
          by another shortcut.

          Pretty much it- Ta Daaaa !!!!


          --
          Best Regards

          Urami


          --


          <urami>
          If you want to mail me - DO NOT LAUGH AT MY ADDRESS
          </urami>
          • 2. Re: Shape tween Short key
            Level 7
            by the way, you can do the same for Motion tween, just make new file and rename
            all SHAPE to MOTION and add another shortcut.

            In here CTRL ALT SPACE for shape and CTRL SHIFT SPACE for motion tween :)

            Hitting the key twice will toggle the effect on and off
            • 3. Re: Shape tween Short key
              VS_gill Level 1
              Thanx Urami
              This was helpfull
              thanx for the instructions.
              regards VSGill