I would like to know what is the best practice to add a close button to a Panel and be able to skin it through CSS file ?
If I add a [SkinPart(required="true")] meta data in the extended Panel for the button created in the Skin file, titleField becomes "null" (it is never created in partAdded() ).
If you're using the beta 1 build, it could be you're running into http://bugs.adobe.com/jira/browse/SDK-21484? If so, try swapping in the mxmlc.jar attached to that bug.
Hello and thank you.
My problem was solved by updating the SDK to 220.127.116.1109
I think the problem is not only in the compiler but in the SkinnableComponent as patching the method findParts(), as suggested in other post, works too.