# Find conflict in this script

**URL:** https://forum.kirupa.com/t/find-conflict-in-this-script/139839
**Category:** Uncategorized
**Created:** [March 6, 2005, 6:36am UTC](https://forum.kirupa.com/t/find-conflict-in-this-script/139839 "2005-03-06T06:36:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aam](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@aam](https://forum.kirupa.com/u/aam)
#### Post date: [March 6, 2005, 6:36am UTC](https://forum.kirupa.com/t/find-conflict-in-this-script/139839/1 "2005-03-06T06:36:41Z")

</div>

[font=verdana, arial, helvetica][size=2]I have two separe type of functions which work when tested independently on the movie clip buttons. It’s when I combine both functionalities for the same buttons the conflicts occursi.e. if one works then the other doesn’t. I’m sure I’m doing something silly and probably need to modify the code for combining or put the scripts properly in the right place. wish i knew[/size][/font]  
[font=verdana, arial, helvetica][size=2]  
Please help me detect the problem and suggest…pls pls pls.

Script 1:[/size][/font]  
[font=verdana, arial, helvetica][size=2]  
function buttonEnable() {  
\_root.webby.weblinks.ae.gotoAndStop(1);  
\_root.webby.weblinks.talon.gotoAndStop(1);  
\_root.webby.ahead.gotoAndStop(1);  
\_root.webby.lcf.gotoAndStop(1);  
\_root.webby.auto.gotoAndStop(1);  
\_root.webby.weblinks.officio.gotoAndStop(1);  
}

[/size][/font][font=verdana, arial, helvetica][size=2]Script 2:[/size][/font]

[font=verdana, arial, helvetica][size=2]ae.onRelease = function() {  
destination = 0;  
}  
talon.onRelease = function() {  
destination = 550;  
}  
ahead.onRelease = function() {  
destination = 1100;  
}  
lcf.onRelease = function() {  
destination = 1645;  
}  
auto.onRelease = function() {  
destination = 2200;  
}  
officio.onRelease = function() {  
destination = 2751;  
}[/size][/font]

I’ve uploaded the fla at [www.auctionexcel.com/files/page4.fla](http://www.auctionexcel.com/files/page4.fla).  
[url=“[http://www.auctionexcel.com/files/page4.fla](http://www.auctionexcel.com/files/page4.fla)”]  
Layer: ‘web portfolio’ - mc instance name: ‘webby’ - layer actions2  
& Layer: ‘web portfolio’ - mc instance name: ‘webby’ - layer ‘buttons, blank…’ - layer: ‘actions’  
and then inside each of the mc buttons i.e ‘ae’, ‘talon’, ‘ahead’ etc

thanks in advance.
