--- In flexcoders@yahoogroups.com, "Joshua" wrote:
>
> Thanks for the input... I might give that a whirl. just as an FYI for me, or
> I guess an FMI can you do what I was trying to do initially? I'm still doing
> some searching, but not finding much on updating static vars or partially
> ca
private static function init():Boolean
{
var0 = "foo";
vat1 = "bar";
return true;
}
public static var var0:String;
public static var var1:String;
private static var _initialized = inti();
Clicked "send" to fast :)
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
re
Thanks for the input... I might give that a whirl. just as an FYI for me, or I
guess an FMI can you do what I was trying to do initially? I'm still doing
some searching, but not finding much on updating static vars or partially
calling a constructor... Oh, that just gave me an idea.
--- In
4 matches
Mail list logo