# Calling Function

**URL:** <https://forum.kirupa.com/t/calling-function/36528>\
**Category:** flash\
**Created:** [November 27, 2003, 6:51pm UTC](https://forum.kirupa.com/t/calling-function/36528 "2003-11-27T18:51:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [November 27, 2003, 6:51pm UTC](https://forum.kirupa.com/t/calling-function/36528/1 "2003-11-27T18:51:34Z")

</div>

I have done a search using “calling function” and tries 5 different things and still no luck but this is a simple problem

on the first and only frame of my movie I have this function

> 

blank\_mc.onAllSlidesLoaded = function() {  
this.uuShow.\_visible = true;  
this.uuShow.beginTransitions();  
};

The above code starts my slideshow. However I want my slideshow to start when I click on a button. So I guess I need to comment the above code out and call it through a click of a button

Sandman9
