flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject [FALCON] MXML protected vars as attributes
Date Wed, 25 Sep 2013 19:10:37 GMT
@Gordon (mostly):

I ran into a situation where someone is setting protected variables via
MXML attributes.  Is this "allowed"?  I thought MXML attributes were only
for public properties.  MXMLC lets this happen.  Falcon does in one case,
but not another.  What should Falcon do?

MXMLC and Falcon allows:

     protected var foo:int;

<Base foo="1" />

MXMLC allows, but Falcon doesn't like:

<s:Group foo="1">
    protected var foo:int;

IOW, Falcon is ok with seeing protected vars on the base class but not new
protected vars on the actual class.


View raw message