Thanks! ________________________________________ From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ekameleon [ekamel...@gmail.com] 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 <ted_l...@federal.dell.com> > 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 > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders