Tuesday, September 15, 2009

Create invisible button without handcursor in flash

Step 1 :-

At first I draw a rectangular which is our invisible button. Select rectangular then

press F8. In the Convert to Symbol dialog box, enter a name (button) for the button symbol, and clik ok.

Open the button and move up frames to hit frame like that:



Step 2 : -

Then go to scene1 and select button laters and type in frame lael(button) like that:



Step 3 : - On the first keyframe press F9 and write these two lines:

button.useHandCursor = false;

button._visible = false;




Step 4 : -

Insert a picture and keep in lower layer.

Finally, Press Ctrl+Enter and see magic like that:-

Move your cursor but don’t show handcursor.





Otherwise it shows hand cursor when moves cursor.



No comments:

Post a Comment