incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Frishberg <fri...@gmail.com>
Subject Re: Odd undefined property via reference to static type compilation error
Date Mon, 09 Jul 2012 18:34:31 GMT
In ActionScript, it looks like this doesn't work:

class A
{

public var minHeight:Number = 9;

protected var minHeight2:Number = this.minHeight;

}

Someone who knows ActionScript in more detail can probably explain why the
compilter/runtime can't figure out what "this" should refer to when
initializing class properties.

-Ryan

On Wed, Jul 4, 2012 at 5:53 PM, Justin Mclean <justin@classsoftware.com>wrote:

> Hi,
>
> > BTW, is this an issue in Adobe Flex 4.6 as well?
> Yep issue with both 4.6 and 4.8 and couldn't find an existing JIRA report
> for it.
>
> Justin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message