# Help with transition tute

**URL:** https://forum.kirupa.com/t/help-with-transition-tute/46773
**Category:** Uncategorized
**Created:** [March 27, 2004, 9:36pm UTC](https://forum.kirupa.com/t/help-with-transition-tute/46773 "2004-03-27T21:36:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![G111](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@G111](https://forum.kirupa.com/u/G111)
#### Post date: [March 27, 2004, 9:36pm UTC](https://forum.kirupa.com/t/help-with-transition-tute/46773/1 "2004-03-27T21:36:42Z")

</div>

I’m using the below code from the tutorial but yet when the movie is loaded in externally into another movie file when I click on each link only the aboutme.swf is playing for all links, I can’t understand why? I know its an AS problem but I can’t see where I went wrong.

All AS is in a frame.

[AS]\_root.currMovie = “aboutme”; //loading about me swf  
container.loadMovie(\_root.currMovie+".swf");//tells flash to add .swf to the currMovie  
this.about\_mc.about\_butt.onRelease = function(){//begins actions for the about me button  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “aboutme”;  
container.loadMovie(“aboutme.swf”);  
} else if (\_root.currMovie != “aboutme”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “aboutme”;  
container.play();  
}  
}  
};  
this.about\_mc.about\_butt.onRollOver = function(){  
this.\_parent.gotoAndPlay(“rollover”);  
}  
this.about\_mc.about\_butt.onRollOut = function(){  
this.\_parent.gotoAndPlay(“rollout”);  
}  
this.skills\_mc.skills\_butt.onRelease = function(){ //begins actions for the skills button  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “skills”;  
container.loadMovie(“skills.swf”);  
} else if (\_root.currMovie != “skills;”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “skills”;  
container.play();  
}  
}  
};  
this.skills\_mc.skills\_butt.onRollOver = function(){  
this.\_parent.gotoAndPlay(“rollover”);  
}  
this.skills\_mc.skills\_butt.onRollOut = function(){  
this.\_parent.gotoAndPlay(“rollout”);  
}  
this.goals\_mc.goals\_butt.onRelease = function(){//begins actions for goals buttton  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “goals”;  
container.loadMovie(“goals.swf”);  
} else if (\_root.currMovie != “goals”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “goals”;  
container.play();  
}  
}  
};  
this.goals\_mc.goals\_butt.onRollOver = function(){  
this.\_parent.gotoAndPlay(“rollover”);  
}  
this.goals\_mc.goals\_butt.onRollOut = function(){  
this.\_parent.gotoAndPlay(“rollout”);  
}  
stop();[/AS]

thank you for your time.
