Flash fixes
This commit is contained in:
@@ -206,7 +206,7 @@ class FlashWindow {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Reflect.hasField (attributes, "context") && Reflect.hasField (attributes.context, "background")) {
|
if (Reflect.hasField (attributes, "context") && Reflect.hasField (attributes.context, "background") && attributes.context.background != null) {
|
||||||
|
|
||||||
stage.color = attributes.context.background;
|
stage.color = attributes.context.background;
|
||||||
contextAttributes.background = stage.color;
|
contextAttributes.background = stage.color;
|
||||||
|
|||||||
@@ -33,6 +33,11 @@ import ::APP_MAIN::;
|
|||||||
app.meta.set ("name", "::meta.title::");
|
app.meta.set ("name", "::meta.title::");
|
||||||
app.meta.set ("packageName", "::meta.packageName::");
|
app.meta.set ("packageName", "::meta.packageName::");
|
||||||
|
|
||||||
|
#if (flash && !air)
|
||||||
|
app.window.context.attributes.background = ::WIN_BACKGROUND::;
|
||||||
|
app.window.frameRate = ::WIN_FPS::;
|
||||||
|
#else
|
||||||
|
|
||||||
::foreach windows::
|
::foreach windows::
|
||||||
var attributes:lime.ui.WindowAttributes = {
|
var attributes:lime.ui.WindowAttributes = {
|
||||||
|
|
||||||
@@ -98,6 +103,7 @@ import ::APP_MAIN::;
|
|||||||
app.createWindow (attributes);
|
app.createWindow (attributes);
|
||||||
::end::
|
::end::
|
||||||
#end
|
#end
|
||||||
|
#end
|
||||||
|
|
||||||
// preloader.create ();
|
// preloader.create ();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user