---
var Mickey=new Object()
function activeWheel(){
Mouse.addListener(Mickey)
Mickey.onMouseWheel = function (delta) {
trace("Mickey Mouse:"+delta)
}
}
activeWheel()
----
Omar Fouad wrote:
Hi List..
I am writing a class and inside this class, i got a this method....
private function wheel() {
mList.onMouseWheel = function (delta) {
trace("Using wheel");
}
Mouse.addListener(mList);
//mList is declared as an object outside the Method
}
I dont know why but it iseems that it is not listening to the wheel as
in it
doesnt trace me back "using wheel"....
what is the problem?? Am i doing something wrong?
Thanks so much
_______________________________________________
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