Felipe_AxN Posted August 14, 2010 Report Share Posted August 14, 2010 Buenas, una consulta, al ingresar la accion inicio.addEventListener(MouseEvent.CLICK, irainicio); function irainicio (event:MouseEvent):void( gotoAndStop("inicio"); ) me tira 2 errores function irainicio (event:MouseEvent):void( 1158: Error de sintaxis: falta la llave izquierda de apertura ({) antes del cuerpo de la función. ) 1084: Error de sintaxis: se esperaba identifier antes de rightparen. Alguien sabe como los soluciono? Gracias! Link to comment Share on other sites More sharing options...
nazhox Posted August 14, 2010 Report Share Posted August 14, 2010 quizas sea asi: function irainicio (event:MouseEvent):void{ gotoAndStop("inicio"); } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now