sorry, let me clarify. the Textarea htmlText property automatically adds the CDATA section in the MXML source view editor. so if you go into the source view and type:
<mx:TextArea> <mx:htmlText> [ENTER] then flex builder adds: <![CDATA[ ]]> </mx:htmlText> I didn't have to type the CDATA section. Can I do that with my component? On 3/23/07, Gordon Smith <[EMAIL PROTECTED]> wrote:
I don't think FlexBuilder supports this. - Gordon ------------------------------ *From:* [email protected] [mailto:flexcompone [EMAIL PROTECTED] *On Behalf Of *dorkie dork from dorktown *Sent:* Friday, March 23, 2007 5:42 PM *To:* [email protected] *Subject:* [flexcomponents]Adding CDATA tags around in my htmlText property The Flex Builder editor automatically adds fancy shmancy CDATA tags when you autocomplete the Script tag like this: <mx:Script> <![CDATA[ ]]> </mx:Script> How do I get my component to add CDATA tags automatically for one of its properties? <mx:MyComponent> <mx:myProperty> <![CDATA[ ]]> </mx:myProperty> </mx:MyComponent>
