[FMX] Imagegallery configuration

Hi there!
I’ve been surfing this forum for a little while and thought it was time for a registrer.

I have a problem when i want to add extra buttons to the PhotoGallery fla.

I made one button for each image and when they are pressed i want that spesific image to load. I would also like the “<-” “->” to still be working.

If i press button #2, image #2 will be shown and arrow <- goes to image #1 and -> goes to image #3.

I tried something like this:
[AS] on (release) {
_root.changePhoto(“animation/image5.jpg”);
} [/AS]

but then the <- -> buttons wont work :frowning:

Anyone have any idea? :be: