Use older SWF embed format (as Haxe rejects some valid files), but keeping the newer 'assets.swf' -swf-lib system to prevent memory problems
This commit is contained in:
@@ -637,8 +637,8 @@ class DefaultAssetLibrary extends AssetLibrary {
|
||||
#if !display
|
||||
#if flash
|
||||
|
||||
//::foreach assets::::if (embed)::::if (type == "image")::@:keep class __ASSET__::flatName:: extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } }::else::@:keep class __ASSET__::flatName:: extends ::flashClass:: { }::end::::end::
|
||||
//::end::
|
||||
::foreach assets::::if (embed)::::if (type == "image")::@:keep @:bind class __ASSET__::flatName:: extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } }::else::@:keep @:bind class __ASSET__::flatName:: extends ::flashClass:: { }::end::::end::
|
||||
::end::
|
||||
|
||||
#elseif html5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user