Flash Vista - 首頁
Newest Cool Site
The Two Tales
Site info | Archive
Main Navigation
首頁
新進網站連結
優良評選網站
熱門網站
編輯推薦
搜尋

Flash Tutorials
Flash Resources
Flash News
Flash Templates
Flash Intro Templates
Website Templates
Flash Games
Flash Books
FlashVista Polls
Sitemap


Random Link
English
Motiongraphiks
Site info | Get another
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
推薦
推薦本站給朋友


電子報
狀態: 尚未登入

Traditional 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, 評比積分: 3.95, 票數: 62, 評論篇數: 12)
新增至個人喜好 Suggest to a Friend

評論篇數: (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


評分



很棒!
非常好