Avoid calling the type constant TYPE.

Make a reasonable name for each.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@542 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2008-01-08 01:36:18 +00:00
parent 6e5142f938
commit d198c25780
7 changed files with 12 additions and 12 deletions
@@ -29,7 +29,7 @@ import flash.events.Event;
public class MessageReceivedEvent extends EZEvent
{
/** The type of all MessageReceivedEvents. */
public static const TYPE :String = "msgReceived";
public static const MESSAGE_RECEIVED :String = "msgReceived";
/**
* Access the message name.
@@ -50,7 +50,7 @@ public class MessageReceivedEvent extends EZEvent
public function MessageReceivedEvent (
gameCtrl :Object, messageName :String, value :Object)
{
super(TYPE, gameCtrl);
super(MESSAGE_RECEIVED, gameCtrl);
_name = messageName;
_value = value;
}