![]() |
А можно ли пользоваться скроллом?
Мастера, а возможно ли использовать скролл мыши в мувиках?
Если да то буду очень благада за любой пример. |
благада надо быть поиску. Потому что он - РУЛИТ. Однозначно.
|
зади на flashcoders-wiki там поищи ASNative. Найдеш ответы не тока на этот вопрос.
|
Mouse.onMouseWheel
Availability Flash Player 7 (Windows only). Usage someListener.onMouseWheel = function ( [ delta , scrollTarget ]) { // your statements here } Parameters delta An optional number indicating how many lines should be scrolled for each notch the user rolls the mouse wheel. A positive delta value indicates an upward scroll; a negative value indicates a downward scroll. Typical values are from 1 to 3, whereas faster scrolling may produce larger values. If you don't want to specify a value for delta but want to specify a value for scrollTarget, pass null for delta. scrollTarget The topmost movie clip instance under the mouse when the mouse wheel was scrolled. Returns Nothing. Description Listener; notified when the user rolls the mouse wheel. To use the onMouseWheel listener, you must create a listener object. You can then define a function for onMouseWheel and use addListener() to register the listener with the Mouse object. Note: Mouse wheel event listeners are available only on Windows versions of Flash Player. Example The following example shows how to create a listener object that responds to mouse wheel events. In this example, the x coordinate of a movie clip object named clip_mc (not shown) is changed each time the user rolls the mouse wheel. mouseListener = new Object(); mouseListener.onMouseWheel = function(delta) { clip_mc._x += delta; } Mouse.addListener(mouseListener); |
to WD'
Цитата:
|
2 Jlekc:
а ты попробуй.. |
а ты скомпилитуй под 5-ой
|
Jlekc:
а, может, под 3? |
ага, ты сразу зацинил :D
|
| Часовой пояс GMT +4, время: 12:25. |
Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.