Lost Password?


  #1 (permalink)  
Old 01-08-2007, 08:13 AM
ahsan16 ahsan16 is offline
Learning Programmer
 
Join Date: Jan 2007
Posts: 58
Credits: 4
Rep Power: 7
ahsan16 is on a distinguished road
Default Creating a Custom Cursor

# Create a Movieclip for the custom cursor, say a small circle and name the instance say, 'cust_cursor'. The instance name of a symbol is used to control it using Actionscript commands (Refer Advanced Masking for this example).
# Select the Movieclip instance 'cust_cursor' on the stage and reduce the Alpha value to 40 and write the following Actionscript code for it as given below:
Code:
onClipEvent(load)
{
Mouse.hide();
this.startDrag();
}
# The 'hide' method of the predefined object 'Mouse' is used to hide the standard cursor. The keyword 'this' is used to reference the Movieclip instance 'cust_cursor'.
# We use the 'startDrag' action of the Movieclip to use the movieclip as a custom cursor.
# The Custom Cursor Movieclip can also be Animated and used as a Mask as shown in the example below.
# Save your work and test the Movie (Ctrl + Enter). That's it you have learnt how to create a movieclip as a custom cursor in Flash.

Last edited by John; 01-08-2007 at 01:39 PM. Reason: When posting code please use code tags. There are PHP, HTML and CODE tags that can be used while posting code segments.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-08-2007, 08:58 PM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Credits: 10
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

Let me get this,
If we used this movie clip anywhere in a web-page

Q. Whether only the place where the movie clip is located, have the custom cursor or The whole page might have the custom cursor ?

As the topic is Custom cursors, I think custom cursors for websites won't go Off topic as I have found some ... cursors work in IE6+
Custom Cursors
Try these.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-13-2007, 06:03 PM
clookid's Avatar   
clookid clookid is offline
Programmer
 
Join Date: Jan 2007
Posts: 148
Credits: 0
Rep Power: 7
clookid is on a distinguished road
Default

This tutorial looks a little to complicated for me!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an image viewer in Visual Basic blueparukia Visual Basic Programming 4 09-10-2007 03:00 AM
Custom Control McMillan0520 C# Programming 0 08-08-2007 11:12 AM
Creating a Custom File Type...Need Help deusprogrammer C and C++ 2 03-13-2007 03:41 AM
Creating an analog clock with ActionScript AfTriX Tutorials 2 01-07-2007 03:19 AM
Creating a Clock AfTriX VB Tutorials 0 01-04-2007 02:53 AM


All times are GMT -5. The time now is 08:53 AM.

Contest Stats

WingedPanther ........ 2656.49
Xav ........ 2581.51
Brandon W ........ 1698.26
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 380.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads