# Dissappear/Reappear?

**URL:** https://forum.kirupa.com/t/dissappear-reappear/171110
**Category:** flash
**Created:** [December 1, 2005, 10:16pm UTC](https://forum.kirupa.com/t/dissappear-reappear/171110 "2005-12-01T22:16:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GOLDfish\_74](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@GOLDfish\_74](https://forum.kirupa.com/u/GOLDfish_74)
#### Post date: [December 1, 2005, 10:16pm UTC](https://forum.kirupa.com/t/dissappear-reappear/171110/1 "2005-12-01T22:16:41Z")

</div>

I am attempting to make an image slideshow using Flash 8. I am trying to make the control bar dissappear after 3 seconds of the mouse not moving.  
I used this code to see if it worked:  
(12 FPS)  
Frame 1

```auto
xval = _root._xmouse;
yval = _root._ymouse;
Mouse.show();

```

Frame 36

```auto
xval2 = _root._xmouse;
yval2 = _root._ymouse;
if (xval2 = xval){
	if (yval2 = yval){
		Mouse.hide();
		play();
	} else { 
	gotoAndPlay(1);
	}
}else { 
gotoAndPlay(1);
}

```

(play(); continues into the dissappearing act)

I have tried just using X Values and it still didnt work.

Also when attempting to make the mouse and everything else reappear was also quite the challenge. I tried to use this code:

```auto
xval2 = _root._xmouse;
 yval2 = _root._ymouse;
 if (xval2 = xval){
 	if (yval2 = yval){
 		gotoAndPlay(48);;
 	} else { 
 	gotoAndPlay(1);
 	Mouse.show();
 	}
 }else { 
 gotoAndPlay(1);
 Mouse.show();
 }

```

Any help is much appreciated.

Regards,  
THEfish! \>\< ))\*\>
