hei… this is my new post,so hello to everyone here.
my problem is in using menu in subsection. if you go to products ,you can choose between 3 diiferent products.every product have small menu. so you can choose every between theme. but menu working only in first one. why?
how to make the menu working in every frame i click,i mean product subsection.
this code,menu working ,but only in first frame in timeline.in first product(code is in frame number 21.you can see in picture):
stop();
test2in.addEventListener(MouseEvent.CLICK, clickSection2);
function clickSection2(evtObj:MouseEvent):void {
trace("the "+evtObj.target.name+" button was clicked");
gotoAndStop("lyza2");
}
test3in.addEventListener(MouseEvent.CLICK, clickSection3);
function clickSection3(evtObj:MouseEvent):void {
trace("the "+evtObj.target.name+" button was clicked");
gotoAndStop("lyza3");
}
test1in.addEventListener(MouseEvent.CLICK, clickSection1);
function clickSection1(evtObj:MouseEvent):void {
trace("the "+evtObj.target.name+" button was clicked");
gotoAndStop("lyza1");
}
labels are up like lyza1,lyza2,lyza3 and also frames the same. you can see they are 3 so 3 frames. every frame include small menu what is not work. this code is for the small menu of products.
what i am doing wrong? is problem in code or with frames? i try to post fla but is still to big. tell me maybe what you think can be wrong …and if you have not idea…i can make some kind of simple example what i mean.
pls help me