# Transitions (voets tut)

**URL:** https://forum.kirupa.com/t/transitions-voets-tut/42477
**Category:** flash
**Created:** [February 9, 2004, 7:09pm UTC](https://forum.kirupa.com/t/transitions-voets-tut/42477 "2004-02-09T19:09:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)
#### Post date: [February 9, 2004, 7:09pm UTC](https://forum.kirupa.com/t/transitions-voets-tut/42477/1 "2004-02-09T19:09:42Z")

</div>

ok, I don´t know what I´m doing wrong, I have this for my servicios buttom:  
[AS]on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “servicios”;  
container.loadMovie(“servicios.swf”);  
} else if (\_root.currMovie != “servicios”) {  
if (container.\_currentframe == container.midframe) {  
\_root.currMovie = “servicios”;  
container.play();  
}  
}  
}  
[/AS]

and the same AS for my “portafolio” buttom, of course I changed the swf name.  
When I clic for example “servicios” it loads ok but when I clic after that “portafolio” it doesn´t load, and viceversa, if I clic “portafolio” loads ok but after that if I clic “servicios” doesn´t load, any ideas? Please help…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2004, 12:15am UTC](https://forum.kirupa.com/t/transitions-voets-tut/42477/2 "2004-02-10T00:15:14Z")

</div>

where is the container mc? if it is on the main timeline you should add \_root like this

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