n my main timeline I have a movieclip and inside this movie clip(content_mc) there are some images and text there are also buttons that navigate inside this movieclip to show pictures or text.
The pictures are inside of a movieclip (photos_mc) because each photo changes every 2 sec
Im using this code in the frames to hold the playhead 2 sec before it moves.
stop();
function wait(){
clearInterval(myInterval);
play();
}
myInterval = setInterval(wait, 2000);
Now here is the problem: when I test the movie and start to click on the buttons that are on the content_mc, my main timeline starts to run in a loop and it should not move
at all, it’s like it uses the code from my photos_mc , I dont understand why this is happening.
I have attached a sample file to better describe this, I welcome any help I am noob.
Thanks