OZONE Asylum
Forums
Multimedia/Animation
optimizing images in flash
This page's ID:
11445
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Actually, when trying to position bitmap images in flash, I've found it's better to round off the x/y to the nearest whole and to resize the size of the images by -0.1 (so a 200 wide image becomes 199.9). This is because the image smoothing (that you can't turn off, even if you uncheck the "allow smoothing" option for the image source in the library) in flash seems to smudge the images to the left and right by 1 extra pixel than it's current width. Resizing the image by +0.1 will make it look better (and avoid the 1 pixel border clipping issue that can also happen as it forces the boundry of the image to be larger), but the image will actually display 1.0 pixel bigger to the left and right, which can be a ripe pain if you're after pixel perfect alignments using actionscript to dynamically position elements. The -0.1 trick seems to work in most cases (at least, it hasn't failed me yet), it might even fix the alpha blending warp issue but I've not tested it with that yet. This keeps the image displayed at the exact same size so positioning with actionscript won't cause 1px overlaps as it can when you use +0.1 NB: I was hoping that the flash 7 player would fix all of these annoying habbits, but it didnt seems to, at least, not whilst playing flash 6 swf files. But I'm hoping they didn't impliment any backwards compatability bug fixes in this area due to all the wacky hacks people use to subvert the problem. I'm hoping that swf 7 files viewed through the flash 7 player won't have to deal with this issue. ps. Always check your image alignments in the web based flash view ( like in a browser) as opposed to the in flash "test movie" player, as this player is completly hopeless when it comes to dealing with bitmaps, so chances are any alignment issues you see here won't actualyl appear when viewed through the flash browser plugin. [url=http://dracusis.deviantart.com/] [img]http://www.whatever.net.au/~cameron/files/images/ozone/ArtDecoSiggy.gif[/img] [/url] [This message has been edited by Dracusis (edited 09-21-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »