I am creating a custom panel in which, I want the title to have HTML
text in which a word is clickable. I have below attached a mxml
component code with the HTML text for the title. I don't know how to
provide for a link handler for the link event.

I appreciate any help. Please let me know if you need more info.
Thanks, Ramesh

------------

<?xml version="1.0" encoding="utf-8"?>
<TextInputPanel xmlns="soapbox.util.*" xmlns:mx="http://www.adobe.com/
2006/mxml"
        width="300" height="200"
        title="Registered classes"
        borderThicknessLeft="6" borderThicknessRight="6"
borderColor="#395182" creationComplete="init()">
        <mx:Script>
                <![CDATA[
                        private function init():void {
                                this.titleTextField.htmlText = "I want to <font 
color='#0000FF'><a
href='event:learn'>learn</a></font> | <font color='#0000FF'><a
href='event:teach'>Teach</a></font>";
                        }
                ]]>
        </mx:Script>

</TextInputPanel>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to