Thanks Alex, that was driving me crazy. I'll try it today again 2016-12-10 1:03 GMT+01:00 Alex Harui <aha...@adobe.com>:
> I think I see a semi-colon after ActorVO(actorName:String = null) > > On 12/9/16, 3:59 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: > > >Hi, > > > >this simple VO > > > >package vos > >{ > > [Bindable] > >public class ActorVO > >{ > >public function ActorVO(actorName:String = null); > >{ > >this.actorName = actorName; > >} > > > >public var actorName:String = ""; > >} > >} > > > > > >is failing in something very basic: > > > >ActorVO.as(26): col: 4 The 'this' keyword can not be used in static > >methods. It can only be used in instance methods, function closures, and > >global code. > >this.actorName = actorName; > >^ > >/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/ > examples/flexjs/MDLEx > >ample/src/main/flex/vos/ActorVO.as(26): > >col: 21 Access of possibly undefined property actorName. > >this.actorName = actorName; > > ^ > >[INFO] > >------------------------------------------------------------------------ > >[INFO] BUILD FAILURE > > > > > >or I'm missing something that I can't see at this night hours?...If the > >later I'll be filling a bug tomorrow > > > >Thanks > > > >-- > >Carlos Rovira > >http://about.me/carlosrovira > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.