Flash Vista - Главная страница
Новейший клёвый сайт
The Two Tales
О сайте | Архив
Главное меню
Главная страница
Новые ссылки
Лучшие ссылки
Популярные ссылки
Клёвые сайты
Поиск

Flash Tutorials
Flash Resources
Flash News
Flash Templates
Flash Intro Templates
Website Templates
Flash Games
Flash Books
FlashVista Polls
Карта сайта


Случайная ссылка
French
Citizen Shane
О сайте | Ещё ссылку !
FlashVista
Вход в систему
Регистрация
Подписка

Добавить ссылку
Изменить ссылку
Любимые ссылки
Предложить категорию

Advertise with us
Support us
Credits / Thanks
Contact

Flash Templates:

More Templates ...

Подписка Рассылок
Пользователь

Пароль



Регистрация
Забыли пароль ?
Partner websites
Free Hit Counter
Free Seo Tools
Free Tutorials
Free Video Tutorials
Forum signatures
Best Free Scripts
Wii Fit
Wii Fit News
Cool Tech Gadgets
Other Resources
Порекомендовать
Порекомендовать этот сайт другу


Подписка Рассылок
Статус: Не авторизирован

Русский English German French Spanish Italian Portuguese Russian Polish Finnish Dutch Swedish Thai Romanian Traditional Chinese Simplified Chinese
ПоискНе авторизирован
Запрос: Искать: Расширенный поиск


Custom Cursor in Flash


NEW Flash Tutorials in Video Format - Powered by LearnFlash.com: 45 minutes of flash tutorials now available in streaming format or download. Topics Include flash for beginners, text effects, actionscripting, audio/video, flash 8 and more.


Download the source file for this tutorial Printer version



by Oleg Lazarenko
www.metamorphozis.com

You want to create advanced presentation or shooter game? Need a cursor in the shape of target or you simply tired of dull default cursors? No problem! With this easy tutorial you will be able to change the cursor in your flash presentations to anything you want. If you experience some difficulties while reading this tutorial it is recommended to read all the previous tutorials on http://www.metamorphozis.com written by me as some aspects might be discussed earlier.

1. Launch Flash MX 2004

2. Create new Flash file. Click File > New...



3. Select Flash Document in a new window



4. Create 2 blank layers. Name them "Hide cursor" and "Custom Cursor".



5. Select the "Pen Tool" (picture 1). With this tool in the "Custom Cursor" layer create a shape, similar to the one you may see in the picture 2. This shape will be our future customized cursor.
Picture 1



Picture 2



6. Convert this shape to movie clip. Select this clip and add the following action script to the action panel:

onClipEvent (load) {
startDrag(this, true)
}


This code assigns the selected movie to the cursor



7. Select the "Hide Cursor" layer and add the action script code:

Mouse.hide();

This will hide regular cursor from the user's view.



Congratulations! Press "Ctrl+Enter" to test your movie. Thanks for reading!









About the Author: Oleg Lazarenko
Production manager of
Metamorphosis Website Design Studio -
Custom design, Website Templates,
Web design Articles and Tutorials.




(Добавлено: 03-09-2005, Посещения: 0, Рейтинг: 4.05, Голоса: 60, Комментарии: 12)
Добавить в Любимые ссылки Порекомендовать другу

Комментарии: (10)

when we right click on the hided mouse screen, the mouse pointer will appear again, wat to do to hide that also
(Добавлено: 01-24-2007 Пользователь: Гость)

The cursor flickers every time you change scene if you do it this way. It's not that great.
(Добавлено: 10-23-2006 Пользователь: Гость)

wonderful and clear description for a tutorial..really thanks..
(Добавлено: 09-21-2006 Пользователь: Гость)

Good Tutorial but would you be able to have something like this on an entire website?
(Добавлено: 09-06-2006 Пользователь: Гость)

wouldi be able to upload a mouse curson any one??

(Добавлено: 06-15-2006 Пользователь: Гость)

where do u people come up with this stuff!!! Thanks!
(Добавлено: 10-09-2005 Пользователь: Гость)

Very very easy most helpful tutorial I've seen on this sort of topic much appreciate the time you put into this simple but well explained tutorial :)
daZiiii_boi

(Добавлено: 10-08-2005 Пользователь: Гость)

This is great.
At least for me it worked..
I didn`t know the "mouse." thing....It's actualy cool.Thanks.

(Добавлено: 09-01-2005 Пользователь: Tiberiu )

Good tutorial, although I think that the registration point of the new cursor symbol should be in the top left corner, because else when you click your mouse, it won't register the click on the point of the arrow
(Добавлено: 07-28-2005 Пользователь: Гость)

I wonder what will happen if I right cilck.....hmm..i wonder...I know!!The whole effect will crash!
(Добавлено: 07-21-2005 Пользователь: Гость)


Добавить комментарий
Please note:
We review EVERY comment before it appears on the site, so please dont waste your time by posting spam links :)
No URLs allowed, no HTML please.

If you register or login first, your review will contain your nickname


Проголосовать



Великолепно!
Очень хорошо
Хорошо
Посредственно
Неудовлетворительно