# Problem With Transition Tutorial Help Please

**URL:** https://forum.kirupa.com/t/problem-with-transition-tutorial-help-please/88864
**Category:** flash
**Created:** [May 3, 2005, 5:06am UTC](https://forum.kirupa.com/t/problem-with-transition-tutorial-help-please/88864 "2005-05-03T05:06:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nordica](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@nordica](https://forum.kirupa.com/u/nordica)
#### Post date: [May 3, 2005, 5:06am UTC](https://forum.kirupa.com/t/problem-with-transition-tutorial-help-please/88864/1 "2005-05-03T05:06:51Z")

</div>

Ok, i’m following these two tutorials…  
[http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm)  
and  
[http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm)

Now, i’ve assigned the code on the transitions tutorial onto the button, so it looks like so…

```auto
 
stop(); 
  
this.onEnterFrame = function(){ 
if(rewind == true){ 
prevFrame(); 
} 
} 
  
this.onRollOver = function(){ 
rewind = false; 
play(); 
} 
  
this.onRollOut = function(){ 
rewind = true; 
} 
  
this.onPress = function(){ 
if (_root.currMovie == undefined) { 
_root.currMovie = "portfolio"; 
container.loadMovie("portfolio.swf"); 
} else if (_root.currMovie != "portfolio") { 
if (container._currentframe >= container.midframe) { 
_root.currMovie = "portfolio"; 
container.play(); 
  } 
 } 
} 

```

Now, when i click on the movieclip/button, it wont transition, the about.swf just stays on the page. What am I doing wrong here?
