# Help animation does't work

**URL:** <https://forum.kirupa.com/t/help-animation-doest-work/188315>\
**Category:** Uncategorized\
**Created:** [May 6, 2006, 9:13am UTC](https://forum.kirupa.com/t/help-animation-doest-work/188315 "2006-05-06T09:13:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZLOTY](https://avatars.discourse-cdn.com/v4/letter/z/87869e/32.png) [@ZLOTY](https://forum.kirupa.com/u/ZLOTY)\
**Post date:** [May 6, 2006, 9:13am UTC](https://forum.kirupa.com/t/help-animation-doest-work/188315/1 "2006-05-06T09:13:53Z")

</div>

Hi I have problem. He depends on this, that when  
loads to main mc 4 copies of different mc only one  
work and the rest stands ([see programme](http://krasnopol.com/flashzone/)). These 4  
loaded mc are their own copies. In main mc there are  
buttons on which loaded mc have to react these 4.  
Whole accessible programme under address [LINK](http://krasnopol.com/galeriaxml/) (on up  
button WIDOK and 4/1 ). I add programme files  
[LINK](http://krasnopol.com/flashzone/) I ask for help.  
In main mc are buttons:

play\_btn  
play2\_btn  
stopa\_btn

And code looks the same in 4 loaded mc

\_level0.play\_btn.onRelease … ??? I made this good??

```auto
_level0.play_btn.onRelease = function() {
	
	stopp();
		   clearInterval(stopp);
			function bob() {
				ima[c]._visible = true;
				ima[c-1]._visible = false;
				if (c == total) {
					clearInterval(stopp);
					poczatek();
					
				} else {
					if (c<total) {
						_level0.cos1_mc._visible=true;
	                    _level0.cos2_mc._visible=true;
	                    _level0.cos3_mc._visible=false;
	                    _level0.cos4_mc._visible=false;
                        _level0.cos5_mc._visible=false;
                        _level0.cos6_mc._visible=true;
						picture_num2();
						c++;
					}
				}
			}
			stopp = setInterval(bob,czas);
		};
		
_level0.play2_btn.onRelease = function() {
	      stopp();
		   clearInterval(stopp);
			
			function bob() {
				ima[c]._visible = true;
				ima[c+1]._visible = false;
				if (c == 0) {
					clearInterval(stopp);
					poczatek();
				} else {
					if (c>0) {
						_level0.cos1_mc._visible=true;
	                    _level0.cos2_mc._visible=true;
	                    _level0.cos3_mc._visible=false;
	                    _level0.cos4_mc._visible=false;
                        _level0.cos5_mc._visible=false;
                        _level0.cos6_mc._visible=true;
						picture_num2();
						c--;
					}
				}
			}
			stopp = setInterval(bob,czas);
		};		
		
_level0.stopa_btn.onRelease = function() {
    clearInterval(stopp);
	 _level0.cos1_mc._visible=false;
	 _level0.cos2_mc._visible=false;
	 _level0.cos3_mc._visible=false;
	 _level0.cos4_mc._visible=true;
     _level0.cos5_mc._visible=false;
     _level0.cos6_mc._visible=false;
}; 

```
