Hello i’m trying to control a movie clip called “nosotrosmc” with a frame label inside called “historia” but does not work
this is the code:
menu.nosotros.addEventListener(MouseEvent.CLICK, subSeccion);
function subSeccion(e:MouseEvent){
trace(""+e.target.name+"boton clicked");
this.nosotrosmc.gotoAndStop("historia");
}
the output window show this:
nosotrosboton clicked
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at HomeSonny_fla::MainTimeline/subSeccion()
I need to made a simple navigation, i’m a designer, not a programmer, as3 is confuse and very disappointing.
Somebody can explain to me what am i doing wrong ?