ActionScript 3: Void is now void
Tuesday, January 31st, 2006One small gotcha in the Flex 2 Beta 1 build that a lot of ActionScript coders may get caught up on. Make sure your Void’s, usually used at the end of a function that returns squat, are changed to void. Note the lowercase “v”.
So this:
protected function hello():Void
{
}
Becomes this:
protected function hello():void
{
}