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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now