# Flaw with transition tutorial

**URL:** https://forum.kirupa.com/t/flaw-with-transition-tutorial/60218
**Category:** Uncategorized
**Created:** [August 7, 2004, 9:24pm UTC](https://forum.kirupa.com/t/flaw-with-transition-tutorial/60218 "2004-08-07T21:24:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bigbadmilkman](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@bigbadmilkman](https://forum.kirupa.com/u/bigbadmilkman)
#### Post date: [August 7, 2004, 9:24pm UTC](https://forum.kirupa.com/t/flaw-with-transition-tutorial/60218/1 "2004-08-07T21:24:58Z")

</div>

Hi I have been using Voetsjabba’s transition tutorial, its very good but i’ve been testing it with my own website and there is a serious problem.

If you try running voetsjabba’s transition example, it works fine, however try this

click on section 1 button,

now (whilst the transition movie for section 1 playing hit section 2 button )

nothing happens, you may argue that this is meant to happen, but the main problem is that if you try hitting the section 2 button whilst everything has stopped nothing will happen, it will stay on the current movie.

Try the example and you’ll find out.

However there must be a solution to this problem, the following is the code used for the buttons,

on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “temp”;  
content.loadMovie(“temp.swf”);  
} else if (\_root.currMovie != “temp”) {  
if (content.\_currentframe\>=content.midframe) {  
\_root.currMovie = “temp”;  
content.play();  
}  
}  
}

There must be a way where u can alter this code so that everytime a button is pressed something will definately happen.

I’d be grateful for help.
