@@ -224,7 +224,6 @@ class TreeView
}
public static function init(scene2d) {
- Res.loader = new hxd.res.Loader(new hxd.fs.LocalFileSystem("res"));
s2d = scene2d;
if(cont == null) {
@@ -819,6 +819,7 @@ class Viewer extends hxd.App {
static function main() {
+ hxd.Res.initEmbed();
inst = new Viewer();
if( flash.system.Capabilities.playerType == "Desktop" )
initAIR();