# Timer

**URL:** <https://forum.kirupa.com/t/timer/198186>\
**Category:** Uncategorized\
**Created:** [August 23, 2006, 1:00am UTC](https://forum.kirupa.com/t/timer/198186 "2006-08-23T01:00:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leisuresuitlissy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/leisuresuitlissy/32/2109_2.png) [@leisuresuitlissy](https://forum.kirupa.com/u/leisuresuitlissy)\
**Post date:** [August 23, 2006, 1:00am UTC](https://forum.kirupa.com/t/timer/198186/1 "2006-08-23T01:00:34Z")

</div>

Hi people…I’m fairly new to actionscript. I am working on a flash/xml thing and I want the image to update after 5 seconds, instead of after the user clicking ‘next’

What syntax should I use to get this to work??

function() {  
nextImage();  
};
