Change mouse cursor

 

The purpose is to show how to change mouse cursor on the fly.
The trick is to associate a dragable image to the hidden mouse.
I suppose you know well how to create objects, thus I wont insist on.

⇒ animation ⇐

Download cursors. 

Creating Objects

1 - Set up movie size 160x120 , background color #FFFFFF.
Any Frame Rate 'll fit.

2 - Place 2 cursors : rotx and roty for instance. Menu Insert / Image.

3 - Place 2 buttons : Button1 and Button2 for instance.

Scripts

In Outline, select the scene, do it in Expert Mode. Enter the following script :

In Outline, select Bouton1. Enter the following script :

In Outline, select Bouton2. Enter the following script :

So easy, huh ?

 


Si vous aimez le site

 

Select a language if you need :


Page chargée en 0.022 sec.

Dernière Modification : Mer 25 Janvier 2017 8:56
Copyright © 1999-2017 Jean-Paul Molina Tous droits réservés.

to Google