# Button not working in flash player 8?

**URL:** <https://forum.kirupa.com/t/button-not-working-in-flash-player-8/221522>\
**Category:** flash\
**Created:** [April 4, 2007, 9:56pm UTC](https://forum.kirupa.com/t/button-not-working-in-flash-player-8/221522 "2007-04-04T21:56:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant\_Hurley](https://avatars.discourse-cdn.com/v4/letter/g/ecb155/32.png) [@Grant\_Hurley](https://forum.kirupa.com/u/Grant_Hurley)\
**Post date:** [April 4, 2007, 9:56pm UTC](https://forum.kirupa.com/t/button-not-working-in-flash-player-8/221522/1 "2007-04-04T21:56:43Z")

</div>

Hi, can anyone help with this script?

The buttons work in flash player6, i have now changed the setting to publish in flash player 8 as i have added some filters, but now the buttons do not work!

The buttons are really movieclips with code!

Can i modify the code?

Here is the code within the button MC:

//  
stop();  
this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();  
}  
};  
this.onRollOver = function() {  
rewind = false;  
play();  
};  
this.onRollOut = function() {  
rewind = true;  
};  
this.onRelease = function() {  
\_root.gotoandStop(“home”);

};

Cheers!
