Some comments laying about.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4329 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-08-17 22:16:04 +00:00
parent 1ae508f3aa
commit 79efc4dd0d
2 changed files with 11 additions and 1 deletions
+8
View File
@@ -27,6 +27,14 @@ import mx.logging.targets.TraceTarget;
* ....
*/
public class Log
// TODO: We should really change the name of this class.
// The reason for this is that when we load a client .swf we load it into
// a child ApplicationDomain so that it can share and interoperate with
// a few of our classes. Any classes we define will block classes of the
// same name being used by client swfs, as they'll instead instantiate
// our versions. Normally this isn't a problem because our classnames are
// things like com.threerings.io.Streamable, but this class is just "Log".
// So: we should fix this up.
{
/**
* Retrieve a Log for the specififed class.
@@ -2,6 +2,8 @@ package com.threerings.util {
import flash.net.ObjectEncoding;
import flash.system.ApplicationDomain;
import flash.utils.ByteArray;
import flash.utils.Endian;
@@ -32,7 +34,7 @@ public class FlashObjectMarshaller
return null;
}
// TODO: Our own encoding, that takes into account
// TODO: Our own decoding, that takes into account
// the ApplicationDomain
bytes.endian = Endian.BIG_ENDIAN;
bytes.objectEncoding = ObjectEncoding.AMF3;