yishayw opened a new issue #1006:
URL: https://github.com/apache/royale-asjs/issues/1006


   In this app
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <s:Application 
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        xmlns:mx="library://ns.apache.org/royale/mx"
        creationComplete="init()"
        xmlns:comp="components.*"
        >
        <fx:Script>
                <![CDATA[
   
                        import components.MyComp;
                        
                        private function init():void
                        {
                                var myComp:MyComp = new MyComp();
                                addElement(myComp);
                                trace(myComp.nested);
                        }
   
                ]]>
        </fx:Script>            
   </s:Application>
   ```
   
   with this component
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <mx:TreeItemRenderer
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        xmlns:mx="library://ns.apache.org/royale/mx"
        implements="org.apache.royale.core.IMXMLDocument"
        >
        <s:Group>
                <s:Group id="nested"/>
        </s:Group>
   </mx:TreeItemRenderer>
   
   ```
   
   trace says myComp.nested is undefined.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to