did you declare an xml namespace for it in the mxml page which calls 
it?  something like

xmlns:view="*"

At 05:47 PM 7/25/2006, you wrote:


> > package
> > {
> >     import mx.controls.TextArea;
> >
> >     class MyTextArea extends TextArea
> >     {
> >         protected override function createChildren():void
> >         {
> >             super.createChildren();
> >             textField.selectable = false;
> >         }
> >     }
> > }
> >
> > And then use <view:MyTextArea /> instead.
>
>
>Thanks.  I think I have this setup properly but now I'm getting a
>
>"The prefix "view" for element "view:myTextArea" is not bound"
>compiler error.
>
>Is there something I'm missing so Flex can recognize my new class?
>The class is packaged in with all of my other .as custom classes.  I
>can include it and recognize it in the Actionscript, but this view
>command doesn't seem to be working in the mxml.
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to