Hey Actionscript junkies:
Adobe (macromedia) Flash junkies:

Are you ticked off at Adobe because there's no way to remove or shrink the top margin on comboboxes, text field, list component, etc?

Be ticked off no more.  Instead simply install this TTF font: Arial-high

Then use this code: myComponent.setStyle("fontFamily","Arial-high");
(where "myComponent" is the name you gave the component in the properties panel)

See here's the deal:  There is no top margin.  Never was.  Adobe developers placed the vertical position of the text such that it would be centered for default fontSize in a default component size.  Once you increase the fontSize or decrease the component size you're field will look like garbage with a space at the top and cutting off the bottom of the font.

"ARgghh!" you say?  I know.  Why they couldn't center it in the field is beyond me.

Anyway, I shifted up the Arial font (for everything except all the arabic / hebrew / whatsit characters) so if you want to use smaller than usuall component sizes or larger fonts then this font will improve the look of your application.

Don't have a cow trying thanking me. Just help me disparage mean people. Down with mean people (especially those who berate flash newbies with condescending epithets).

Back to the-austins.com