Changing the Cursor 2004-03-02 - By Brook Davies
Back 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)
|
|