Oh cool, I didn't know about that method.
Yeah, that did it. Thank goodness there was a trivial solution to this
problem :)

But it's strange that these sorts of problems happen... I was sure flash
would only update the screen during the next frame redraw step... it seems
like moving stuff on a MouseEvent and not on an EnterFrame event would mess
things up somehow and the player wouldn't know which dirty regions to
repaint.

Thank you very much for the help.

On 5/24/07, Muzak <[EMAIL PROTECTED]> wrote:

Have you tried updateAfterEvent() ?
http://livedocs.adobe.com/flash/9.0/main/00001233.html

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.html#updateAfterEvent()

regards,
Muzak

----- Original Message -----
From: "Frederico Ferro Schuh" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, May 24, 2007 5:30 PM
Subject: [Flashcoders] Custom cursor leaves artifacts on the screen


> Hello coders,
>
> I've been having a problem with custom cursors in AS3, where it
sometimes
> leaves dirt on the screen, as if it hadn't been repainted on the region
> where the cursor just passed. It's also noticeable that the cursor's
shape
> gets cut off while it moves, like some kind of tearing.
>
> The cursor is a simple MovieClip added to the stage, and the mouse
cursor is
> hidden, though this doesn't seem to have anything to do with the problem
> itself.
> Has anyone come by a similar problem?
>
> Thanks.
>
> --
> Frederico Ferro Schuh


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Frederico Ferro Schuh
ICQ 20486081
MSN [EMAIL PROTECTED]
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to