Only the last variable is exported:
class Foo
{
public var foo:String = 'foo';
public var bar:String = 'bar';
public var baz:String = 'baz';
}
No variables are exported at all:
class Foo
{
public var foo:String = 'foo';
public var bar:String = 'bar';
public var baz:String = 'baz';
public function Foo()
{
}
}
and since getters and setters are broken too, and a variation of the Void bug still exists:
class Foo
{
public function bar():Void
{
if(1 != 1)
{
return;
}
}
}
and not to mention things like the order problem that annoys the hell out of us for more than a year already, i think that classes can be considered as totally broken in SWiSH Max right now - that's a pretty bad start for a new major version if you ask me, and i'm really wondering if this stuff was actually tested at all? Do you do appropriate unit testing?
It would be nice if the scripting part would get a little more attention, seriously, we scripters (ofcourse i cannot speak for everyone, but i think many people would agreee with me on that one) don't really need stuff like the rest parameter or foreach, not only because it's AS2 incompatible "SWiSH Script", but because it doesn't give us much of a benefit at all, we all know about the arguments object and we'are writing x = y[i] in our for loops for years already, what we really need is working code and at least a little bit of real evolution. I mean, while everyone else is going for AS3 and all the new stuff around of it (me too ofcourse), with SWiSH Max we still sit on an incomplete AS2 syntax implementation with no type or interface checks, we must choose between crude scopes and slow code, and the editor, well, it's slow, it doesn't support code completion (people are asking for it since SWiSHmax1!), and it cannot even handle code folding correctly.
I always liked SWiSH Max because of it's straight forward, easy to use interface and outline concept, compared to Flash and others that was enough for some time to overcome it's scripting shortcomings, but as a person that is mostly into scripting i really feel pretty much left out for quite some time now. If this is the direction you want to go with SWiSH Max i'm fine with that, there may be many comprehensible reasons, being it personal preferences, market decisions or whatever, but then please let us know so that we can make a clear cut and move on.
It know that it might not be the right place and/or time, and i really don't want to tread on anyone's toes, but i just had to get that off my chest.
Best
Oliver













