# Can I do this with?

**URL:** <https://forum.kirupa.com/t/can-i-do-this-with/62335>\
**Category:** flash\
**Created:** [August 27, 2004, 12:14am UTC](https://forum.kirupa.com/t/can-i-do-this-with/62335 "2004-08-27T00:14:58Z")\
**Posts on this page:** 2\
**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/62335/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”);  
}

---

<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:** [August 27, 2004, 10:12am UTC](https://forum.kirupa.com/t/can-i-do-this-with/62335/2 "2004-08-27T10:12:19Z")

</div>

yes, that’s nice… what was the question?
