[Flashcoders] Tracking mouse movements outside of browser

2006-12-13 Thread dave matthews

To make the mouse loose focus on drag out of Flash,

  Place an invisible button in a two frame clip.  Set the button to goto 
next frame on roll over and stop on frame two.  Second frame is blank = no 
button object from first frame.  Place that clip over the drag button in 
your app.


 When the cursor rolls over the invisible button/clip, it will disappear 
leaving your existing dragable scroll button to take the onPress_drag input 
- BUT when the cursor drags out of Flash - the scroll bar will snap back to 
no_input and when the cursor returns the drag will not be an active 
command.


 You may need to adjust the setup a bit, did it a long time ago. See 
http://www.2GoTo.com for a working example, scroll bars display when the 
cursor is at window edges.


 If you can't get it to work, i can find the code...  but it's been a long 
time and i will have to search for a while to find it.


Dave_Matthews

-original message--
Message: 14
Date: Tue, 12 Dec 2006 14:45:28 -0500
From: matt stuehler [EMAIL PROTECTED]
Subject: [Flashcoders] Tracking mouse movements outside of browser window

All,

I'm not sure if this is possible, but I'm wondering if there's any way
a Flash movie can track mouse movements/actions outside of the browser
window.

Specifically, I'm working on an RIA which uses a scrollbar along the
right edge of the window. If the user, while dragging the scrollbar,
moves the mouse outside of the window, the Flash movie stops tracking
the mouse position, and the scrollbar stops moving. The scrollbar
jumps if the user drags the mouse back into the window at a lower or
higher position.

(By comparison, an HTML scrollbar doesn't suffer this limitation - the
scrollbar continues to move even as the mouse is dragged outside of
the window.)

Is there a way around this?

Cheers,
Matt Stuehler

_
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo005001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Tracking mouse movements outside of browser window

2006-12-12 Thread matt stuehler

All,

I'm not sure if this is possible, but I'm wondering if there's any way
a Flash movie can track mouse movements/actions outside of the browser
window.

Specifically, I'm working on an RIA which uses a scrollbar along the
right edge of the window. If the user, while dragging the scrollbar,
moves the mouse outside of the window, the Flash movie stops tracking
the mouse position, and the scrollbar stops moving. The scrollbar
jumps if the user drags the mouse back into the window at a lower or
higher position.

(By comparison, an HTML scrollbar doesn't suffer this limitation - the
scrollbar continues to move even as the mouse is dragged outside of
the window.)

Is there a way around this?

Cheers,
Matt Stuehler
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com