Try changing the skin to a spark skin. It looks like it's using an action script skin. I don't remember ever seeing that class before.
The reason is that some skins support some styles and other skins do not. So if the skin expects a style to be there and it's not it will throw an error. But that doesn't explain why it works 20ms later. Even if you are using default skins they still may have styles defined. Look for defaults.css in the flex sdk and you'll see each component defining the skin and a few styles. If you have a style sheet named defaults.css check that it is in your project it may be not conflicting with the library defaults. On Friday, November 13, 2015, chris_d_k <[email protected]> wrote: > Sorry, "not changed" any default skins, css, ... > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/NPE-in-ButtonSkin-tp11481p11486.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >
