# Flash file won't work when live

**URL:** https://forum.kirupa.com/t/flash-file-wont-work-when-live/196730
**Category:** Uncategorized
**Created:** [August 10, 2006, 4:30pm UTC](https://forum.kirupa.com/t/flash-file-wont-work-when-live/196730 "2006-08-10T16:30:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spootneek](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@spootneek](https://forum.kirupa.com/u/spootneek)
#### Post date: [August 10, 2006, 4:30pm UTC](https://forum.kirupa.com/t/flash-file-wont-work-when-live/196730/1 "2006-08-10T16:30:29Z")

</div>

hi, I seem to be having a problem with my flash file.

When I just play it locally on my computer in flash player it works fine, but when I put it on my server the buttons work once then do not work again.

Here is the code.

next\_mc.onRelease = function(){  
i = \_currentframe + 1;  
gotoAndPlay(\_currentframe + 1);  
container\_mc.loadMovie(myLoadVars[“absoluteURL”] + “screen” + i +".swf");  
countdown\_mc.countdown = 6;  
}

previous\_mc.onRelease = function(){  
j = \_currentframe - 1;  
if (\_currentframe \>= 2){  
gotoAndPlay(\_currentframe - 1);  
container\_mc.loadMovie(myLoadVars[“absoluteURL”] + “screen” + j +".swf");  
countdown\_mc.countdown = 6;  
} else {  
gotoAndPlay(6);  
container\_mc.loadMovie(myLoadVars[“absoluteURL”] + “screen6.swf”);  
}  
}

Any help would be greatly appreciated. Thanks in advance.
