# News Ticker Control Issues. Any help or suggestions would be most welcome

**URL:** <https://forum.kirupa.com/t/news-ticker-control-issues-any-help-or-suggestions-would-be-most-welcome/293349>\
**Category:** Uncategorized\
**Created:** [July 27, 2009, 7:05pm UTC](https://forum.kirupa.com/t/news-ticker-control-issues-any-help-or-suggestions-would-be-most-welcome/293349 "2009-07-27T19:05:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kolobus](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kolobus](https://forum.kirupa.com/u/kolobus)\
**Post date:** [July 27, 2009, 7:05pm UTC](https://forum.kirupa.com/t/news-ticker-control-issues-any-help-or-suggestions-would-be-most-welcome/293349/1 "2009-07-27T19:05:12Z")

</div>

Hey all,  
So I’ve been tasked with building a news ticker. I’m going to explain it all here and add the code at the bottom. The news ticker progresses through 5 seperate frames and has a small delay between frames. I’ve managed to get it to slowly scroll through each frame using a setInterval. The problem lies with the controls. The user needs to be able to pause/play as well as automatically jump to the next frame. I have a feeling the buttons aren’t working due to the way I have the news ticker built (first thing I tell it to do is “stop” so that probably explains why when the pause button says “stop” nothing happens) but I can’t figure out what to change. Any help/suggestions/directions is most welcome. Thanks in advance!

```auto
stop();
i = 1;
function Wait() {
 i++;
 if (i == 7) {
  gotoAndPlay(1);
 } else {
  nextFrame();
 }
}
WaitInt = setInterval(Wait, 8000);
infopause_mc.onRelease = function() {
 stop();
 infopause_mc._visible = false;
 infoplay_mc._visible = true;
}
infoplay_mc.onRelease = function() {
 play();
 infopause_mc._visible = true;
 infoplay_mc._visible = false;
}

```
