JPardoe
asked on
Strange Pixelation/Lines with BitmapData over Layers
Hi there,
I have a preloader that emits particles in a new flash game I'm working on. The particles are drawn circles then converted into bitmaps (for collision detection).
I have noticed that when I publish the preloader online (www.peephill.com) the particles don't have transparency and they cause strange lines/jittery outlines on the layers beneath.
I have tested this in the flash itself ('test movie') and it seems to work fine.
I was wondering if there was a known bug that might be causing this?
I have a preloader that emits particles in a new flash game I'm working on. The particles are drawn circles then converted into bitmaps (for collision detection).
I have noticed that when I publish the preloader online (www.peephill.com) the particles don't have transparency and they cause strange lines/jittery outlines on the layers beneath.
I have tested this in the flash itself ('test movie') and it seems to work fine.
I was wondering if there was a known bug that might be causing this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After altering all of my code and pasting Math.round() around every single x and y variable, I fixed some of it but not all.
In the end I managed to fix it by specifying 'cache as bitmap' for some of the graphics used.
Many thanks for your suggestion. I would have lost hours, maybe days, trying to figure this one out!