I've written some code that uses setTextFormat to apply formatting to textFields. I need to change it now so if a textfield has a particular title it adds to the formatting (capitalising it). 

Theres several workarounds I could use but ideally I would like to either create an override for the setTextFormat or textFormat classes that checks the name of the textfield and if it's a particular name before applying all the other specified formatting capitalises it. I know how to override a setter such as (width or height) but can't find any info on overriding a specific property.

Can anyone give me any pointers please?