New to Flash

Hi,

I am new to flash and am having a little trouble. In the “on (allTransitionsInDone) {” section of my code I need to call the “on (hide)” section. I need to do this or my “hide” section will not run. This is in Flash 2004 and is a slide presentation. How can I do this?

Thanks

Tony


on (allTransitionsInDone) {
.
. more code here
.
if(screen instanceof mx.screens.Slide)
{
pauseID = setInterval(pauseTimer, 3000);
// call “on (hide)” from here
}
// End GoTo Next Screen behavior

function pauseTimer() {
clearInterval(pauseID);

}
}

on (reveal) {
.
. code here
.
}

on (hide) {
.
. code here
.
screen.rootSlide.currentSlide.gotoNextSlide();

// End Transition behavior

}