hy…I want to make a function that waits 5 seconds, after that to run another function that changes the content (changeContent) to the next label
this is all i managed to do…I hope it’s wright
function autorun() {
if (button_label = 0) {
changeContent(1);
} else if (button_label = 1) {
changeContent(2);
} else if (button_label = 2 ) {
changeContent(3);
} else if (button_label = 3) {
changeContent(4);
} else if (button_label = 4) {
changeContent(5);
} else if (button_label = 5) {
changeContent(0);
}
}
I need this in AS2.0…
Can someone help me? Thanks!