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). 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 (on up
button WIDOK and 4/1 ). I add programme files
LINK 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??
_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;
};