Hi list...
How's everyone?
[PC: Dir & Flash MX2004] In Flash, there's a Mouse object, where you
can attach a mouse listener with an onMouseWheel handler to do something
when the user moves the mousewheel. Nifty, so I thought I'd try to
apply that through lingo using a global newObject.
global gWheel
global gWheelListener
gWheel = newObject("Mouse")
gWheelListener = newObject("Object")
gWheelListener.onMouseWheel = trace("moved wheel")
gWheel.addListener(gWheelListener)
The problem is that gWheelListener inits, but gWheel doesn't. Is there
a way you can get a reference to Flash's Mouse object through Lingo
using newObject?
I know about Magic Modules wheelMouse xtra, but I thought there could be
many, many applications to use this if it's not limited to fields off
the side of the stage.
thanks,
- Michael M.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]