Hi All
I am trying to extend the LinkButton component to replace the label
with a multiline text field. I have tried to extend the link button
component first with a as file:
[code]
package com.company.util
{
import mx.controls.LinkButton;
public class TextLinkButton extends LinkButton
{
public function TextLinkButton()
{
super();
}
}
}
[/code]
and then with an mxml file:
[code]
<?xml version="1.0" encoding="utf-8"?>
<mx:LinkButton xmlns:mx="http://www.adobe.com/2006/mxml">
</mx:LinkButton>
[/code]
with both of them I get the error:
Could not resolve <com.company.util.TextLinkButton> to a component
implementation.
What am I doing wrong?
(while I am here any pointers on how to replace the label with a text
field would be great).
Thanks for the help.