# Temporarily display feedback

**URL:** <https://forum.kirupa.com/t/temporarily-display-feedback/113047>\
**Category:** Uncategorized\
**Created:** [June 14, 2004, 3:04pm UTC](https://forum.kirupa.com/t/temporarily-display-feedback/113047 "2004-06-14T15:04:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clwright\_2000](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@clwright\_2000](https://forum.kirupa.com/u/clwright_2000)\
**Post date:** [June 14, 2004, 3:04pm UTC](https://forum.kirupa.com/t/temporarily-display-feedback/113047/1 "2004-06-14T15:04:11Z")

</div>

How can I make a movie clip appear (a tick for correct response in this instance) for a few seconds then disappear using script and without having to jump to another frame?

I’m using the following code to evaluation whether the user drags the object to the correct mc.

on (press) {  
startDrag("");  
}  
on (release) {  
stopDrag();  
if (this.\_droptarget == “/mccau”) {

```
	_root.answer1 = "1";
	
	_root.scroll.btn1.enabled = false;
	
	_root.mc1._visible = false;
	
	_root.tick._ = true;
	//_root.gotoAndPlay ("yes");		
	
	setProperty(this, _x, 397.6);
	setProperty(this, _y, 323.4);
	
	
} else {
	
	
	//_root.d32 = false;
	_root.cross._visible = true;
	setProperty(this, _x, 387.7);
	setProperty(this, _y, 440.9);
}

```

}

using \_visible doesn’t work cause I only want to display the feedback for a few seconds.

Any ideas?

Cle

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 5:50am UTC](https://forum.kirupa.com/t/temporarily-display-feedback/113047/2 "2004-06-16T05:50:45Z")

</div>

put this in the mc actions along with the other AS  
[AS]  
onClipEvent(enterFrame){  
if(i\<=100){  
i++  
\_visible=1  
}  
else{  
\_visible=0  
}  
}  
[/AS]  
OR  
put this in the frame AS  
[AS]  
function show1() {  
i++  
a.\_visible=1  
}  
visible=setInterval(show1,1000)  
\_root.onEnterFrame=function(){  
if(i\>=2){  
clearInterval(visible)  
a.\_visible=0  
}

}  
[/AS]  
hope that did it.
