Flash Vista - 主页
本周的热门 Flash 网站
The Two Tales
Site info | 档案文件
主项
主页
新进网站链接
优良评选网站
热门网站
编辑推荐
查找

Flash Tutorials
Flash Resources
FlashVista 新闻
Flash Templates
Flash Intro Templates
Website Templates
Flash Games
Flash Books
FlashVista 票选
本站图


无故定网站连结
English
Plexus Studio
Site info | 找寻另一个
FlashVista
登录
注册注册
订阅电子报

新建网站链接
编修网站链接
个人喜好网站
建议新分类

打广告
支持
致谢
联落 F

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
推荐
推荐本站给朋友


电子报
状态: 尚未登录

Simplified Chinese 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


评分



很棒!
非常好