# Sticky buttons sometimes?

**URL:** <https://forum.kirupa.com/t/sticky-buttons-sometimes/165714>\
**Category:** Uncategorized\
**Created:** [October 13, 2005, 1:56pm UTC](https://forum.kirupa.com/t/sticky-buttons-sometimes/165714 "2005-10-13T13:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beamond](https://avatars.discourse-cdn.com/v4/letter/b/e47774/32.png) [@beamond](https://forum.kirupa.com/u/beamond)\
**Post date:** [October 13, 2005, 1:56pm UTC](https://forum.kirupa.com/t/sticky-buttons-sometimes/165714/1 "2005-10-13T13:56:06Z")

</div>

I’m working on a flash based website. Theres a number of buttons that slide out from a navigate button when it is clicked. When you click a slide out button all buttons slide back and are hidden again behind the navigate button. at the same time a new movie is loaded on level\_2.

heres the code for the slide out buttons:

on (press) {  
loadMovieNum(“wwd.swf”, 2);  
gotoAndPlay(15);  
}  
on (rollOver) {  
unloadMovieNum(1);  
loadMovieNum(“navigatewwd.swf”, 1);  
}  
on (rollOut) {  
unloadMovieNum(1);  
loadMovieNum(“infocenter.swf”, 1);  
}

Now this works for the most part but sometimes the movie is loaded on level\_2 but the button does not advance to frame 15 for the close transition.

any ideas?
