# Adding a combo box to the scrolling thumbnails tutorial

**URL:** https://forum.kirupa.com/t/adding-a-combo-box-to-the-scrolling-thumbnails-tutorial/191128
**Category:** flash
**Created:** [June 17, 2006, 3:29pm UTC](https://forum.kirupa.com/t/adding-a-combo-box-to-the-scrolling-thumbnails-tutorial/191128 "2006-06-17T15:29:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dstrange](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dstrange](https://forum.kirupa.com/u/dstrange)
#### Post date: [June 17, 2006, 3:29pm UTC](https://forum.kirupa.com/t/adding-a-combo-box-to-the-scrolling-thumbnails-tutorial/191128/1 "2006-06-17T15:29:27Z")

</div>

Hi,

I want to add a combo box to the scrolling thumbnails tutorial.

[http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/forum/../developer/mx2004/thumbnails.htm)

The combo box will act as photo categories and when selected will show different pics. i.e  
Main (10 pics)  
Rooftops (3 pics)  
Mirror(1 pics)

I assume I can just create 3 seperate xml files but I’m not sure how to load these from a combo box. As well how would I be able to reload the thumbnails?

I would greatly appreciate some help. My code is exactly like the tutorial.  
I’ve included what I’ve been testing below. First I tried with making a button for a category (rooftops) and I can succesfully get the 4 images to load when selected but I still can’t get the thumbnails to come up properly. Initially the flash loads the 10 main pictures with corresponding 10 thumbnails. When I click the rooftops button I get the 4 corresponding pictures and there should be only 4 thumbnails but I still get the 10.

Any ideas? I’ve tried working with buttons but have decided to use a combo box because it looks cleaner. Sorry for rambling.

[http://www.angelfire.com/punk/testphoto/Test\_Menu.zip](http://www.angelfire.com/punk/testphoto/Test_Menu.zip)
