# Dynamic Movie

**URL:** <https://forum.kirupa.com/t/dynamic-movie/57898>\
**Category:** flash\
**Created:** [July 17, 2004, 1:50pm UTC](https://forum.kirupa.com/t/dynamic-movie/57898 "2004-07-17T13:50:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![girish](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@girish](https://forum.kirupa.com/u/girish)\
**Post date:** [July 17, 2004, 1:50pm UTC](https://forum.kirupa.com/t/dynamic-movie/57898/1 "2004-07-17T13:50:05Z")

</div>

Hii All,

This is my first post as i m just beginner in Flash javascript. I want to prepare a FLash Movie in which all the images r dynamic and the images shud change after a time say every 30 secs the image changes. I know i have 2 use SetInterval but where to write SetInterval i m confused. Can u guys help me sort this out.

Thanks in Advance

Girish

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2004, 2:28pm UTC](https://forum.kirupa.com/t/dynamic-movie/57898/2 "2004-07-17T14:28:52Z")

</div>

Being not a SetInterval method fan myself, Im sure you can use the getTimer function; ie such a loop:

```auto

onClipEvent(load){
watchTime = getTimer;
}
onClipEvent(enterFrame){
 if(getTimer >= watchTime + 30000){
  watchTime = getTimer;
  //load your jpg action
 }
}

```
