Closed cjmxp closed 11 years ago
@cjmxp applicationDomain isn't implemented on non-flash targets
I've added applicationDomain to LoaderInfo, to help more of your code cross-compile. HTML5 and C++ don't support multiple ApplicationDomains, but I believe the code should still work consistently now.
package io.nme.samples.nyancat;
import flash.display.Sprite; import flash.display.Loader; import flash.events.Event; import flash.net.URLRequest; import flash.Lib; import openfl.Assets;
class NyanCat extends Sprite { private var loade:Loader;
} //=========================================================== package io.nme.samples.nyancat;
import flash.display.Sprite; import flash.display.Loader; import flash.events.Event; import flash.net.URLRequest; import flash.Lib; import openfl.Assets;
class NyanCat extends Sprite { private var loade:Loader;
}
/*
Source/io/nme/samples/nyancat/NyanCat.hx:25: characters 8-49 : flash.display.Loa derInfo has no field applicationDomain
*/