Accessibility

TechNote (Archived)

SimpleButton instances leave rendering artifacts when moved

Issue


Sometimes SimpleButton instances, though removed from the display or moved from their original positions, can leave rendering artifacts behind (in the original locations).

Reason


This happens when the display object used for the currently visible SimpleButton state is also used for the hitTestState. Flash Player 9 is unable to determine the redraw areas occupied by the SimpleButton instance if it is moved.

Solution


Always use separate display objects for each SimpleButton state and do not reuse display objects for different states. That way Flash will always be able to correctly identify the redraw area of the SimpleButton instance and not leave artifacts on screen if moved.

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:50b3919c
OS:HP-UX
Linux
Mac OS (All)
Solaris
UNIX
Windows (All)
AIX
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox

Products Affected:

flash
flashplayer