Attempt to call unloadAndStop(), but remain compileable for flash 9
for the time being. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@772 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -20,16 +20,19 @@ public class LoaderUtil
|
|||||||
} catch (e1 :Error) {
|
} catch (e1 :Error) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
// try {
|
try {
|
||||||
// loader.unloadAndStop();
|
//loader.unloadAndStop();
|
||||||
// } catch (e2 :Error) {
|
loader["unloadAndStop"]();
|
||||||
|
trace("content unloadAndStopped");
|
||||||
|
} catch (e2 :Error) {
|
||||||
// hmm, maybe they are using FP9 still
|
// hmm, maybe they are using FP9 still
|
||||||
try {
|
try {
|
||||||
loader.unload();
|
loader.unload();
|
||||||
|
trace("content unloaded");
|
||||||
} catch (e3 :Error) {
|
} catch (e3 :Error) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user