Thanks! ________________________________________ From: [email protected] [[email protected]] On Behalf Of ekameleon [[email protected]] Sent: Friday, April 23, 2010 1:41 PM To: Flash Coders List Subject: Re: [Flashcoders] addEventListener - repeat function call
Hello :) you can try MouseEvent.MOUSE_MOVE or you can use Event.ENTER_FRAME, you run the enterFrame in the mouseOver event and you stop it with the mouseOut. EKA+ :) 2010/4/23 Lehr, Theodore <[email protected]> > How can I have a function called as long as MOUSE_OVER > > I am trynig: > > bn1.addventListener(MouseEvent.MOUSE_OVER,func); > > function func(e:Event) { > trace(e.target.name); > } > > I would like it to fire off as long as the mouse is over.... > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

