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


   Consider
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <mx:Application xmlns:mx="library://ns.apache.org/royale/mx" 
xmlns:fx="http://ns.adobe.com/mxml/2009";
                   applicationComplete="init()" 
xmlns:js="library://ns.apache.org/royale/basic" >
        <fx:Script>
                <![CDATA[
                        private function init():void
                        {
                                ml.url = "Test1.swf";
                        }
                ]]>
        </fx:Script>
        <mx:VBox>
                <mx:ModuleLoader id="ml"/>
        </mx:VBox>
   </mx:Application>
   ```
   Where Test1.mxml is
   
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <mx:Module xmlns:mx="library://ns.apache.org/royale/mx" 
xmlns:fx="http://ns.adobe.com/mxml/2009";
                      xmlns:js="library://ns.apache.org/royale/basic" >
       <mx:VBox width="100%" height="100%">
           <mx:Label text="This Label is in the module" />
           <mx:TextInput id="ti" text="This TextInput is also in the module" />
       </mx:VBox>
   </mx:Module>
   ```
   The debug version loads the module successfully but the release version will 
fail in run-time with 
   
   `TypeError: this.createElement is not a function`


----------------------------------------------------------------
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