RE: [Flashcoders] making a set of dynamically loaded buttons to listen to each other

2009-02-21 Thread Cor
ent: zaterdag 21 februari 2009 16:07 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] making a set of dynamically loaded buttons to listen to each other I need a help ! I a working on application where i have a set of 10 buttons. I want that when one of them is clicked the others disapp

Re: [Flashcoders] making a set of dynamically loaded buttons to listen to each other

2009-02-21 Thread Helmut Granda
set the same handler to all of them and then inside the handler run a for loop to call the event for each of the buttons (or do whatever you want) excluding the one that made the call to the handler. On Feb 21, 2009, at 9:06 AM, Michael Iv wrote: I need a help ! I a working on application

[Flashcoders] making a set of dynamically loaded buttons to listen to each other

2009-02-21 Thread Michael Iv
I need a help ! I a working on application where i have a set of 10 buttons. I want that when one of them is clicked the others disappear or do anything else that is assigned to them. I cant figure out how to make each button to listen to event of the others in a simple way