# Automatically play photo gallery w/thumbnails

**URL:** <https://forum.kirupa.com/t/automatically-play-photo-gallery-w-thumbnails/212992>\
**Category:** Uncategorized\
**Created:** [January 16, 2007, 5:38am UTC](https://forum.kirupa.com/t/automatically-play-photo-gallery-w-thumbnails/212992 "2007-01-16T05:38:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kungricht](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kungricht](https://forum.kirupa.com/u/kungricht)\
**Post date:** [January 16, 2007, 5:38am UTC](https://forum.kirupa.com/t/automatically-play-photo-gallery-w-thumbnails/212992/1 "2007-01-16T05:38:40Z")

</div>

I did the tutorial for the photo gallery with thumbnails and I’m wondering how to make it play automatically and pause with buttons.

I saw another thread and they said to use this code:  
myInterval = [COLOR=#0000ff]setInterval[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000ff]this[/COLOR], [COLOR=#ff0000]“changePhoto”[/COLOR], [COLOR=#000080]10000[/COLOR], [COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR];  
but it was for the photo gallery without thumbnails. I cant get that to work for the thumbnail photo gallery version.

I am in flash mx.

thanks.
