Thanks a milion for trying to show me how to change the script. I forgot to tell you that scripting on this level is probably harder for me than trying to read chinese.
My knowledye is very very very basic, and to be honest, I do not know what to do with the little script you gave me.
But I have to say, that f1 f2 f3 f4 f5 f6 f7 f8 f9 and f10 (which hold either images or text or both) are located on the main time line where the dock is located. The dock is a movie clip with instance name "menu_mc" and inside that movie clip are the indivdual movie clips (which I thought would be buttons) this makes it more difficult for me to understand the script and harder for me to handle it. I usually play/modify existing script to adjust a flash file to my requirment, but this Mac Menu script I have to say is way beyond my scope.
But here is what I did, and I was surprised you did not include an event handler in the little script you wrote in your reply. AND there is already a function called setDown which I asume I need to remove it.
Code:
private function setDown(evt:MouseEvent):void
{
switch(evt.target.id)
{
case 0:
gotoAndPlay("f1");
break;
case 1:
gotoAndPlay("f2");
break;
case 2:
gotoAndPlay("f3");
break;
case 3:
gotoAndPlay("f4");
break;
case 4:
gotoAndPlay("f5");
break;
case 5:
gotoAndPlay("f6");
break;
case 6:
gotoAndPlay("f7");
break;
case 7:
gotoAndPlay("f8");
break;
case 8:
gotoAndPlay("f9");
break;
case 9:
gotoAndPlay("f10");
break;
}
}
I could do with more help if it is not too much bother to you. I attach my files in case you felt like helping me up with this.
My best regards and apreciation,
Babboor