I think this is a bug in Alpha where the focus is retained in a object even after it has been removed (button in your case) and causing this error.
As label doesnot have focus it is not giving any problems. Try forcing the focus to something else in the event handler.
-Sreenivas
On 11/30/05
Dear Flexcoders,
I encountered a strange issue today and would like to ask
you for any hints. However it is somewhat difficult to describe the scenario. I
give it a try:
1. In my application I have a MenuBar with a couple of
MenuItems and an EventHandler for the Menu.
2. The Menu
2 matches
Mail list logo