dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Mighty mouse timeline scrolling?

  1. #1
    Senior Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    436

    Mighty mouse timeline scrolling?

    Hi - does anybody know if its possible to set up a mac mighty mouse to scroll through the timeline using its scrollwheel?

    thanks alot for your help

  2. #2
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    not sure what an "mac might mouse" is, but the following code will control and movieClip called "clip"'s timeline onMouseWheel.
    Code:
    var ml:Object = new Object()
    var frame:Number = 1
    ml.onMouseWheel = function(delta){
    	clip.gotoAndStop(frame+=delta)
    }
    Mouse.addListener(ml)
    HTH,

    zlatan
    New sig soon

  3. #3
    Senior Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    436
    thanks - but I actually meant scrolling within the flash authoring environment.

    The mighty mouse is the new mac mouse which has a multidirectional scrollwheel on it

    Would be very useful if I could use this to scroll through the timeline

    thanks for your advice all the same!

  4. #4
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    hahaha, no worries mate.
    New sig soon

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center