# Can I do this with?

**URL:** <https://forum.kirupa.com/t/can-i-do-this-with/120735>\
**Category:** Uncategorized\
**Created:** [August 27, 2004, 12:14am UTC](https://forum.kirupa.com/t/can-i-do-this-with/120735 "2004-08-27T00:14:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cloakendagger](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@Cloakendagger](https://forum.kirupa.com/u/Cloakendagger)\
**Post date:** [August 27, 2004, 12:14am UTC](https://forum.kirupa.com/t/can-i-do-this-with/120735/1 "2004-08-27T00:14:58Z")

</div>

Im having some trouble with this code. I have a button that will pop in and out depending on the rollover and rollout. but then i want it to get and external swf when released. this is all done with smartclips if that matters.

on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “home”;  
container.loadMovie(“home.swf”);  
} else if (\_root.currMovie != “home”) {  
if (container.\_currentframe\>=container.midframe) {  
\_root.currMovie = “home”;  
container.play();  
}  
}  
}  
on (rollOver) {  
gotoAndPlay(“Start”);  
}  
on (rollOut) {  
gotoAndPlay(“Stop”);  
}
