# Quick fix?

**URL:** <https://forum.kirupa.com/t/quick-fix/321612>\
**Category:** Uncategorized\
**Created:** [April 25, 2011, 9:47pm UTC](https://forum.kirupa.com/t/quick-fix/321612 "2011-04-25T21:47:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alyssahhhh](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@alyssahhhh](https://forum.kirupa.com/u/alyssahhhh)\
**Post date:** [April 25, 2011, 9:47pm UTC](https://forum.kirupa.com/t/quick-fix/321612/1 "2011-04-25T21:47:03Z")

</div>

Currently I have two layers with a set of movieclips in each layer. I only have actions in one of the layers. This is an abbreviation of the code:

```auto

var counter:Number= 0;
var rightelbowtime:Timer = new Timer(3);
mbelly_mc.visible=false;

function rightelbowfall(event:TimerEvent): void {
	rightelbow_mc.y++;
	rightelbow_mc.rotation++;
	
	if (rightelbow_mc.y>=900) {
		rightelbowtime.stop();
		counter++;
		trace(counter);
	}
	
	}
rightelbowtime.addEventListener(TimerEvent.TIMER, rightelbowfall);

rightelbow_mc.addEventListener(MouseEvent.MOUSE_DOWN, rightelbowtimer);

function rightelbowtimer(event:MouseEvent): void {
	rightelbowtime.reset();
	rightelbowtime.start();
	
	}

function showmary(): void {
if (counter==1) {
mbelly_mc.visible=true;
}
}

```

Should i move the showmary function into the layer with the mbelly movieclip? Is there anything else I’m missing?
