1. Home
  2. Computing & Technology
  3. Animation

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

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.