Hmm, I can't see why it doesn't work unless you have to have a name passed to the FontString. I think I read somewhere that you can only override the object if it has a unique identity.
Try changing this line ...
TextFrameFont = TextFrame:CreateFontString(nil, "BACKGROUND",GameFontNormal)
To this ...
TextFrameFont = TextFrame:CreateFontString("MyTextFrameFont", "BACKGROUND",GameFontNormal)
And see if that works.
If it still doesn't work and no-one else can see anything by the time I get back in game later on I'll see what's happening.
|