UIComponent certainly defines setFocus.  Whenever you post an error
message, please post it in full.  Error message often contain useful
information.  I'm pretty sure it didn't' say "class ??"

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of learner
Sent: Monday, March 31, 2008 9:57 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: Re: [flexcomponents] error while extending button component

 

Alex....
 there are no classes which defines setFocus

Valdhor,

It does not matter if i change the class  name.. same effect...
what do I do :(



On Mon, Mar 31, 2008 at 11:12 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

In which class is setFocus different?

 

________________________________

From: [email protected]
<mailto:[email protected]>
[mailto:[email protected]
<mailto:[email protected]> ] On Behalf Of learner
Sent: Monday, March 31, 2008 2:21 AM
To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ;
[email protected] <mailto:[email protected]> 
Subject: [flexcomponents] error while extending button component

 

Hi all,
I am trying to create a headerRenderer for Accordion..
and whenever I try to create class which extends a Button Class


package
{
    import mx.controls.Button;

    public class headerRenderer extends Button
    {
        public function headerRenderer()
        {
            super();
        }
        
    }
}


I get a error as : Interface method setFocus in namespace
mx.managers:IFocusManagerComponent is implemented with an incompatible
signature in class 
??
can anybody explain me this ???????????/

 

 

Reply via email to