fonts and Flash
Out of context: Reply #6
- Started
- Last post
- 16 Responses
- turk_1820
Export your fonts when you publish your swf via the library (linking them dynamically w/a custom name), use html via xml(CDATA tags), create empty textfields dynamically and apply all your settings (including sharpness & thickness) via actionscript.
When exporting your fonts - whatever the linkage label is - call that label in your html... ae: 'face'...
<! [ CDATA [ < font size = " 12 " face = " titleFont " > This is a Title! </font > < font size = " 9" face= "bodyFont" > This is my Lorum Ipsum body copy and I'm going to repeat it a few times. This is my Lorum Ipsum body copy and I'm going to repeat it a few times. This is my Lorum Ipsum body copy and I'm going to repeat it a few times. < / font> ] ] >
GET OFF THE TIMELINE! Flash will love your fonts (for the most part) as long as you be specific w/actionscript.
I highly recommend combining a custom text css object, the textformat object and createTextField() in AS 2 or the like in AS 3 - your font control will be magical and your hate will turn to love. :)