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
@@ -30,7 +30,7 @@ import flash.events.Event;
public class PropertyChangedEvent extends EZEvent
{
/** The type of a property change event. */
public static const TYPE :String = "PropChanged";
public static const PROPERTY_CHANGED :String = "PropChanged";
/**
* Get the name of the property that changed.
@@ -71,7 +71,7 @@ public class PropertyChangedEvent extends EZEvent
gameCtrl :Object, propName :String, newValue :Object,
oldValue :Object, index :int = -1)
{
super(TYPE, gameCtrl);
super(PROPERTY_CHANGED, gameCtrl);
_name = propName;
_newValue = newValue;
_oldValue = oldValue;