In my previous release of this class MouseControl class – easy adding of mouse scroll wheel capability to Flash (AS2.0)
.
This release is bringing some nice additions,
like possibility of adding a Rectangle area that if mousewheel is used there trigger an assigned function…
example:
mouseControl.addScrollArea(”rect”, new Rectangle(100, 100, 100, 200), Delegate.create($class, traceRect));
where “rect” is id of scrollArea – used for removing a scroll area
second is rectangle parametar for scroll area
third is a function to call on mouse wheel
whole class is now relying on MacMouseWheel class from pixelbreaker












1 response so far ↓
MouseControl class - easy adding of mouse scroll wheel capability to Flash (AS2.0) « Cyberspace Nova // August 2, 2008 at 10:59 am |
[...] MouseControl AS2 class update – added Mac mouse wheel and scrolling area support « Cyberspace … // July 31, 2008 at 5:59 pm [...]