Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: cursor help?

  1. #1
    Regular Coder
    Join Date
    Nov 2011
    Posts
    154
    Thanks
    5
    Thanked 0 Times in 0 Posts

    cursor help?

    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?

  • #2
    New Coder
    Join Date
    Sep 2011
    Posts
    47
    Thanks
    1
    Thanked 15 Times in 14 Posts
    Can you please post the affected code?

  • #3
    New Coder
    Join Date
    Apr 2012
    Posts
    67
    Thanks
    12
    Thanked 1 Time in 1 Post
    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
    Quote Originally Posted by resin View Post
    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?

  • #4
    Regular Coder
    Join Date
    Nov 2011
    Posts
    154
    Thanks
    5
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Regular Coder
    Join Date
    Jun 2012
    Location
    Near Chicago, USA
    Posts
    123
    Thanks
    7
    Thanked 19 Times in 19 Posts
    Quote Originally Posted by resin View Post
    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
    Numerology API for apps - Facebook, iPad, mobile phones. No charge to use API. [info]

  • #6
    Regular Coder
    Join Date
    Nov 2011
    Posts
    154
    Thanks
    5
    Thanked 0 Times in 0 Posts
    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..


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •