Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting cursor to be a hand over a Flash screen

Posted on 2011-03-06
5
Medium Priority
?
548 Views
Last Modified: 2012-05-11
I've made a .swf in my HTML clickable by adding

                  onclick="window.location.href='authors.html'"

to either the outside object tag or to the div that contains the object tags. But I can't make the cursor turn to a hand when it rolls over the flash screen, using cursor:pointer; for the div or for the object.  When I give the containing div cursor:pointer; and the div is bigger than the Flash screen, the cursor is a pointer in the div area until the cursor moves over the Flash area and then it turns back to an ordinary arrow.

How can I keep the cursor a hand over the Flash area, to show that it's clickable?

Thanks for any ideas.
0
Comment
Question by:steva
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:sjklein42
ID: 35047073
It is up to the FLASH application to control the shape of cursor when it is over the FLASH window.  As far as I know, you cannot set the cursor from javascript, only from the FLASH code.

Is the FLASH code yours to change, or do you need to live with what you have?
0
 

Author Comment

by:steva
ID: 35047239
It would be mine.  
0
 
LVL 16

Accepted Solution

by:
sjklein42 earned 2000 total points
ID: 35047280
In Actionscript3:

myMc.buttonMode = true;
myMc.useHandCursor = true;

Open in new window


http://codingrecipes.com/cursor-hand-when-mouse-over-images-actionscript-3-flash

also, for some discussion about the difference between AS3 and AS2:

http://www.kirupa.com/forum/showthread.php?t=291354
0
 

Author Closing Comment

by:steva
ID: 35047903
Great!  Thanks.  I gave you the points.
0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35047927
Thanks.  Good luck with your project.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question