Well, since you made it a variable it may be updated any time you want...
However, I think that having complex code in the static property initializer
isn't the best thing to do. It may rely on some compiler feature, that is
not documented, or, it may not be clear how exactly it will work if you
remove or add another variable. I think, that if complex initialization
cannot be avoided, then I'd rather have one function that would initialize
all the variables in the desired order.

private static function init():void
{
    var0 = "foo";
    vat1 = "bar";
}

public static var var0:String;
public static var var1:String;

Reply via email to