diff --git a/src/as/com/threerings/parlor/client/ParlorDirector.as b/src/as/com/threerings/parlor/client/ParlorDirector.as index 79f0eb0a..6d665173 100644 --- a/src/as/com/threerings/parlor/client/ParlorDirector.as +++ b/src/as/com/threerings/parlor/client/ParlorDirector.as @@ -46,6 +46,9 @@ import com.threerings.parlor.util.ParlorContext; public class ParlorDirector extends BasicDirector implements ParlorReceiver { + // statically reference classes we require + ParlorMarshaller; + /** * Constructs a parlor director and provides it with the parlor context that it can use to * access the client services that it needs to provide its own services. Only one parlor @@ -61,9 +64,6 @@ public class ParlorDirector extends BasicDirector // register ourselves with the invocation director as a parlor notification receiver _pctx.getClient().getInvocationDirector().registerReceiver(new ParlorDecoder(this)); - - // ensure that the compiler includes these necessary symbols - var c :Class = ParlorMarshaller; } /** diff --git a/src/as/com/threerings/whirled/client/SceneDirector.as b/src/as/com/threerings/whirled/client/SceneDirector.as index 878e6439..b539cadd 100644 --- a/src/as/com/threerings/whirled/client/SceneDirector.as +++ b/src/as/com/threerings/whirled/client/SceneDirector.as @@ -69,6 +69,9 @@ public class SceneDirector extends BasicDirector { private static const log :Log = Log.getLog(SceneDirector); + // statically reference classes we require + SceneMarshaller; + /** * Creates a new scene director with the specified context. * @@ -101,9 +104,6 @@ public class SceneDirector extends BasicDirector // register for scene notifications _wctx.getClient().getInvocationDirector().registerReceiver(new SceneDecoder(this)); - - // ensure that the compiler includes these necessary symbols - var c :Class = SceneMarshaller; } /** diff --git a/src/as/com/threerings/whirled/spot/client/SpotSceneDirector.as b/src/as/com/threerings/whirled/spot/client/SpotSceneDirector.as index d545fcc1..20fe345c 100644 --- a/src/as/com/threerings/whirled/spot/client/SpotSceneDirector.as +++ b/src/as/com/threerings/whirled/spot/client/SpotSceneDirector.as @@ -65,6 +65,9 @@ public class SpotSceneDirector extends BasicDirector { private static const log :Log = Log.getLog(SpotSceneDirector); + // statically reference classes we require + SpotMarshaller; + /** * Creates a new spot scene director with the specified context and which will cooperate with * the supplied scene director. @@ -83,9 +86,6 @@ public class SpotSceneDirector extends BasicDirector // wire ourselves up to hear about leave place notifications locdir.addLocationObserver(new LocationAdapter(null, handleSceneChange, null)); - - // ensure that the compiler includes these necessary symbols - var c :Class = SpotMarshaller; } /**