public class App extends Object
<app> element of the Lime project.xml format.
The following example sets the main and file
fields.
<limeProject>
<app>
<main>com.example.MyApp</main>
<file>myapp</file>
</app>
</limeProject>
| Modifier and Type | Field and Description |
|---|---|
String |
file
The name of the output file.
|
String |
main
The main entry point of the application.
|
Float |
minSwfVersion
Optionally sets the minimum SWF version for `flash` and `air` targets.
|
String |
preloader
Optionally sets a class to use as a custom preloader.
|
Float |
swfVersion
Optionally sets the SWF version for `flash` and `air` targets.
|
| Constructor and Description |
|---|
App() |
public String main
<app main=""> attribute of the Lime project.xml format.
Hint: If the
<main>element is not defined, the default value will be `Main`.
The following example sets the <main> element.
<limeProject>
<app>
<main>com.example.MyApp</main>
</app>
</limeProject>
public String file
<app file="">
attribute of the Lime project.xml format.
The following example sets the <file> element.
<limeProject>
<app>
<file>myapp</file>
</app>
</limeProject>
public String preloader
<app preloader=""> attribute of the Lime project.xml
format.
The following example sets the <preloader> element.
<limeProject>
<app>
<preloader>com.example.MyPreloader</preloader>
</app>
</limeProject>
public Float swfVersion
<app swf-version=""> attribute of the Lime
project.xml format.
The following example sets the <swf-version> element.
<limeProject>
<app>
<swf-version>11</swf-version>
</app>
</limeProject>
public Float minSwfVersion
<app min-swf-version=""> attribute of the Lime
project.xml format.
The following example sets the <min-swf-version> element.
<limeProject>
<app>
<min-swf-version>11</min-swf-version>
</app>
</limeProject>
Copyright © 2023. All rights reserved.