[Flashcoders] listening for all button events

2005-10-26 Thread Matt Ganz
hi. is there any way to have one listener listen for all button events. you know, like you can have with Key. or do i have to give all my buttons instance names and use addListener on each instance? thanks. matt. ___ Flashcoders mailing list

Re: [Flashcoders] listening for all button events

2005-10-26 Thread JesterXL
@chattyfig.figleaf.com Sent: Wednesday, October 26, 2005 10:38 AM Subject: [Flashcoders] listening for all button events hi. is there any way to have one listener listen for all button events. you know, like you can have with Key. or do i have to give all my buttons instance names and use addListener on each

Re: [Flashcoders] listening for all button events

2005-10-26 Thread Matt Ganz
flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 26, 2005 10:38 AM Subject: [Flashcoders] listening for all button events hi. is there any way to have one listener listen for all button events. you know, like you can have with Key. or do i have to give all my buttons instance names

Re: [Flashcoders] listening for all button events

2005-10-26 Thread Weyert de Boer
Matt Ganz wrote: i've been using this method to listen for mouse movements and mouse clicks on the first frame of my .fla You might want to consider to use a MouseListener. var mouseListener:Object = new Object(); mouseListener.onMouseUp = function() { print CLICKERDE CLICK; }

Re: [Flashcoders] listening for all button events

2005-10-26 Thread Weyert de Boer
You might want to alter my code a bit looks like I mixed some languages ;=) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders