Yes you can do that and that will solve your problem of no mouseover
on the grey areas.
I was able to drag the scroll pane button and let go off stage and it
lost focus. Is that what you mean by the thumb? Im on a MAC Powerbook
G4 using Safari 4.
You could use a "track mouse" _x and _y script that knows the
boundaries of your viewer and force it to stopDrag when it goes past
a point.
One other idea (but may be too much at this point) but to add mouse
wheel functionality to your grey rectangle and loaded movieclips.
Then if the user has one he can just hover and scroll... :D
Question, why do you want the grey area to be a mouse_down?
I would think this would be good for what you have so that the user
only selects the page when they want to drag,
otherwise they may not see that you can drag the page because the
mouse will always be in an "over state".
JAT
Very nice though..
Karl
On Jun 10, 2009, at 11:41 PM, Joseph Masoud wrote:
Hello everyone,
I'm currently working on a document viewer, a very buggy version of
which can be seen on:
http://www.mavedu.com/viewer/
Two issues (among hundreds):
1. If you drag the mouse scroll thumb, and release the mouse
outside the stage, the thumb doesn't lose focus. This is a
scrollPane UI component. I think I need to use the mouse_leave
event on the stage, however I'm not quite sure how remove the focus
from the scroll thumb without creating/extending the scrollPane
component.
2. The movie clip within the scrollPane is draggable. The movie
clip has external swfs loaded into it via the Loader class. There
is a space of 20px between each swf. How would I be able to make
the mouse_down register when the user clicks on the space between
the swfs? Perhaps by adding a transparent rectangle in the
background of the movie clip?
Any suggestions would be greatly appreciated.
Many thanks,
Joseph
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders