# Flash Gallery Problems

**URL:** <https://forum.kirupa.com/t/flash-gallery-problems/120257>\
**Category:** Uncategorized\
**Created:** [August 22, 2004, 5:51pm UTC](https://forum.kirupa.com/t/flash-gallery-problems/120257 "2004-08-22T17:51:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![macart](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macart/32/516_2.png) [@macart](https://forum.kirupa.com/u/macart)\
**Post date:** [August 22, 2004, 5:51pm UTC](https://forum.kirupa.com/t/flash-gallery-problems/120257/1 "2004-08-22T17:51:07Z")

</div>

Hi Guys,

Someone posted this Flash Gallery and I decided to play in it.  
I added 2 simple buttons and broke it.

I had this working before, but the odd thing was when I went  
from frame 5 to 1. The content (the thumbnails) showed up on  
frame 1. How is this possible? Is it in the code and I’m missing it.  
Still a newbie, trying to figure out what went wrong.

What I’m trying to do is have nothing on frame 1, have the gallery on frame 5 and then when you go back to frame 1 nothing from frame 5 showing up on frame 1.

Thanks,  
Shawn

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [August 23, 2004, 6:14am UTC](https://forum.kirupa.com/t/flash-gallery-problems/120257/2 "2004-08-23T06:14:31Z")

</div>

The thumbs are dynamically created so you have to remove them:)  
And you had a gotoAndPlay in your buttoncode.  
for your blue button

```auto
on (press) {
	for (i=0; i<nr; i++) {
		this["pic"+i].removeMovieClip();
	}
	gotoAndStop(1);
}

```

and the red one

```auto
on (press) {
	gotoAndStop(5);
}

```

scotty(-:

---

<div class="post-metadata">

**Author:** ![macart](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macart/32/516_2.png) [@macart](https://forum.kirupa.com/u/macart)\
**Post date:** [August 24, 2004, 5:38am UTC](https://forum.kirupa.com/t/flash-gallery-problems/120257/3 "2004-08-24T05:38:35Z")

</div>

Scotty,

Thanks very much for the reply. I’m slowly learning,  
and would be making zero progress without this forum  
and it’s generous contributors.

Thank You!

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [August 24, 2004, 7:52am UTC](https://forum.kirupa.com/t/flash-gallery-problems/120257/4 "2004-08-24T07:52:35Z")

</div>

welcome=)
