royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: [royale-asjs] branch develop updated: Fixes #258. But is that a proper fix?
Date Fri, 08 Jun 2018 15:42:06 GMT
The compiler should probably report an error.  You shouldn't be able to do id="width" or even
id="id".

My 2 cents,
-Alex

On 6/8/18, 1:27 AM, "Harbs" <harbs.lists@gmail.com> wrote:

    Would defining a “parent" property on Application with a default value of null fix this?
    
    > On Jun 8, 2018, at 10:56 AM, Harbs <harbs.lists@gmail.com> wrote:
    > 
    > BTW,
    > 
    > This code causes an endless loop in MouseEvent.mouseOverHandler. The Group is the
“parent” of the application, so “parent” is never null…
    > 
    >> On Jun 8, 2018, at 2:25 AM, Harbs <harbs.lists@gmail.com <mailto:harbs.lists@gmail.com>>
wrote:
    >> 
    >>    <js:initialView>
    >>        <js:View>
    >>            <js:Group id="parent" style="padding:10px">
    >>                <js:Group id="child" x="20" y="20">
    >>                    <js:Label text="Hello"/>
    >>                </js:Group>
    >>            </js:Group>
    >>        </js:View>
    >>    </js:initialView>
    > 
    
    

Mime
View raw message