Thanks guys, its was actually my fault,

the example i gave was a little simpler than my real code, and i discovered
i was calling setTitle from inside the super construtor, so obviously if i
dont set my subclass variable before calling "super()" it wont use that
variable.

by changing the subclass constructor to this:


public function DateMarker ()
{
      labelClass = "date"
      super();
}

I have the desired functionality....think i probably need to spend some time
refactoring tho.....

The example i've given (aside from Petro's astute comment) should actually
work as expected, not as i described!! Sorry for the distractions!!!


thanks for the help tho
keith
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to