Go Back   SitePoint Forums > Forum Index > Design Your Site > Flash and Actionscript
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Sep 25, 2003, 10:38   #1
ArticleBot
SitePoint Articles
 
ArticleBot's Avatar
 
Join Date: Apr 2001
Posts: 0
Discussion thread for Flash Script - Hide and Change Cursor Appearance

This is a dedicated thread for discussing the SitePoint article 'Flash Script - Hide and Change Cursor Appearance'
ArticleBot is offline   Reply With Quote
Old Sep 25, 2003, 10:38   #2
Anonymous
SitePoint Community Guest
 
Posts: n/a
is there a way to make your cursor, when you click your mouse, that it will play an aciton, like say striking a match, and moving the flame to a fuse?
  Reply With Quote
Old Nov 14, 2003, 19:18   #3
Anonymous
SitePoint Community Guest
 
Posts: n/a
This script is outdated in the later versions of flash the Action Script for hide mouse is now "Mouse.hide()"
  Reply With Quote
Old Sep 28, 2004, 22:26   #4
Jude Sauer
SitePoint Community Guest
 
Posts: n/a
Also, if you want your cursor to follow your mouse off the page you could try this:

// 1. Make a movie clip instance.
// 2. Copy the script below to the
// default layer keyframe.
// 3. Where it says "instanceName"
// in the code below
// put your new instance's name.
// Thats it!!

Mouse.hide()
setInterval(loop,1)
function loop () {
instanceName._x=_xmouse;
instanceName._y=_ymouse;
}
  Reply With Quote
Old Oct 21, 2005, 09:12   #5
Velu
SitePoint Community Guest
 
Posts: n/a
Hi,

I'm in need of flash script to change the mouse cursor on clicking the button , and i need the script for searching an object
  Reply With Quote
Old Mar 22, 2006, 10:33   #6
Alan Leung
SitePoint Community Guest
 
Posts: n/a
How do I get my movie clip CENTERED on the mouse istead of just the top left corner being on it?
  Reply With Quote
Old Jul 14, 2006, 19:57   #7
limit0.com
SitePoint Community Guest
 
Posts: n/a
You need to edit the individual movie clip and make sure that plus sign is in the center. The default is the top left. <a href="http://www.limit0.com">Limit Zero</a>
  Reply With Quote
Old Dec 9, 2006, 03:32   #8
Anonymous
SitePoint Community Guest
 
Posts: n/a
i want to change cursor when it comes on a button
  Reply With Quote
Old Dec 9, 2006, 09:43   #9
RonnieFizz
SitePoint Addict
 
RonnieFizz's Avatar
 
Join Date: Nov 2005
Posts: 344
Do you guys think that is possible just via javascript!
RonnieFizz is offline   Reply With Quote
Old Dec 12, 2006, 12:28   #10
Evgon
SitePoint Community Guest
 
Posts: n/a
This is great but as limit0 said the default is top left, make sure you center it. Anonymous I'm not sure how you can do that (never tried) but I'm guessing use a hover function and make the movie clip switch to frame 2 which will have the image you want.
  Reply With Quote
Old Jul 19, 2007, 15:48   #11
Anonymous
SitePoint Community Guest
 
Posts: n/a
mouse.hide(); does not work in Flash 8, the "m" needs to be capitalized: Mouse.hide();
  Reply With Quote
Old Nov 9, 2007, 02:34   #12
OSR
SitePoint Community Guest
 
Posts: n/a
mouse.hide(); must be > Mouse.hide();

in order to work
  Reply With Quote
Old Dec 24, 2008, 13:03   #13
Anonymous
SitePoint Community Guest
 
Posts: n/a
It isn't hiding the mouse for me.
  Reply With Quote
Old Feb 5, 2009, 09:48   #14
Anonymous
SitePoint Community Guest
 
Posts: n/a
What about after the user right clicks. How can you re-disappear it?
  Reply With Quote
Old Feb 11, 2009, 06:23   #15
zealus
SitePoint Zealot
 
zealus's Avatar
 
Join Date: Jan 2004
Location: NY
Posts: 130
Last Adobe's update:
http://livedocs.adobe.com/flex/2/lan.../ui/Mouse.html
zealus is offline   Reply With Quote
Old May 3, 2009, 09:00   #16
Anonymous
SitePoint Community Guest
 
Posts: n/a
Posted by: Anonymous Dec 24th, 2008 @ 3:03 PM EST "It isn't hiding the mouse for me."

Use Mouse.hide() instead of mouse.hide()
  Reply With Quote
Old Jun 10, 2009, 17:07   #17
James
SitePoint Community Guest
 
Posts: n/a
You need to put a capital on mouse (in mouse.hide();)It needs to be Mouse.hide();.
  Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
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
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 10:55.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved