|
User Details |
message
|
|
Patrick Grey
post date:
2008-03-03 04:49:41
|
Hello there,
I have purchased your scroller component and really like it but I need a way to enable/disable it using Actionscript. Is this possible?
I have a movieclip which overlaps the scroller comonent. When I drag any part of the overlapping clip, this is picked up by the scroller in the background. I would like to prevent this happening.
Thanks for any help,
Regards,
Patrick Grey
|
|
|
Patrick Grey
post date:
2008-03-04 08:32:08
|
Great service from extend studio. They got back to me with the following which solved my problem:
To disable scrolling -
Mouse.removeListener(_root.scrollerInstanceName.mwListen);
To re-enable scrolling -
_root.scrollerInstanceName.addDragScroll(false);
Hope that helps someone.
|
|
|
Khadeeja Carter
post date:
2008-05-23 19:07:50
|
|
Image keeps getting algn to the left of scroller
|
|
|
Khadeeja Carter
post date:
2008-05-23 19:12:09
|
|
dissregard last post-----meant to start new thread
|
|
|
Darryl Stevens
post date:
2009-07-27 14:32:17
|
I tried using the code to disable but it's not working for me?
Is "mwListen" the listener name?
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2009-07-28 09:16:06
|
Hello,
You can disable mouse scrolling by changing the scroll behavior. To do that set: instanceName.scrollBehavior = "Scrollbar Only";
Regards,
Andrei Rinciog
|
|