Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-14-2012, 04:20 PM   PM User | #1
resin
Regular Coder

 
Join Date: Nov 2011
Posts: 142
Thanks: 5
Thanked 0 Times in 0 Posts
resin is an unknown quantity at this point
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?
resin is offline   Reply With Quote
Old 06-14-2012, 04:29 PM   PM User | #2
jimutt
New Coder

 
Join Date: Sep 2011
Posts: 47
Thanks: 1
Thanked 15 Times in 14 Posts
jimutt is an unknown quantity at this point
Can you please post the affected code?
jimutt is offline   Reply With Quote
Old 06-14-2012, 10:20 PM   PM User | #3
calsta
New Coder

 
Join Date: Apr 2012
Posts: 67
Thanks: 12
Thanked 1 Time in 1 Post
calsta is an unknown quantity at this point
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?
calsta is offline   Reply With Quote
Old 06-15-2012, 04:47 AM   PM User | #4
resin
Regular Coder

 
Join Date: Nov 2011
Posts: 142
Thanks: 5
Thanked 0 Times in 0 Posts
resin is an unknown quantity at this point
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.
resin is offline   Reply With Quote
Old 06-15-2012, 01:51 PM   PM User | #5
Will Bontrager
Regular Coder

 
Join Date: Jun 2012
Location: Near Chicago, USA
Posts: 123
Thanks: 7
Thanked 19 Times in 19 Posts
Will Bontrager is an unknown quantity at this point
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.
Quote:
<div style="cursor:default;">
<!-- flash code -->
</div>
Will
__________________
Numerology API for apps - Facebook, iPad, mobile phones. No charge to use API. [info]
Will Bontrager is offline   Reply With Quote
Old 06-16-2012, 04:53 AM   PM User | #6
resin
Regular Coder

 
Join Date: Nov 2011
Posts: 142
Thanks: 5
Thanked 0 Times in 0 Posts
resin is an unknown quantity at this point
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..
resin is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:45 PM.


Advertisement
Log in to turn off these ads.