1. Home
  2. Computing & Technology
  3. Animation

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

By Adrien-Luc Sanders, About.com

1 of 5

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.

Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. ActionScripting Basics: Mouse.hide ( ) and Mouse.show ( )

©2009 About.com, a part of The New York Times Company.

All rights reserved.