Web Hosting Talk







View Full Version : alignment problems in flash, help please


airnine
02-20-2004, 08:04 AM
I have a background image of size 295x185 pixels in my flash movie of the same size, the image in question is at x: 0 and y: 0 position, however when I export the movie and put it in a html doc it is not aligned with the images I have surrounding it, it looks like a very small mismatch

i have all this images and the flash movie in tables, but all padding and margins are set to 0px;

when I offset the background image to the position of x: -0.3 and y: 0 it seems to be somewhat aligned when exported, but not perfectly

I export the movie with 100% jpeg quality and without compression, but this does not seem to be solving the problem

It's basically driving me crazy, so if there is anybody with a solution proposition, please help

thanks

Airnine

airnine
02-21-2004, 11:46 AM
It seems like I'm the only one having this problem. I this really happening only to me?

Somebody? Anybody? Help, please

Informity
02-21-2004, 02:13 PM
Its called pixel shift. Its a bug in flash player that's existed since version 3. To fix it you have to buy Flash MX 2004 and export for flash player 7 or use Adobe Livemotion and set the anchor point to top-left for your bitmaps.

I think this page has info:

http://whatdoiknow.org/archives/001339.shtml

airnine
02-21-2004, 07:43 PM
Perhaps it would be much easier if we all committed a group suicide?!

no really, phision.com, thank you very much, I will try this immediately and see, if the stuff you are talking about is working

I'm pretty ok with my MX version and I don't have Livemotion plus I will definitely not be publishing to player 7 version;

one guy told me he's importing images on the fly, in run time and he never has problems like this, I think I will have to try that as well

nevertheless, I will post the results here for everyone to see,

once again, thank you very much

Airnine

airnine
02-21-2004, 08:18 PM
well, adding 1 pixel thick edge seems to be working just fine, thanks for the tip again

now I only have a color mismatch left, what could be the cause of this? any clues?

the color in the flash clip appears to be a bit darker

thanks in advance

Airnine

airnine
02-21-2004, 08:34 PM
well, loading an image dynamically in run time works well, too, no pixel distortion