# Can't find the onrelease function

**URL:** <https://forum.kirupa.com/t/cant-find-the-onrelease-function/136991>\
**Category:** Uncategorized\
**Created:** [February 10, 2005, 2:22am UTC](https://forum.kirupa.com/t/cant-find-the-onrelease-function/136991 "2005-02-10T02:22:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgbearcat](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kgbearcat](https://forum.kirupa.com/u/kgbearcat)\
**Post date:** [February 10, 2005, 2:22am UTC](https://forum.kirupa.com/t/cant-find-the-onrelease-function/136991/1 "2005-02-10T02:22:11Z")

</div>

I am new to flash. I downloaded the image gallery and am looking to pick it apart to learn some stuff. I understand the functions, nextimage and previousimage, but I don’t see where they are being called. I looked at the buttons, and see no scripts associated to them. Can somebody give me a step by step on how to see this?

My goal is to use this to build a similar image gallery, but with thumbnails. When the thumbnail is clicked, it will load the image from the xml. I know I have to probably write a new function and call the number of the array that needs loaded. I am just trying to take baby steps.
