# Photogallery slider problems

**URL:** <https://forum.kirupa.com/t/photogallery-slider-problems/183207>\
**Category:** flash\
**Created:** [March 24, 2006, 4:57pm UTC](https://forum.kirupa.com/t/photogallery-slider-problems/183207 "2006-03-24T16:57:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdd](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gdd](https://forum.kirupa.com/u/gdd)\
**Post date:** [March 24, 2006, 4:57pm UTC](https://forum.kirupa.com/t/photogallery-slider-problems/183207/1 "2006-03-24T16:57:02Z")

</div>

I tried at actionscript forums however unsuccessfully.

I have piece of actionscript working that has a master button, in which pictures go and are arranged dyanimically on the screen. When clicked each button attaches the corrisponding larger version of the pic within it.

I also have a niffy little search function, which attaches coloured markers, to the corrisponding pictures, ie. animals to pictures of animals according to an array.

The problem is… i don’t really know how I did it :puzzle:

For example, if I try to add the search function to a set of buttons so that ‘animals’ button attaches only ‘animals’ markers, it says the array element is undefined, or even I have to put “animal !=true” in stead of " animals ==true" to make the search function to work, which doesn’t make sense.

I suppose this is acadamic as there are more impressive actionscripts like loading from and xml… [http://www.kirupa.com/forum/showthread.php?t=79647&page=10](http://www.kirupa.com/forum/showthread.php?t=79647&page=10)

but its bugging me…

if anyone has any ideas,

heres the fla…

[http://hermes.hud.ac.uk/c0568903/\*\*\*2.fla](http://hermes.hud.ac.uk/c0568903/***2.fla)

(i have just stuck the search function in so any of the bottom button activates it):puzzle:
