On Sun, Sep 15, 2013 at 4:14 PM, oleg karasev <
okar...@gmail.com> wrote:
> i had tested this solutions and all of them are unsuitable
> 1) "using" and "abstract" classes cannot be extended, but there are some of
> "childs" in my project:
>
> class child1 extends my_extern_js_class
> class child2 extends child1
> class child 3 extends child2
What I mean is something like this:
extern class Foo { ... }
class FooMagic {
static public function superFoo(foo:Foo, x, y, z) { ... }
}
using FooMagic;
var f:Foo = ...;
f.superFoo(1, 2, 3);
> 2) composition.... hmmm.. wrappers? Bad solution.
More often than not, it's the best solution. But let's not get started on that.
As long as things are working for you, all is well :)
Regards,
Juraj