Thanks, I've managed to get it to compile now. --- In flexcoders@yahoogroups.com, "Maury Sword" <[EMAIL PROTECTED]> wrote: > > The location of your component must reflect the package name. This > component would need to be located in a \com\company\util\ folder > structure. This folder structure must exist in either the project > folder or another folder in the project build path. > > The file name must also match the class name, so it would need to be > named TextLinkButton.as or TextLinkButton.mxml depending upon the > implementation. > > --- In flexcoders@yahoogroups.com, "Giles Roadnight" <giles@> > wrote: > > > > 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. > > >