Flash MX with Pixel Images

All right people, lets see if you guys can figure this one out.

I’m not new to flash, but i’ve never really worked with pixels in it. I know how much of a butt it is, but i’ve had to turn to it as the only easy way to do this havigation. It should have been quick, simple, and easy, right? I couldn’t have been farther.

At first I was going to make it all from scratch in flash. The images, the text as buttons, everything. But that quickly faded from sight as I found out how hard pixel fonts in flash were. Plus, I couldn’t find ONE font that matched the one I needed to use which [sadly] wasn’t a true-type. so I dumped that idea.

First off, lets take a look at what i’m trying to do:

Looks simple, right? Yes I know, that is an image of the flash movie test window. I’ll get there.

Anyway, I decided I would take each section and make PNGs out of them with mspaint [best pixel editing tool out there!] and import them into flash. Yes, I know, it’ll make it bigger. But it’s not a big movie anyway, what’s a whole two seconds? I set it all up, got everything coordinated with Snap To Pixel, and it looked fine. Now I just needed to make each into a button. Of course, I couldn’t do that with each shape, just the words. [not when each shape overlaps the other. I could have done it with layers, but then the defined edges would be messed up. Besides, it didn’t need to be perfect.] I’d just add some actionscript to change the images around it with rollover and rollout. However, I soon learned that making symbols out of pixel images didn’t work either. That frusturated me.

So I’m stuck. Dunno what to do, just sitting there. Can’t get around it, or at least I thought. Then it occured to me what I should’ve done in the first place.

I took it all, put each thing [words and seperators ()] on a seperate layer, then made button symbols to cover each button area. It was a great idea, just add some more actionscript to go to different frames in the movie containing highlighted button areas when the symbol buttons were rolled over and junk. It worked.

As you can see in the image above, when tested in flash MX at low quality, it works and looks perfect. However, there’s one final problem to overcome.

Exporting.

You see, as soon as I export it and stick it in a webpage with no menu and set to low quality, it’s screwed up again. Look:

Now that’s strange. Flash MX makes everything pretty and perfect, but as soon as that little movie enters the real world, there’s nothing pretty or perfect. Only hard, against the grain, ugly. Is there’s something to be done in the publish settings? I thought i had it, after all that, it’d be a shame to see it go to waste.

Oh BTW, the FLA is attached if you’d like to take a look at what happens, or what I did.

UPDATE: sorry about the broken images, my host has been down for a bit and I needed somewhere else to host them. Thanks for any help guys!

One solution is to:

Create a “pixel symbol” in flash (1x1 px square, no stroke just fill) and use that pixel to create your images.
Put snap to pixel on and zoom in - then get ready for some serious alt-dragging. Be sure to put everything on integers(?) i.e. 5.0, not 5.5.

I would love to hear another solution

My problem isn’t in creating the images, it’s in keeping the images straight and neat when exporting. I don’t have problems doing the actual images. And there’s no way i’m going to arrange like 300 box symbols… I’d probably just get the same thing anyway.

I’m talking about keeping the images straight and neat - I am aware that using “boxes” to create them is a pain…

about the 300 pixels in your menu-thing - the lines are quite easily copied and reused, sparing you the effort to alt-drag all of them.

cola: You’re right, but I don’t see what that’s gonna do. It’ll end up practically the the same way, and i’m not sure what i’ll have accomplished by then. Oh well, I can try a test at least. Maybe one button.

Do what I do jess, make someone else do it… :wink:

techop, you fool, I’m the one doing it for somebody else!

haha

ok… um… publish the fla at full quality (file> publish settings > html ) and set the quality of the bitmapped image from the library at 100 (library > right click image > properties > compression: Lossless (GIF/PNG) ) and let me know how it goes :slight_smile:

ah-HAH! There we go! i looked in the library, and there happened to be a couple images with “allow smoothing” checked! I thought i got them all! Thanks a bunch guys! One of the best flash info sites, waay past flashkit because the amount of FLASH ads on flashkit makes my browser sick…

thanks guys!

hehe glad it worked :slight_smile:

this site’s nice indeed :beam:

Oh no, it’s not for my site… it’s for a tutorials site called “i2600”… I’m just mainly working on the layout.