[flexcoders] Re: Updating Static vars

2010-05-11 Thread Amy
--- In flexcoders@yahoogroups.com, Joshua w...@... 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

[flexcoders] Re: Updating Static vars

2010-05-10 Thread Joshua
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

Re: [flexcoders] Re: Updating Static vars

2010-05-10 Thread Oleg Sivokon
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: [flexcoders] Re: Updating Static vars

2010-05-10 Thread Oleg Sivokon
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 :)