# HELP: Need to replay 1 frame movie clip

**URL:** <https://forum.kirupa.com/t/help-need-to-replay-1-frame-movie-clip/190620>\
**Category:** Uncategorized\
**Created:** [June 13, 2006, 3:52pm UTC](https://forum.kirupa.com/t/help-need-to-replay-1-frame-movie-clip/190620 "2006-06-13T15:52:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isoceles](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@isoceles](https://forum.kirupa.com/u/isoceles)\
**Post date:** [June 13, 2006, 3:52pm UTC](https://forum.kirupa.com/t/help-need-to-replay-1-frame-movie-clip/190620/1 "2006-06-13T15:52:13Z")

</div>

Hi. I am pretty new to actionscripting. I need some help. I have this banner ad I have created using tweeens and a delay. I need to make it so that the banner add restarts after the lastt delay. I have been playing with this for a while and can’t figurre out how to do this. Since the movie clip is in one frame I can’t use gotoAndPlay. Any help would be highly appreciated. I f you have any ideas let me know. Thanks  
Chris

bkg.getURL(“[http://www.cnn.com](http://www.cnn.com)”, “\_blank”);  
import mx.transitions.Tween;  
import mx.transitions.easing.\*;  
var xPosT:Tween = new Tween(mcScout, “\_x”, Strong.easeInOut, 473, 17.5, 1, true);  
var xPosT:Tween = new Tween(mcMonitor, “\_x”, Strong.easeInOut, 473, 140, 1, true);  
var xPosT:Tween = new Tween(mcManage, “\_x”, Strong.easeInOut, 473, 295, 1, true);  
xPosT.onMotionFinished = function() {  
delInterval = setInterval(delayfunction, 2000);  
function delayfunction() {  
var xPosT:Tween = new Tween(mcScout, “\_alpha”, Strong.easeOut, 100, 0, 1, true);  
var xPosT:Tween = new Tween(mcMonitor, “\_alpha”, Strong.easeOut, 100, 0, 1, true);  
var xPosT:Tween = new Tween(mcManage, “\_alpha”, Strong.easeOut, 100, 0, 1, true);  
xPosT.onMotionFinished = function() {  
unloadMovie(root.container01);  
clearInterval(delInterval);  
var xPosT:Tween = new Tween(mcCopy2, “\_x”, Strong.easeInOut, 473, 19, 1, true);  
xPosT.onMotionFinished = function() {  
delInterval = setInterval(delayfunction, 2500);  
function delayfunction() {  
var xPosT:Tween = new Tween(mcCopy2, “\_alpha”, Strong.easeOut, 100, 0, 1, true);  
unloadMovie(root.container01);  
clearInterval(delInterval);  
var xPosT:Tween = new Tween(mcBkg, “\_y”, Strong.easeInOut, -59, -2, 1.5, true);  
var xPosT:Tween = new Tween(mcCopy3, “\_y”, Strong.easeInOut, -59, -2, 1.5, true);  
xPosT.onMotionFinished = function() {  
delInterval = setInterval(delayfunction, 2500);  
function delayfunction() {

```
						gotoAndPlay(1);
					}
				};
			}
		};
	};
}

```

};
