private function init():void{ this.addEventListener(MouseEvent.MOUSE_WHEEL,mwHandler) } private function mwHandler(event:MouseEvent):void{ if(event.delta<0){ image.scaleX -= 5 image.scaleY -= 5 }else{ image.scaleX += 5 image.scaleY += 5 } }
Try out with this code On Feb 24, 2:47 pm, Amit <amitindor...@gmail.com> wrote: > Hello All, > Please tell me how to create zoom in/out functionality > on a mouse wheel, give me some suggestion or some code. > > Thank You -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.