apache / apache/royale-asjs

Issue when extending mx.Core.Application

Open
#891 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

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
I use the 0.9.7 release
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*

```





```

compile options

```
{
"compilerOptions": {
"targets": ["JSRoyale"],
"source-path": ["src"],
"source-map": true,
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"html-output-filename": "TestBinding.html"
},
"mainClass": "TestBinding"
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the blank output using TestClass.as, Test.mxml, and the shown compiler options, starting with the custom Application entry point and the TestBinding mainClass setting. Trace whether the MXML VBox and Label are instantiated, and verify the result in the generated HTML; done means the example renders its visible UI or the failure is documented with a clear cause.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.