getting scroll events
You can't use wmode=transparent or opaque. Here, it's using wmode=direct.
♥0 |
Line 13 |
Modified 2012-09-12 08:04:59 |
MIT License
archived:2017-03-20 14:38:25
ActionScript3 source code
/**
* Copyright wh0 ( http://wonderfl.net/user/wh0 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/yk1a
*/
package {
import flash.events.MouseEvent;
import com.actionscriptbible.Example;
public class FlashTest extends Example {
public function FlashTest() {
stage.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheel);
trace('focus this movie and try scrolling');
}
private function mouseWheel(e:MouseEvent):void {
trace('wheel ' + e);
}
}
}