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) {
|
||||
// ignore
|
||||
}
|
||||
// try {
|
||||
// loader.unloadAndStop();
|
||||
// } catch (e2 :Error) {
|
||||
try {
|
||||
//loader.unloadAndStop();
|
||||
loader["unloadAndStop"]();
|
||||
trace("content unloadAndStopped");
|
||||
} catch (e2 :Error) {
|
||||
// hmm, maybe they are using FP9 still
|
||||
try {
|
||||
loader.unload();
|
||||
trace("content unloaded");
|
||||
} catch (e3 :Error) {
|
||||
// ignore
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user