There is no event as such to notify style changes. However, if you extend any component, you can override styleChanged method of the component. For example, you can extend Button component and create your own component let's say MyButton. You can override the styleChanged method in MyButton class. You can do whatever you want in that method.
Are you using Flex 4? In Flex 4 they have added event dispatching from the styleChanged() method.
For an individual style;
myComponent.addEventListener("textDecorationChanged", styleChangeHandler); myComponent.addEventListener("fontSizeChanged", styleChangeHandler);
For a complete styleName change;
That's good to know...
Cool ! That's very interesting. I have 1 question about it thought, if I have Button and List and some other elements in the application, maybe even childs of elements and I set the global style to change style for all of them, in what order do the events shoot ?
And anyone about the interfaces question ?
For an answer to event order, when setting global styles, you wouldn't know for sure since the proto chain could change depending on adding, removing components. I doubt it's alphabetical. The event would happen instantly after the components setStyle() method is called.
I still don't understand your question about the interfaces.