Scrollable pixel fonts?

perhaps some great font artists out there are just making some really fine tuned fonts and I can’t tell the difference between a “normal” and pixel font… or is there a way to scroll pixel fonts without throwing them all “outta wack”?

anyone know what I mean?:stuck_out_tongue:

thanks!

do you mean in a text box??

i sure do.

perhaps not the mx components box though… any kind of component scroller style scroller, or custom scroller for that matter?

hows it done?

well, the mx scroller component is customizable and very easy
to use. regardless, your question is asking about fonts and
scrolling. what is it that you are trying to do?

if you did a search you’d find what you’re looking for 100 times
probably. scrolling text is a very common question here.

my question is: is there a way to keep pixel fonts from going “fuzzy” while being scrolled? something to do with the math im sure?

thanks

You shouldn’t have any problems if you’re scrolling a text field, since the [font=courier new]scroll[/font] property must be an integer (it will be rounded if you (try to) set it to decimals); unless the text field is not placed on a whole number on both the x and y axes.

However, say you have a text field inside a movie clip, and you want to move the movie clip along the y axis; you’ll need to round the number yourself. You can use [font=courier new]Math.round[/font], [url=http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary456.html][font=courier new]Math.floor[/font] or [url=http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary452.html][font=courier new]Math.ceil[/font], depending on the situation. :slight_smile:

Hope that helps. :stuck_out_tongue: