does your component actually extend label or is it completely 
different. i ran into this same issue, so, if it extends label, i 
have a work around for you.


--- In [email protected], "dorkie dork from dorktown" 
<[EMAIL PROTECTED]> wrote:
>
> i'm making a label component. it works fine but i'd like to use it 
in
> mx.controls.FormItem. to do this i think i need the function
> createItemLabel() to be public along with any other related 
properties (ie
> _label, etc) so i can extend FormItem (FormItem2) container. what 
would be
> better is using a factory pattern so i can pass in my label 
control to the
> regular form item and not have to make my own version of FormItem.
> 
> in the mx.controls.FormItem.as file:
> 
>     /**
>      *  @private
>      */
>     private function createItemLabel():void
>


Reply via email to