Hi Everyone,
I know this is probably a simple fix, but I am not able to find it.
I have a map that allows people to click on buttons and see addresses for certain properties. I have the addresses in a movie clip that resets after 12 seconds to blank. The problem I have is that when someone clicks on a different property, once one has been chosen, it doesn’t reset the timer on the addresses so they can disappear quickly.
This is my code.
function wait() {
addresses_mc.gotoAndStop("home")
}
myTimer = setInterval(wait, 12000);
I want to make it so that when a different address is chosen, i.e. a different frame in address_mc that the interval timer resets back to 12 seconds.
Any and all suggestions are welcome.
Thanks,
Jeremiah