I’m making a little quiz for school. And a function I used just the other day isn’t working. Why not.:q:
stop();
countries(c1,"Morocco",p1);
//more African countries.
function countries(box,count,countx){
if(box==count){
countx=1;
}else{
countx=0;
}
That’s all on frame 1.
On frame one there’s also an imput text box with the instance name c1, and a next frame button.
On the next frame I have a dynamic text box witht he instance name total.
frame 2 has the AS
//imagine p1+p2+p3+p4
toatal.text=p1
}
Why dosen’t this work?