# Calling setInterval

**URL:** https://forum.kirupa.com/t/calling-setinterval/209458
**Category:** flash
**Created:** [December 8, 2006, 11:09pm UTC](https://forum.kirupa.com/t/calling-setinterval/209458 "2006-12-08T23:09:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pherank](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pherank](https://forum.kirupa.com/u/Pherank)
#### Post date: [December 8, 2006, 11:09pm UTC](https://forum.kirupa.com/t/calling-setinterval/209458/1 "2006-12-08T23:09:19Z")

</div>

I have a function that I need to call from within a movie clip timeline (the function script resides at \_root). I would like to call it 2 times at 3 second intervals. The function call from this movie clip timeline looks like this:

```auto

_root.makeCircle(1010, 362, 6);

```

1010 = \_x  
362 = \_y  
6 = number of expanding circles to make

I can’t seem to get setInterval to work properly. Does anyone have an easy fix?
