1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

ActionScripting Basics: Mouse.hide ( ) and Mouse.show ( )

By

Using ActionScripting, you can hide and then reveal the mouse cursor with a simple click or simply by loading your movie: Mouse.hide() ; and Mouse.show() ;. When the mouse is invisible, it’s still active; you can still point and click, but you can’t see exactly what you’re pointing at.

To demonstrate this, let’s create two simple buttons on a new stage, one that will hide the mouse, the other that will reveal it again.

©2014 About.com. All rights reserved.