> I'd like to know, what are advantages (if any) of using TextFormat > instead of CSS ?
HTML textfields with embedded fonts using formatting-specific tags cannot use setTextFormat or setNewTextFormat. The formatting must be defined in a TextField.styleSheet object. Of course, you can use HTML text with setTextFormat or setNewTextFormat, but no formatting-specific HTML tags such as <B> or <I> or <FONT> are recognized. For non-HTML text, setTextFormat or setNewTextFormat will do just nicely, and does not involve as much overhead.
Joseph ____________________________________________ Joseph Balderson Interactive Media Design & Development http://www.joeflash.ca Faculty Member, Flash Development, Humber College School of Media Studies http://mediastudies.humber.ca ____________________________________________ GregoryN wrote:
Hello Flashcoders, It is possible to replace CSS with TextFormat object using styleSheet.transform() . I'd like to know, what are advantages (if any) of using TextFormat instead of CSS ? I'm creating multiple text fields and want to apply tweening to them, so the question above is especially interesting in coordination with embedded fonts. Thanks in advance.
_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

