I'm unable to reproduce the issue with the following test case:
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" > <s:layout> <s:VerticalLayout /> </s:layout> <s:TextArea id="ta" change="debug.appendText(event.type+ '\''+ ta.text + '\'\n');" skinClass="CustomTextAreaSkin" /> <s:TextArea id="debug" contentBackgroundColor="haloGreen" contentBackgroundAlpha="0.2" editable="false" /> </s:Application>
Where my CustomTextAreaSkin.mxml file is a custom TextArea skin (based on the default TextArea skin).
What does your custom skin look like? And which SDK are you using? I'm using a very recent build (10866).
Alex & Peter,
Thanks for your quick responses. It does look like the problem arose b/c my custom skin class was based on an ealier model.