?
Solved

Is "MC.useHandCursor = false;" Compatible with Flash Player 5?

Posted on 2003-11-03
6
Medium Priority
?
233 Views
Last Modified: 2010-05-18
I've hidden my hand cursor over a movieclip with:

MC.useHandCursor = false;

It's hidden in Flash 6 & 7, but not in Flash 5.  Is this not compatible with Flash 5?  Is there a way to hide my cursor in Flash 5?

Thanks,
Brandon
0
Comment
Question by:brandonlee
[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
  • 3
6 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 9680675
>Is this not compatible with Flash 5?

yes, it is not. it works from flash mx up...


>Is there a way to hide my cursor in Flash 5?

yes, simulate a button with a movieclip: http://www.actionscripts.org/showMovie.php?id=354
0
 

Author Comment

by:brandonlee
ID: 9681599
Excellent!  It's actually an invisible button inside a movie clip.  How would I modify to ignore rollover state of button and such?
Thanks!

//*** negatyve.com ***//

onClipEvent (load) {
      this.stop();
}
onClipEvent (mouseMove) {
      if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
            if (!sopra) {
                  sopra = true;
                  if (!premutoFuori && !premutoDentro) {
                        // on(rollOver)
                        this.gotoAndStop(2);
                        _parent.testo = "ROLL OVER";
                        //-------------
                  } else if (premutoDentro) {
                        // on(dragOver)
                        this.gotoAndStop(3);
                        _parent.testo = "DRAG OVER";
                        //-------------
                  }
            }
      } else {
            if (sopra) {
                  sopra = false;
                  if (!premutoFuori && !premutoDentro) {
                        // on(rollOut)
                        this.gotoAndStop(1);
                        _parent.testo = "ROLL OUT";
                        //------------
                  } else if (premutoDentro) {
                        // on(dragOut)
                        this.gotoAndStop(2);
                        _parent.testo = "DRAG OUT";
                        //------------
                  }
            }
      }
      updateAfterEvent();
}
onClipEvent (mouseDown) {
      if (sopra) {
            // on(press)
            this.gotoAndStop(3);
            _parent.testo = "PRESS";
            /*** DOUBLE CLICK ROUTINE ***

            if (getTimer()-click<300) {
                  // double click
                  _parent.testo = "PRESS DOUBLE CLICK";
            } else {
                  click = getTimer();
                  // single click
                  _parent.testo = "PRESS SINGLE CLICK";

            }***************************/
            premutoDentro = true;
      } else {
            premutoFuori = true;
      }
      updateAfterEvent();
}
onClipEvent (mouseUp) {
      if (premutoDentro && sopra) {
            // on(release)
            this.gotoAndStop(2);
            _parent.testo = "RELEASE";
            //------------
      } else if (premutoDentro && !sopra) {
            // on(releaseOutside)
            this.gotoAndStop(1);
            _parent.testo = "RELEASE OUTSIDE";
            //-------------------
      } else if (premutoFuori && sopra) {
            // on(rollOver)
            this.gotoAndStop(2);
            _parent.testo = "ROLL OVER";
            //-------------
      }
      premutoDentro = premutoFuori = false;
      updateAfterEvent();
}
0
 
LVL 27

Expert Comment

by:negatyve
ID: 9683011
>It's actually an invisible button inside a movie clip.  How would I modify to ignore rollover state of button and such?

there's no invisible button, it's just a movieclip. what do you want to ignore, besides rollover?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:brandonlee
ID: 9683504
Sorry.  What I meant was, I currently have an invisible button inside a movie clip with the HandCursor hidden.  In your script, you have different images which represent different states of the "button".  I don't need the different states, cause I want it to be invisible.

So, this works fine.

onClipEvent (load) {
     this.stop();
}
onClipEvent (mouseDown) {
         // on(release)
          MY ACTION;  
}

The only question is, how to make it invisible.
0
 

Author Comment

by:brandonlee
ID: 9683512
Nevermind.  I just create the movieclip, then set the alpha to 0%.

Make sense?

Thanks for your help!
0
 
LVL 27

Accepted Solution

by:
negatyve earned 400 total points
ID: 9683530
>Nevermind.  I just create the movieclip, then set the alpha to 0%.
>Make sense?

yes, absolutely..
0

Featured Post

Independent Software Vendors: 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 intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
Suggested Courses

800 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