# Need Help with Bug in Flash Slideshow

**URL:** <https://forum.kirupa.com/t/need-help-with-bug-in-flash-slideshow/180830>\
**Category:** flash\
**Created:** [March 3, 2006, 6:19pm UTC](https://forum.kirupa.com/t/need-help-with-bug-in-flash-slideshow/180830 "2006-03-03T18:19:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![finishedarticle](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@finishedarticle](https://forum.kirupa.com/u/finishedarticle)\
**Post date:** [March 3, 2006, 6:19pm UTC](https://forum.kirupa.com/t/need-help-with-bug-in-flash-slideshow/180830/1 "2006-03-03T18:19:59Z")

</div>

I’m having a problem with a slideshow that I sought help from someone on and his diagnosis was that I need to “clear whatever variable or flag is associated with the scroll buttons when a section loads.” Its lame, but I’m too embarassed to ask him “Wha’?” so I’m asking the kirupa community, “Wha’?”

(The site can be viewed at [http://www.finishedarticle.com/test/](http://www.finishedarticle.com/test/) - click “Portfolio” and then any of the thumbnails; once the arrows on any of the slideshows is activated and THEN the “Media” button is clicked and any of that section’s thumbs is clicked, that slideshow will open in motion which is NOT what I want. To reiterate: the bug occures when you scroll an image but then go to another section (Media or Portfolio).

I’d be eternally grateful for any assistance in fixing this. Thanks in advance.

\*\* The ActionScript on the arrows is -

on(press) {  
\_root.moveControl = “right”;  
\_root.clipWidth = \_root.clipHolder.\_width;  
}

on(release) {  
this.\_lockroot = true;  
\_root.moveControl = “off”;  
}

on(releaseOutside) {  
this.\_lockroot = true;  
\_root.moveControl = “off”;  
}

\*\* The ActionScript on the button is -

on(release){  
\_root.gotoAndPlay(“media”);  
\_root.but\_about.gotoAndPlay(“white”);  
\_root.but\_portfolio.gotoAndPlay(“white”);  
\_root.but\_contact.gotoAndPlay(“white”);  
this.gotoAndPlay(“black”);  
}
