# Actionscript controlled slideshow

**URL:** <https://forum.kirupa.com/t/actionscript-controlled-slideshow/182331>\
**Category:** flash\
**Created:** [March 17, 2006, 6:09am UTC](https://forum.kirupa.com/t/actionscript-controlled-slideshow/182331 "2006-03-17T06:09:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![photoFlash](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@photoFlash](https://forum.kirupa.com/u/photoFlash)\
**Post date:** [March 17, 2006, 6:09am UTC](https://forum.kirupa.com/t/actionscript-controlled-slideshow/182331/1 "2006-03-17T06:09:48Z")

</div>

I am trying to modify the Actionscript in from the photo slideshow tutorial  
**[SIZE=4][COLOR=#003366]Create[/COLOR][/SIZE]**[FONT=Verdana][SIZE=4][COLOR=#003366] a Photo Gallery  
[/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=1][COLOR=#808080]code by sbeener :: tutorial by kirupa chinnathambi[/COLOR][/SIZE][/FONT]  
I am trying to make the photos advance automatically without having to use the buttons like this

frameDelay = 24;  
frameCount = frameDelay;  
if (frameCount == frameDelay)  
\_root.changePhoto(1);  
if (frameCount == frameDelay);  
frameCount = 0;

This only seems to advance the photo once. Any and all help would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![gpdesigner](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gpdesigner](https://forum.kirupa.com/u/gpdesigner)\
**Post date:** [March 18, 2006, 11:37pm UTC](https://forum.kirupa.com/t/actionscript-controlled-slideshow/182331/2 "2006-03-18T23:37:30Z")

</div>

Hmm I tried that tute and the images don’t load center of the movie clip . . . this is an odd one  
gp
