# Works in mx 2004 but not in 8, why?

**URL:** <https://forum.kirupa.com/t/works-in-mx-2004-but-not-in-8-why/163763>\
**Category:** Uncategorized\
**Created:** [September 26, 2005, 2:04am UTC](https://forum.kirupa.com/t/works-in-mx-2004-but-not-in-8-why/163763 "2005-09-26T02:04:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cam](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@cam](https://forum.kirupa.com/u/cam)\
**Post date:** [September 26, 2005, 2:04am UTC](https://forum.kirupa.com/t/works-in-mx-2004-but-not-in-8-why/163763/1 "2005-09-26T02:04:46Z")

</div>

Hi, im using some script from [andyfoulds.com](http://andyfoulds.com) on some buttons. But when i publish in flash 8 the actions stop working (the animation is fine, im adding some blur to the text, but when pressed nothing happens)  
the script is the one for the roller buts, and the actions look like this:

backC = 0x666666;  
//THIS IS THE FRONT COLOUR.  
frontC = 0x999999;  
//THIS IS THE VISITED COLOUR.  
visitedC = 0xFFFFFF;  
//-----------------------------------------------------------------  
//THESE ARE THE BUTTON TITLES.  
butt1\_mc.myTit = “HISTORIA”;  
butt2\_mc.myTit = “PELUQUERIAS”;  
butt3\_mc.myTit = “TELEVISION”;  
butt4\_mc.myTit = “ESCUELA”;  
butt5\_mc.myTit = “ACTUALIDAD”;  
butt6\_mc.myTit = “CONTACTO”;  
//-----------------------------------------------------------------  
//MAKE A FUNCTION LIKE THIS FOR EACH BUTTON, (ONLY WITH A MORE  
//MEANINGFUL ACTION OF COURSE:).  
butt1\_mc.doIt = function() {  
//YOUR ACTION HERE  
c.loadMovie (“carga\_belgrano.swf”, 10);  
};  
butt2\_mc.doIt = function() {  
//YOUR ACTION HERE  
trace(“button two pressed”);  
};  
butt3\_mc.doIt = function() {  
//YOUR ACTION HERE  
trace(“button three pressed”);  
};  
butt4\_mc.doIt = function() {  
//YOUR ACTION HERE  
trace(“button four pressed”);  
};  
//===============================================================  
//DESTECTS WHICH WAY THE MOUSE IS MOVING ------------------------  
onMouseMove = function(){  
oldX = \_root.\_xmouse  
if(oldX\>newX){  
\_root.right = true;  
}else{  
\_root.right = false  
}  
newX = \_root.\_xmouse;  
updateAfterEvent();  
}

Anyone have a clue why this not work in flash 8?
