Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Mouse Hide Or Not To Hide? That Is The Question



Hello again,

Pls could you tell me if there is anyway of controlling the coordinates of the mouse hide feature.

For example if i wanted it to confine to a certain area then reapear outside that area, how can it be done?

I thank you all big time



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-21-2001, 10:46 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Mouse.hide Doesn't Hide Mouse
I am developing for a touchscreen and trying to hide the mouse cursor - completely.

But mouse.hide is not doing it's job.

I am trying to go to the Flash 5 standalone player format.

I created an actions layer in the main movie and just inserted the mouse.hide command into it but, alas, there is no hiding going on.

The windows cursors (win98) have all been given a blank icon

Which leaves flash only displaying a cursor (that stupid finger) when a button is pressed - the finger pops up and then instantly dissapears

But its ugly, and unnecessary for Touch Screen navigation

if anyone has any suggestions . . .

Hide Mouse?
Hi everyone,

I'm making an interactive flashbanner and i'm having problems with the cursor.

I want the cursor to be a crosshair when it's in the flash area.
No problems so far, but when I move my cursor out of the flasharea into the html, the mouse is still hidden!!!



Can anyone tell me how to solve this problem?

Thx a lot

Help With Hide Mouse
i would like only to hide the mouse within a certain area of the movie, not all of it. how?

thanks

Mouse.hide()
I'm tryin to lock a graphic to the mouse and hide it. Thus makin the graphic the mouse...but when I click a button...the graphic stop's in that clicked spot?
ANyone know why?..and how to keep it locked after click.

Hide Mouse?
i'm having a problem with mouse.hide() in flash mx... the mouse won't hide!..

Mouse Hide Etc.
i have a crosshair(movieclip) which i want to replace the cursor with. what's the code for that? i have some idea of it (this=x_,y_) it's supposed to be something like that, right? but i don't know the exact code for it. and also the moushide thing? i mean, i don't want the default cursor to be visible.

simple things are hard to newbies.

/bensa

Mouse.hide
hi everyone
i have a little problem and i'd like that u help me.
my problem is about Mouse.hide action:
we all know that mouse.hide makes the cursor invisble, but i want to make tha cursor invisble in a precised place not in all the animation areas. to make things clearer, lets say that we have a circle, so i want the cursor to be visble out of the circle, but in the circle i want it to be invisble.
i hope u help me
thanks in advance

Hide Mouse
Is there a way that i can detect if the mouse hasn't moved for say 3 seconds and then hide it. Then when it moves again make it show again like windows media player and some of the other video players do it when it is in full screen?
This one doesn't need to work only for full screen. It can work whenever.

Mouse.hide...
Hi guys..

A little problem occured... I've made a swf file to hide the mouse in a order to show the custom mouse.. the problem is..

If you leave the swf file(which is on my website), still the mouse remaining hidden.. which is sux..

Is there any way to make a cure for this problem?

(if the mouse is OUTSIDE of SWF then SHOW..?)





thanx..

-GM

Mouse.hide() Bug
Hi, was making a game and discover this issue.

When u use Mouse.hide(), it hide the cursor right? But when u right click on the flash movie, the mouse appear and STAY there again. Bug huh?


Chup

Hide Mouse
how can i hide the mouse and replace it with a MC i made?

Mouse.hide();
If this hides the mouse pointer and replaces it with a MC that drags around.code:
onClipEvent (load)
{
Mouse.hide();
startDrag (this, true);
Is there a way I could then hide the MC (or stop it moving) and bring back the mouse pointer. I tried this AS on the MC. It brought the mouse pointer back but didn't hide or stop the MC from dragging around.
code: on (release){
Mouse.show();
startDrag (this, false);
}

Mouse Hide
Could someone have a quick look at my project file and see why the mouse hide is not hiding the cursor. Its quite important as otherwise it would reveal the answers to the game (not that its hard in the first place)

Many Thanks
Foo

Hide Mouse?
Hello!

Im wondering if its possible to hide the mouse-arrow, in a flash site/animation, and instead use/see a mouse-arrow, that ive created?

If thats possible .. Could some kind soul, tell me how its done?


PS; I know how to do an object that is where the mouse-arrow is.

Mouse Hide And Something Else..
Wat is the code to hide the mouse...and how do you replace it with ur own cursor...and when u click something how could u make a bullet whole appear?

Hide Mouse ?
i create a rollover action in button...
-------------------------------------------
on (rollOver) {
_root.aboutMe._alpha = 100;
startDrag(_root.aboutMe, true);
}
on (rollOut) {
_root.aboutMe._alpha = 0;
}
---------------------------------------------
ya! but now i want that mouse hide in RollOver and show in RollOut for dont show together the image (aboutMe)
the command is mouse.hide(true) ? mouse.show(true) or mouse.hide(false)

plix help Me....

Mouse.hide();
hi,
i want to hide my mouse and instesd of the mouse i want to wse a movie clip that i created.
how do i attach it?

Mouse Hide....
if you only want your mouse to be hid in a certain area in the movie, how would you go about doing so? thanks, if more explination is nessassary just let me know.

=ryan=

Hide Mouse?
Hello!

Im wondering if its possible to hide the mouse-arrow, in a flash site/animation, and instead use/see a mouse-arrow, that ive created?

If thats possible .. Could some kind soul, tell me how its done?


PS; I know how to do an object that is where the mouse-arrow is.

Mouse Hide And Something Else..
Wat is the code to hide the mouse...and how do you replace it with ur own cursor...and when u click something how could u make a bullet whole appear?

Hide Mouse ?
i create a rollover action in button...
-------------------------------------------
on (rollOver) {
_root.aboutMe._alpha = 100;
startDrag(_root.aboutMe, true);
}
on (rollOut) {
_root.aboutMe._alpha = 0;
}
---------------------------------------------
ya! but now i want that mouse hide in RollOver and show in RollOut for dont show together the image (aboutMe)
the command is mouse.hide(true) ? mouse.show(true) or mouse.hide(false)

plix help Me....

Mouse.hide
I posted this in newbie shock but I'm not getting any answers, so forgive me if this is out of place. I'm trying to hide the mouse in the lower half of a scene, and show it in the upper half. My scene is 160 pixels. my code is this.





//this hides the mouse
if (_ymouse > 80)
{
Mouse.hide()

}
else
{
Mouse.show()
}

//this turns the symbol into a mask.
xray_mc.setMask(masker_mc)

//this tells the symbol to follow the mouse by tracking its coordinates.
masker_mc.onEnterFrame = function()
{
this._x = _xmouse;
this._y = _ymouse;
}


My problem is that the mouse is either hidden all the time or shown all the time, depending on what value I assign to the if condition. Can anyone tell me what I'm doing wrong?

Hide Mouse
How do I hide the mouse when it is over a flash animation? Also, How do I make it appear again at a certain frame?

Mouse.hide(); Does Not Work - Mouse Cursor Is Still Shown
why mouse cursor does not hide ?
the mc cursor to replace mouse cursor is shown together with it;
what´s wrong?
thanks



Quote:




onLoad = function () {
Mouse.hide();
cursor.swapDepths(200);
};

onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};

onUnload = function () {
Mouse.show();
};

Hide Mouse, But How Make Your Own ?
Several times you see sites and ads where the windows cursor is replaced by an other cursor.
but how ?
I know that at the first frame you should put this code:
Mouse.hide ();
but that only makes it disappear, how do i put the cursor i want ?
thx for reading and keep flashing !

Hide And Show Mouse?
I have a movie with some buttons in it. When the mouse i over a button I want the cursor to hide and change. I've solved that. But how do I do to show the cursor when the mouse rolls out?
I've done it like this:
In the button I've put a MC in the "Down" frame and that MC has this code in it:
onClipEvent (load) {
Mouse.hide();
this.startDrag(true);
updateAfterEvent();
}
When I move around the cursor I can't see any cursor now! How do I do to show the cursor? And where should I put the script?

How Do I Hide The Mouse Pointer?
How do I hide (turn off) the mouse pointer in flash4? Anyone know?

Hide Mouse > Mac >help Needed
hi all:

i've got a problem with the flash 5 command "hide mouse". it works if i open the final sfw directly in the flash player, but it wont work within a html-site.

anybody has an idea why?

On Mouse Over, Hide 2nd Button?
I have a toggle switch (3 positions). It has a RED position, a GREEN position, and it's default position is WHITE.

Follow so far?

Depending on mouse placement, the RED or the GREEN position is activated. Red's hit area is to the left, Green's is to the right within the same image...

My question is: How do I make it so on the mouseover of say, the RED area, the GREEN area dissapears

Since I have two buttons on separate layers, the top layer buttons UP state is always blocking the lower layers' state-even if it is the one being toggled. Is there an actionscript that says something like: "on mouseover, hide button #2" or somehting like that?

Thanks.

Joe

Mouse MC Hide/show
I need to produce a movie clip that hides the mouse when rolled on but when you roll off the mc the normal cursor resumes.

I have already created the movie clip with the hide mouse function. But don't know how to do the roll on and off the mc idea?

Any help would be great!

Jemes

Mouse.hide + Collision
onClipEvent (enterFrame) {
if (_root.block, hitTest(_root.hidden)) {
Mouse.show();
_root.gotoAndPlay(5);
} else {
_root.text = "m"
}
}

How do i makt this only happen when the mouse is hidden

Mouse Auto Hide
hi,

i know this is a stupid question ... how can i make the mouse cursor auto-hide. i know how to make it dissapear when i hit a key, or hit a button ... but auto?

thanks
andrei

Hide Mouse Hand
Hello,

i have a

on(rollOver, dragOver ) {
...
}

command on a MC. I don't want the mouse icon change to the Hand.

How can i do this?

Thank You,
Miguel

Hide And Show Mouse
hello!


can you help me doing a simple accion for a button, but don't change the cursor to a hand.

i want to do something like this - teste.fla - but i don't want that hand, do you understand? i don't want the cursor change.



tks,

Hide The Mouse After A Certain Time?
I use a movie clip as a mouse and I would like to know if there is a way for the mouse to disappear after not being used for a while?

Mouse.hide/ Show
I am trying to get the mouse to appear on onne part of the screen and disappear on the other part and become a magnifying glass. now i have the magnifying glass part dun, but it shows the mouse as this all over the screen even tho it does not magnify. I have tried this but no luck, please help

getProperty(Mouse, _xmouse)

if (_xmouse<="180") {
Mouse.show();
}
if (_xmouse>"180") {
Mouse.hide();
startDrag("lens", true);
}

Andi

Hide Mouse Then Animate
I want to make the mouse disappear and be taken over by an mc that animates to a position and then begins an animation, i have an mc called mouse_mc, inside its timeline is the animation i want to play. On the MC there is this code:

code:
onClipEvent (load) {
targetx=50;
targety=50;
speed=2;
Mouse.hide();
}
onClipEvent (enterFrame) {
_x+=(targetx-_x)/speed;
_y+=(targety-_y)/speed;
}


and on a frame there is this code:

code:
trace(math.round(mouse_mc._x));
if(math.round(mouse_mc._x) == 404)
{
_root.mouse_mc.gotoAndPlay(2);
}


note: the trace says that the mc always moves to 404.

The problem is that the mouse_mc animation never starts, the mc moves into position and then nothing, any ideas?

Mouse.Hide & DuplicateMovieClip Help
Hey everyone here’s the deal;

In my movie I have attached a clip to my mouse (drop_mc) and when this rolls over certain hot spots I want to load my mc which is a 3 second animated ripple effect (ripple_mc). The problem is that I need this effect to start from the centre of my mouse clip and if the mouse rolls over other hot spots then more ripple_mcs are produced. And as a safety measure only 5 ripple_mcs can be on screen at once.

Thanks - itchyjam

Here’s the code so far;


Code:
stop();

//hide the mouse
Mouse.hide()

// attach drop_mc to mouse
drop_mc.onEnterFrame = function(){
this._x = _xmouse
this._y = _ymouse
};


// rollOver hot spots
for(var i=0; i<25; i++){

boxHolder["sq"+i].onRollOver = function(){
//load ripple_mc
}

}

Mouse.hide () Question
Hi,

I am using Flash MX 2004 Pro. Just completed a presentation that uses the mouse.hide () function. That part works great. But I really don't need it to hide permanently.

I have been looking for a way to hide the mouse after it is inactive for a certain period of time, then reappear when it is moved.

Any suggestions?

Thanks,
TJdub

Mouse.hide Along With Constrain
ok I'm creating one of those Claw vending machines where you grab a toy with the claw and drop it in the hole.
I have the machine and a movie clip called "crane" which is the claw.
I have it working pretty well, but my problem is while I'm moused over the area that I want to drag the claw I still see the mouse pointer (not the hand) even though I'm using Mouse.hide("crane"); Here is the code I'm using on the mouseover button:

Code:
on (rollOver) {
Mouse.hide();
startDrag("crane", true, 166, 3.5, 368.7, 3.5);
}
on (rollOut) {
Mouse.show();
stopDrag();
}
Anyone know how to fix this?

Mouse.hide() PC Problem
Hi guys,

Got quite a simple problem I think. I am creating a custom cursor using the startDrag and stopDrag functions and Mouse.hide() and Mouse.show(), however the Mouse.hide() does not seem to work on a PC.

Any ideas why? Any help would be much appreciated.

Cheers,

James

[F8] Mouse Hide Problem
I'm hiding the mouse in a little banner on a homepage (units.osu.edu) and it is making the mouse flicker and hide elsewhere instead of just over the swf. Any ideas how to help this? If not, I might just drop the mouse hide/custom cursor altogether.

Mouse Hide/Show
Mornin all.

I have a scneario where i want the mose to hide if it is inactive for a set period, say 3 seconds, but reappears if the user moves the mouse (similar scenario can be seen in windows media player full screen mode)

Any help is greatly appreciated.

Thanks

Mouse.hide And MouseEvents?
I have hidden my mouse and am using a custom cursor, but when I hide the mouse none of my "MouseEvent.ROLL_OVER/OUT", "MouseEvent.CLICK", and "MouseEvent.MOUSE_UP" events work anymore. Is there anyway to get these to work without capturing the mouse click's x/y coords and converting that to the movie?
Thanks,
maji

Hide Mouse Pointer
Hi Friends,
I want to hide mouse pointer when my application runs. Following is my code but it doesn't work.


Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
creationComplete="mouse1()">
<mx:Script>
<![CDATA[
public function mouse1() : void
{
Mouse.hide();
}

]]>
</mx:Script>
</mx:WindowedApplication>

Mouse.hide() Problem
Afternoon everyone,

I’ve got a problem with hiding and showing the mouse pointer. I’m using “Mouse.hide()” to hide the pointer which works fine, but it won’t reappear when it leaves the stage. Interestingly though, it does flicker as I move the mouse. This is the code I’m using:


Code:
if (mouseX >= 0 && mouseX <= stage.stageWidth && mouseY >= 0 && mouseY <= stage.stageHeight)
Mouse.hide();
else
Mouse.show();
I thought that I could hide the pointer on MouseEvent.MOUSE_OUT, but there doesn’t appear to be a MOUSE_IN event that I can detect to show the pointer again. Does anyone know where I’m going wrong?

Cheers,

Mike.

Hide Mouse Pointer
This may seem like a simple question, but i am having the hardest time comopleting this task. I am trying to hide the mouse pointer within the entire flash movie. Is there anyway to complete this on load?

Hide Mouse Then Animate
I want to make the mouse disappear and be taken over by an mc that animates to a position and then begins an animation, i have an mc called mouse_mc, inside its timeline is the animation i want to play. On the MC there is this code:


ActionScript Code:
onClipEvent (load) {
    targetx=50;
    targety=50;
    speed=2;
    Mouse.hide();
}
onClipEvent (enterFrame) {
    _x+=(targetx-_x)/speed;
    _y+=(targety-_y)/speed;
}

and on a frame there is this code:


ActionScript Code:
trace(math.round(mouse_mc._x));
if(math.round(mouse_mc._x) ==  404)
{
_root.mouse_mc.gotoAndPlay(2); 
}

note: the trace says that the mc always moves to 404.

The problem is that the mouse_mc animation never starts, the mc moves into position and then nothing, any ideas?

Hide Sub-Navigation On Mouse Out?
Can anyone figure this one out? I'm completely stuck on this - I need the subnavigation to hide on mouse out. If the user rolls over the main navigation - the sub pops up and is very annoying and confusing to the viewer. I can get the subnavigation to disappear on mouse click but when I set it to hide on mouse out, it wants to hide every time the user moves between the different buttons. Probably confusing to understand without seeing the file. I put it up on www.imicci.com/file/file.fla.zip Can someone please check it out for me? I'm so frustrated with this. If there's some other way to post this flash file I can do that too - just let me know. Thank you everyone!

Copyright © 2005-08 www.BigResource.com, All rights reserved