alex_nord_star2005
New member
hi,
i have this flash website and i have a section where the text is too long , so i want to create multiple pages in the same section.
Ex: in the Lessons section i have
Previous page and Next page
when i click the Next Page button i want it to take me to the next lesson
the problem is that i get an error after i finish my Action script
pag2.addEventListener(MouseEvent.CLICK, clickPag2);
function clickPag2(evtObj:MouseEvent){
trace ("the pag2 button was clicked!")
gotoAndStop("pag2");
}
this is the script ... i named the Next Page Button Pag2 ... and the next lection page Pag2
the error is : 1120:Acces of undefined property pag2
... what shall i do ? )
i have this flash website and i have a section where the text is too long , so i want to create multiple pages in the same section.
Ex: in the Lessons section i have
Previous page and Next page
when i click the Next Page button i want it to take me to the next lesson
the problem is that i get an error after i finish my Action script
pag2.addEventListener(MouseEvent.CLICK, clickPag2);
function clickPag2(evtObj:MouseEvent){
trace ("the pag2 button was clicked!")
gotoAndStop("pag2");
}
this is the script ... i named the Next Page Button Pag2 ... and the next lection page Pag2
the error is : 1120:Acces of undefined property pag2
