Hi coders I have this code
this is an onclick function
function onClick(e:mouseEvent):void{
if(e.currentTarget.name =="about"){
about();
}else if(e.currentTarget.name=="contact"){
contact();
}else if(e.currentTarget.name=="commercial"){
commercial();
}else{ gotoAndPlay(3);}
}
function about():void{
do something
}
function commercial(){
do something
}
function contact():void{
do something}
Well the problem is that anytime I'm running through the flash, it
gets me an odd error like an 1021: Duplicate function
does anyone can see what is wrong there and what am I missing?
Gustavo
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders