Jump to content

Error accion flash


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...