RE: [flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread Tracy Spratt
This is simpler than it sounds. "Subclass" means the same as "extend." The easiest way is to create a custom mxml component. For example the below subclasses a text input and give is a default text value: ***the custom component*** http://www.macromedia.com/2003/mxml"; initialize="initComponent(

RE: [flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread Matt Chotin
Actually, make sure you also put a getter in there since Flex requires both getter and setter when you override.   function get text() : String {   return super.text; }   Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex_harui Sent: Wednesda