Traking the mouse vertically

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Traking the mouse vertically

    I'm trying to get a symbol track the height of the mouse.
    I don't want the user to have to drag the symbol, I just want it to adjust
    it's height to correspond to the user's mouse pointer.

    The other thing that may be a problem is that there's a particular bit of the
    symbol that protrudes, a bit like an arrow... I want this bit to be exactly the
    same height as the mouse pointer, maybe this can be done using action script
    and saying the symbol heght -50 pixels (for example) = mouse height.

    Does anyone know where to get this script?

    gerkintrigg Guest

  2. Similar Questions and Discussions

    1. Align Text Vertically
      I'm learning on v IN 1 tryout. I fear most of you larned on a CS version but anyway heres my question. I do NOT see a vertical alignment option...
    2. Is there a way to orient text vertically?
      Is there a way to orient text vertically? (As in rotating normal text 90 degrees). I have an html table populated by narrow columns and need...
    3. RS Returned horizonally as well as vertically
      I'm working with Dreamweaver, MS access and IIS6. I have a photo database that I want the record sets to return 3 wide not just vertially in a row...
    4. Center layer vertically via CSS
      I just read the post from rob::digitalburn on doing vertical centering, but is there a way to do this via CSS instead of script? Thanks.
    5. Draggable Sprites (but only vertically)
      Hi again, I have attached the 'draggable' behaviour to a sprite. However, I would like it to be draggable only in the vertical axis. I have tried...
  3. #2

    Default Re: Traking the mouse vertically

    mouseTrackI=setInterval(mouseTrackF,40);
    function mouseTrackF(){
    yourtrackerMC._y=_ymouse; // you may need to add or subract a fudge factor
    depending upon yourtrackerMC's registration point and your personal preferences.
    }

    kglad Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139