...

View Full Version : cursor help?



resin
06-14-2012, 04:20 PM
How can you change the cursor icon when mousing over a Flash object? For example, if I wanted the cursor to stay on the arrow icon, instead of switching to the hand, which it does by default? The cursor property doesn't seem to work for that?

jimutt
06-14-2012, 04:29 PM
Can you please post the affected code?

calsta
06-14-2012, 10:20 PM
What you should be able to do is instead of doing it over the flash object do it over a certain region which covers the flash object, that would work but it may not work 100% how you want it to depending upon the object

How can you change the cursor icon when mousing over a Flash object? For example, if I wanted the cursor to stay on the arrow icon, instead of switching to the hand, which it does by default? The cursor property doesn't seem to work for that?

resin
06-15-2012, 04:47 AM
But if I cover the flash object, with say an invisible div, which I assume is what you're referring to, then you won't be able to access the clickable areas of the flash object. The flash object I'm curently trying to do this for is a simple play/pause music button, but I'm pretty sure that the cursor behaves this way for any flash object. I suspect there might be a way to change cursor from within the actual flash editor program, but I'd rather do it through css or javascript if possible.

Will Bontrager
06-15-2012, 01:51 PM
But if I cover the flash object, with say an invisible div, which I assume is what you're referring to, then you won't be able to access the clickable areas of the flash object. The flash object I'm curently trying to do this for is a simple play/pause music button, but I'm pretty sure that the cursor behaves this way for any flash object. I suspect there might be a way to change cursor from within the actual flash editor program, but I'd rather do it through css or javascript if possible.

One way to find out with certainty whether or not it will work is to give it a try. Something like this, perhaps.
<div style="cursor:default;">
<!-- flash code -->
</div>Will

resin
06-16-2012, 04:53 AM
I did try this, and also tried adding the cursor property directly to the object tag but no luck. I've been reading around more and it seems there no way to change the cursor for flash objects, at least via css or javascript. Apparently it can be done from within the actual Flash editor program, but I'd have to look more into that. But it does seem surprising that there's no way to do it with CSS or JavaScript..



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum