Hi Nicolas,

although I have 0 experience with emulation your class seems right to me.
Maybe the problem is something else in your configuration or setup?

El mié., 22 jul. 2020 a las 7:54, tranquiliste (<[email protected]>)
escribió:

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


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to