CSS in Flash the Return of Crisp and Legible Fonts

A typical challenge faced by Flash developers like mecall to tell
isyou that the font is too small. In the past such
getting fonts to look like you want then to. For anychanges could
projectbe very time consuming, requiring developers to go
choosing the right font face and size is a processthrough the
that requireswhole movie editing textfield after texfield one at a
both you and ultimately the client to see eye totime;
eye.In Flash MX and earlier versions fonts were byproviding that the client was happy with the changes
defaultyou'd might
anti-aliased, meaning that the edges of the text areget lucky and only need to run around that track
smoothed.once.
This is good when dealing with large type but itIn my line of work I convert pre-designed web sites
causes small(web
text to appear blurry. Earlier versions of Flash alsotemplates) into a unique Internet project (web
had othersites), in other
issues. For instance if one were to realign textfieldswords I work with pre-made website templates.
aroundThe whole basis
other objects fonts might come out of focusfor using a website template is to develop fast and
(because ofhigh-quality
positioning), and getting it right could take severalwebsite in half the time that it would normally take a
tries.More recently with the advent of Flash MX 2004regular
came the "aliasdesign studio to do the same. Utilizing style sheets
text" option but, more importantly thewith my
TextField.StyleSheet()Flash templates enables me to keep my production
class. What is the TexFiled.StyleSheet() class? I'll gettime at a
to thatminimum and ultimately the time I save will benefit
but first let me tell you about this new "alias text"my clients.
feature.For detail instruction on how to create a style sheet
The latter hides the anti-aliasing to make small textobject in
sharperFlash MX 2004 simply open the help panel and
and more legible yada, yada, yada. However, mostsearch under the
often than not,keywords "cascading style sheets". In all fairness I
fonts appear overly pixilated and cracked. In mymust
opinion "aliasmention something about Pixel fonts. Pixel what?
text " is nothing more than a little ransom notePixel fonts are
generatorfonts specially designed so that every part of every
making every character appear as if it had been cutcharacter
out of afalls exactly on the monitor's pixel. Pixel fonts are
magazine. Adding insult to injury if you are publishingincredible
for theat getting fonts at small sizes looking crisp and
Flash 6 player or earlier versions on Flash MX 2004legible at any
the "aliasresolution. If you are wondering if Pixel fonts would
text" feature does not work on dynamic and ordisplay
input textfields.correctly on the end user's computer or some other
platforms
Moving forward with stylesheets. If you don'tthat does not have these fonts already installed.
already knowThe answer is
something about CSS don't fret the small stuff. Getyes, but Pixel fonts must be embedded to ensure
to yourthey are
favorite search engine and key in CSS (short fordisplayed correctly on every computer. The
Cascading Styledownside here is that
Sheets), and in seconds flat you will find hundreds ofembedding these fonts means an increase in file size
articleswhich in
on CSS benefits, syntax, usage and whatnots. Veryturn causes an increase in bandwidth needless to
quickly, CSSsay bandwidth
is the language of style on the web and as opposeddetermines the rate at which information is sent.
to other
languages CSS is much easier to read and write. OneNevertheless if you want to use fonts that look
of thecrisp even at
reasons for this is you can pretty much readsmall sizes without the use of CSS, Pixel fonts are
everything just asright for
you would plain English, another is the ability to writeyou. To buy and or read more about Pixel fonts
everything in lowercase, something you could nevercheckout these
getaway withwebsite and sum the choice is your, on smaller
in JavaScript.projects I would actually
CSS in ActionScript is relatively simple. The first thingprefer Pixel fonts over cascading style sheets, I
wemean why bring
want to do is open the Action panel and create ana gun to the snipe hunt when all you need is my
empty stylegunnysack. On
sheet object. Basically the idea is to load our stylethe other hand you can do without a lot of
sheetunnecessary
information in there (font size, weigh, color etc.), andfrustration going with CSS when working on larger
thenprojects.Dave Collado is a senior design consultant at
assign that information to some text. Not only willFoamers.net
you haveoffers quality website templates, template
more crisp and legible fonts but more importantly,customization, flash
this mean youtemplates, phpnuke themes, phpbb themes,
can change details about your font in an entire FlashosCommerce templates,
site bySWiSH templates, icon sets, web design tutorials,
simply editing one file. Pretty powerful stuff huh?and many other
Very handyweb design and web hosting services.
when clients decided they don't like red anymore or