is there an easy way to set the buttonMode to true to all my buttons in my application?
I thought to create a custom component which extends the s:Button and set there buttonMode to true but I wonder if there is an easier way like with CSS.
Thanks in advance
You could either try writing a crawler which would walk through all your object at runtime, or something like this:
and then:
Each item which is added to the stage should go through this event (even if only its parent is added to the display list).
Of course you’ll have to add this event listener before anything is added to the stage actually!