Re: [Flashcoders] a real custom cursor
what kind of update method are you using. If the mouse is lagging, perhaps set up a hyper update function. (hyper in the sense that it updates like twice a frame?) other than that, not sure. This is the only method I've used/found as well. On Tue, Jul 28, 2009 at 12:09 PM, Andrew Sinning wrote: > Does AS3 support real custom cursors? The only solution that I've found is > to hide the cursor and to have a sprite follow the mousex/y around, but it > feels like the mouse is sticking when it doesn't refresh a quickly as one > would like. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] a real custom cursor
Thanks Eric. I'll try updateAfterEvent. Hopefully that will solve the "sticking" problem. Eric E. Dolecki wrote: You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on your mouseMove event handler. Should work fine. I've swapped cursors using java and Flash talking to it (and controlled the cursor position that way as well)... but that was for a standalone special-case use. I am sure you're not after that kind of thing. Eric On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning wrote: Does AS3 support real custom cursors? The only solution that I've found is to hide the cursor and to have a sprite follow the mousex/y around, but it feels like the mouse is sticking when it doesn't refresh a quickly as one would like. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] a real custom cursor
If you are replying to me for the cursor thing and Java, I was controlling the position and I believe I changed the cursor to another type that was already available in the OS. It was so long ago, but I don't think I was able to change the OS cursor to something not already available to it. On Tue, Jul 28, 2009 at 3:49 PM, Karl DeSaulniers wrote: > Does your sprite image have to be converted into an icon to do this? Or > what is the max size that image can be? I have had to abandon my custom > cursor because it laggs when switching with the mouse. > > Karl > > Sent from losPhone > > > On Jul 28, 2009, at 2:35 PM, "Eric E. Dolecki" wrote: > > You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on >> your mouseMove event handler. Should work fine. >> I've swapped cursors using java and Flash talking to it (and controlled >> the >> cursor position that way as well)... but that was for a standalone >> special-case use. I am sure you're not after that kind of thing. >> >> Eric >> >> On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning > >wrote: >> >> Does AS3 support real custom cursors? The only solution that I've found >>> is >>> to hide the cursor and to have a sprite follow the mousex/y around, but >>> it >>> feels like the mouse is sticking when it doesn't refresh a quickly as one >>> would like. >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >> >> >> -- >> http://ericd.net >> Interactive design and development >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] a real custom cursor
Does your sprite image have to be converted into an icon to do this? Or what is the max size that image can be? I have had to abandon my custom cursor because it laggs when switching with the mouse. Karl Sent from losPhone On Jul 28, 2009, at 2:35 PM, "Eric E. Dolecki" wrote: You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on your mouseMove event handler. Should work fine. I've swapped cursors using java and Flash talking to it (and controlled the cursor position that way as well)... but that was for a standalone special-case use. I am sure you're not after that kind of thing. Eric On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning >wrote: Does AS3 support real custom cursors? The only solution that I've found is to hide the cursor and to have a sprite follow the mousex/y around, but it feels like the mouse is sticking when it doesn't refresh a quickly as one would like. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] a real custom cursor
You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on your mouseMove event handler. Should work fine. I've swapped cursors using java and Flash talking to it (and controlled the cursor position that way as well)... but that was for a standalone special-case use. I am sure you're not after that kind of thing. Eric On Tue, Jul 28, 2009 at 3:09 PM, Andrew Sinning wrote: > Does AS3 support real custom cursors? The only solution that I've found is > to hide the cursor and to have a sprite follow the mousex/y around, but it > feels like the mouse is sticking when it doesn't refresh a quickly as one > would like. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] a real custom cursor
Nope - not that I am aware of. The technique you described is the one I have used and haven't heard of any other options. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Tuesday, July 28, 2009 3:10 PM To: Flash Coders Subject: [Flashcoders] a real custom cursor Does AS3 support real custom cursors? The only solution that I've found is to hide the cursor and to have a sprite follow the mousex/y around, but it feels like the mouse is sticking when it doesn't refresh a quickly as one would like. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] a real custom cursor
Does AS3 support real custom cursors? The only solution that I've found is to hide the cursor and to have a sprite follow the mousex/y around, but it feels like the mouse is sticking when it doesn't refresh a quickly as one would like. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders