Thank you!
That's exactly what I was looking for. I guess I didn't get to the
point quick enough that I assumed that components were made with device
fonts which wasn't adequate if I wanted to use it behind a mask.
Since I was assuming that (and apparently I was right), I wanted to know
if and how I could change it. I'm not familiar with the Flex component
framework or the CS3 component framework well enough to know if Adobe
gave us access to any methods to actually change the properties of the
text field(s) in the components. Furthermore, I wouldn't have really
known where to look since this component architecture is new to me.
So excellent! I'll check these methods out to see if they can
accomplish what I want. Thanks very much.
Rákos Attila wrote:
bgf> I think if it's set to device it still won't work
bgf> whether the font is embedded or not (if I put my mask in a layer).
Device fonts are not embedded fonts - if a font is embedded, then it
cannot be a device font. Components use device (not embedded) fonts by
default, but you can change font settings by using Button.setStyle(),
StyleManager.setComponentStyle() or StyleManager.setStyle(). Font
settings are controlled by the "textFormat" style and using embedded
fonts by "embedFonts" (the fonts should be not only referred as an
embedded, but be really embedded into the swf). See docs for details.
Attila
_______________________________________________
[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
_______________________________________________
[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