Looks like a bug to me. Can you file it on GitHub [1]?

[1] https://github.com/apache/royale-asjs/issues

From: tranquiliste<mailto:nicolas.agut...@gmail.com>
Sent: Wednesday, July 22, 2020 8:54 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Issue when extending mx.Core.Application

Hello all,

I have a strange issue with my code.

I have a class that extends mx.core.Application and which is use in my main
mxml. It compiles without any error but do not displays anything.
There must be somtething wrong but I can't see it
Here is the code below

Thanks for your help

*TestClass.as*
package application
{
        import mx.core.Application;

        public class TestClass extends Application
        {
                /**
                 * Constructeur
                 */
                public function TestClass()
                {
                        super();
                }
        }
}
and my entry
*Test.mxml*
<appli:TestClass
        xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:appli="application.*"
        xmlns:mx="library://ns.apache.org/royale/mx"
        width="600" height="400" layout="horizontal">

        <mx:VBox>
                <mx:Label id="Toto" text="Toto"/>
        </mx:VBox>

</appli:TestClass>





-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to