I've managed to fix this now - as is always the way with these things you
struggle with it for 3 days, post to the list then work it out yourself!

The problem was that the shape x coordinate was at 495.5 so I Math.floor ed
it
The parent was also at a non-integer x position so I still had the problem.

basically the shape you are rendering to needs to have integers for it's
stage based x and y coordinates.

Hope that helps someone else with the same problem.

Giles

On Jan 15, 2008 10:10 AM, Giles Roadnight <[EMAIL PROTECTED]> wrote:

>   Hi All
>
> I am using a book component that you can turn the pages of ect.
>
> It's working fine except for one really annoying bug.
>
> When I mouse over the corner of the page it starts to draw the flipped
> page. To do this it caches the bitmap data for the front and back of
> the page that is being flipped and then draws it onto a shape's
> graphics object using bitmap fill.
>
> The image that is drawn is ever so slightly blurry and moves about 1
> pixel away from the page it replaces.
>
> I have checked that the render object is in the same place as the
> page, that the graphics object is being drawn at the correct
> coordinates and that the bitmap data is ok. If I draw it to a shape
> attached to Applciation.application it comes out fine. If I draw it to
> the internal render object or to a new shape that I added myself they
> are both blurry.
>
> Any suggestions?
>
> Thanks
>
>  
>



-- 
Giles Roadnight
http://giles.roadnight.name

Reply via email to