Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Changing the Cursor

Changing the Cursor

2004-03-02       - By Jesse Warden

 Back
Reply:     1     2     3     4     5     6  

Actually, Ted claims that both onEnterFrame and the interval are not the
best solution, and you should intead just do the onMouseMove.

My website is shaky until I reinstall MT, but:

http://www.jessewarden.com/archives/000468.html

-- --Original Message-- --
From: Brook Davies [mailto:blists@(protected)]
Sent: Tuesday, March 02, 2004 11:36 AM
To: flashnewbie@(protected)
Subject: RE: [Flashnewbie] Changing the Cursor


I'm not sure I understand the use of the 2 event handlers at the same time.
Are they intended to both be used at the same time? And the
setInterval(this, "p", 0); shown below. Where is that cleared? Would that
just run forever?

Brook

At 05:39 AM 3/2/2004, you wrote:

>Drag, like Helmut showed, will work too.
>
>However, as far as unresponsive, no.  The smoothest mouse cursor
>possible
>is:
>
>function p(){
>         cursor_mc._x = _level0._xmouse;
>         cursor_mc._y = _level0._ymouse;
>}
>
>onMouseMove = p;
>
>setInterval(this, "p", 0);
>
>onEnterFrame = p;
>
>However, if Flash is busy, it won't update the screen, even at higher
>framerates.  Your best bet is to use an adjustable interval, but only
>created by onMouseMove.  That way, you only fire onMouseMove once, and
>the interval will check to see if the mouse is still moving.  
>Otherwise, kill the interval.
>
>For games, I understand this isn't really realistic, so the only
>suggestion is lower your resolution of your Flash.
>
>-- --Original Message-- --
>From: Brook Davies [mailto:blists@(protected)]
>Sent: Monday, March 01, 2004 08:51 PM
>To: flashnewbie@(protected)
>Subject: [Flashnewbie] Changing the Cursor
>
>
>Hi,
>
>I've tried using a script to change the cursor by setting  a mc at the
>mouse x/y and hiding the mouse pointer. Is this the only way to do it?
>Problem is, that when the flash player is busy the new mouse cursor is
>very unresponsive and moves slowly. Any way around this?
>
>Brook
>
>
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>Supported by Fig Leaf Software
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>Lower Prices for Certified Training! Check out new lower prices for
>Certified Macromedia Training from Fig Leaf Software. Expand your skill
>set with courses in ColdFusion, Flash, Rich Internet Applications and
>.NET in the new year.  Fig Leaf Software provides the highest caliber
>instruction at our training centers in Washington D.C., Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>
>Get the details at http://training.figleaf.com/
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
>For additional commands, e-mail: flashnewbie-help@(protected)
>
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>Supported by Fig Leaf Software
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>Lower Prices for Certified Training! Check out new lower prices for
>Certified Macromedia Training from Fig Leaf Software. Expand your skill
>set with courses in ColdFusion, Flash, Rich Internet Applications and
>.NET in the new year.  Fig Leaf Software provides the highest caliber
>instruction at our training centers in Washington D.C., Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>
>Get the details at http://training.figleaf.com/
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
>For additional commands, e-mail: flashnewbie-help@(protected)



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your skill set
with courses in ColdFusion, Flash, Rich Internet Applications and .NET in
the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your
location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
For additional commands, e-mail: flashnewbie-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your
skill set with courses in ColdFusion, Flash, Rich Internet
Applications and .NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
your location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
For additional commands, e-mail: flashnewbie-help@(protected)