Class Constants Type

Hi,

I’m just being curious…

Everywhere in AS3 those constants used are string values. E.g.

StageScaleMode.NO_SCALE : String = "noScale"

What I’ve seen when I worked with JAVA for a while, those things would be rather instances of the StageScaleMode whereas the class would look like


// somethig something

public static const NO_SCALE : StageScaleMode = new StageScaleMode ( 'noScale' )

public function StageScaleMode ( type : String )
{
    this.type = type;
}

public var type : String;

Is there any reason for this apart from the possibility to set the value by yourself as stage.scaleMode = “noScale”; ?