I'm using a SkinnableContainer derived component in an <s:Application>. The SkinnableContainer component uses a skin that is presented in this article, http://livedocs.adobe.com/flex/gumbo/html/WSF1E2E7DD-8FA6-408d-9652-4B5E57A85A5A.html. It compiles and runs fine the first time. However when I change the gradient entry color in the skin, then at runtime I get the following error: No class registered for interface 'mx.styles::IStyleManager2' error. If I move the <s:rect> portion of the skin inline within the SkinnableContaner derive component, it works fine. What am I missing?
One piece of additional info, this runtime error only occurs if the application is launched from Flash Builder. If the application is launched directly from the file system the runtime error does not occur. Strange.
I believe that error occurs when fb tries to launch a non-application
as the root class. See if the problem persists when your application
class is the active editor when you launch your program through fb.
Sent from my teeny tiny phone.