How To Make Flash Cursors

Table of contents:

How To Make Flash Cursors
How To Make Flash Cursors

Video: How To Make Flash Cursors

Video: How To Make Flash Cursors
Video: How to make custom cursors in flash 2024, December
Anonim

Sometimes, when browsing sites on the Internet, you can notice that the appearance of the cursor changes. Such cursors can be created using flash editors yourself. Then its appearance will change when it hits your page.

How to make flash cursors
How to make flash cursors

Necessary

  • - computer;
  • - skills in working with flash editors.

Instructions

Step 1

Launch Flash MX to start creating your own cursor in Flash. Next, create a new clip using the Crtl + F8 key combination or the corresponding command in the File menu. Next, draw your own Flash cursor. Move to the main stage, add a clip from the library.

Step 2

Click on this clip, press the keyboard shortcut Ctrl + I. In the Instance panel that opens, enter the Kursor option in the Name field. Step 2 Add the following script to this movie clip: onClipEvent (load) {Mouse.hide ("This line is for hiding the cursor"); startDrag (kursor, true) (This line attaches our flash cursor to the hidden mouse cursor.”Press Crtl + Enter to see if you were able to create a flash cursor.

Step 3

Import the image for the cursor by pressing the Ctrl + R keys, for example, a triangle. Select the imported image to make a flash cursor from the image and press F8.

Step 4

Move the Registration point to the left and up. Write cursor_mc for the name. Next add a new layer, click on the F9 button. Set the point to the left and up. View the result using the Crtl + Enter key combination.

Step 5

Make a loop for the flash cursor. To do this, open the library using the key combination Ctrl + L, right-click on the cursor. Then select Linkage from the context menu. Check the box in the Export for ActionScript command. Next, go to the Identifier line and enter Cursor.

Step 6

Next, add the script located at https://halyal.com/publ/2-1-0-53 to the existing code. Save your changes. The source for creating your own cursor in Flash can be downloaded from the following link https://halyal.com/Flash_uroki/cursor_as_3/CursorAS3.rar. To attach the cursor to a web page, write the path to it in the stylesheet.

Recommended: