Okay…
I’m designing a new website in Flash MX. So far, so good.
A little while ago, I learned that to use pixel fonts in a good way, you need to always position them on ,0 values. Like 100,0 instead of 100,3.
When I preview my movie in Flash MX itself, everything looks fine. It’s all great. But when I watch the .swf on internet, the text is blurry! How does it DARE!!!
And especially, how does it come? Is it because I’m looking at the .swf file right away on the internet? ( I mean, like http://www.mydomain.com/index.swf) instead of in an html file?
Well when you’re looking at a swf file that isn’t embeded into html, the swf will stretch to fit your browser window so of course your fonts will look blurry.
Wow, that was a fast reply.
Is there any simple way I can make an html file in Notepad to embed it into html? Just to see if it’s not blurry anymore then?
This is my current html file I just made up:
EDIT: I had to delete it, coz it seems that when I post it here, it screws the whole page up :stunned:
But when I use that one (I just copied it from an old file and replaced the size and filenames), then there is an empty space to the left and above the swf on the html page. I don’t want that. I want the swf to cover the whole page (it should have the right size to do that) and no scrollbars…
Flash can do it for you. Just go to File > Publish Settings and you’ll see the HTML tab. Once you selected what you want, just hit OK or Publish. It will create a html file with your swf embeded in it for you.