How to change the cursor appearance with Actionscript.

Posted on 2006-04-01
Last Modified: 2011-09-20
Is there a way I can set the cursor to 'pointer' instead of 'hand' when I scroll over a specific button? Thanks in advance for your help.
Question by:skauty
    LVL 16

    Accepted Solution

    Give your button an instance name (i.e. myButton)

    On the main timeline:

    myButton.onRollOver = function () {
    useHandCursor = false;

    LVL 16

    Expert Comment

    Actually, you don't need the onRollever.  Just give your button an instance name (i.e. myButton) and add this to the main timeline:

    myButton.useHandCursor = false;

    LVL 1

    Expert Comment

    (InstanceName).useHandCursor = false;

    sam answer is gud ...


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    adobe reader 12 374
    3D rotation for a product 3 325
    Action Script commands 3 203
    how can flash builder 4.X version make use of java 8 5 154
    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now