----- Original Message ----- From: "Michael Iv" <explomas...@gmail.com>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Saturday, February 21, 2009 3:06 PM
Subject: [Flashcoders] making a set of dynamically loaded buttons to listento 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 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

A simple technique is to store references to each button in an array. Then when one is clicked you can go through the array and make the others dissappear.

Naturally there are many ways to do this, but that's a basic technique.

Paul



_______________________________________________
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

Reply via email to