Chris Velevitch wrote:
I don't understand the issue with calling the parent's init() function?
You are basically saying, you've got an object (TextField) that is like an Label, it has the same properties, methods, behaviours and it also has these other properties, methods and behaviours. So you are defining a new type of object (InputField) that extends the Label type with these additional properties, methods and behaviours and you are saying when you init() an object of this type, it has the same init() behaviour as Label plus, potentially, a couple of other things need to be done on initialisation.
This is bascially the way inheritance works, reusing Label to get an InputField.
Yerp, i know this but the whole Initialization of the objects are driving me up the wall. In theory it should (in other languages) output the same results as ideally wanted, instead with AS2.0 its not. Furthermore, I will want to over-ride some methods of the label to suite the InputField...
Dunno, just wondering how others have done this type of situation with AS2.0
--
Regards, Scott Barnes - http://www.mossyblog.com http://www.bestrates.com.au
--- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
