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/MDLExample/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