# The lazy man delay

**URL:** https://forum.kirupa.com/t/the-lazy-man-delay/236175
**Category:** Uncategorized
**Created:** [August 17, 2007, 8:48pm UTC](https://forum.kirupa.com/t/the-lazy-man-delay/236175 "2007-08-17T20:48:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [August 17, 2007, 8:48pm UTC](https://forum.kirupa.com/t/the-lazy-man-delay/236175/1 "2007-08-17T20:48:32Z")

</div>

lol…

I just opened a file from a co-worker and this is what i found:

```auto
this.obj._parent.delayCount = 0;
this.obj._parent.delay_tween.stop();// STOP THE CURRENT ANIMATION IF PLAYING
this.obj._parent.delay_tween = new Tween(this.obj._parent, "delayCount", Regular.easeInOut, 0, 100, 10, true);// START THE ANIMATION
this.obj._parent.delay_tween.onMotionFinished = function() {
    this.obj.loadImage_fn();
};

```

Thought somebody might get a kick out of it, i then taught him how to use setinterval()
