Well I got it to compile on one condition. I had to turn on the emit props
and methods for the interfaces.

The actual classes themselves have all the definitions. There are major
conflicts with the SVG* interfaces and some base stuff.

Example; Element.style is CSSStyleDeclaration, in SVG it redeclares this on
SVGStylable as a different type.

So Om, I compiled the SWC and just put it on my server for you to try,
before I commit anything, you need to see if it works the way you need.

http://www.teotigraphix.com/assets/JS.swc

Mike


On Wed, Jun 17, 2015 at 6:16 PM, Alex Harui <aha...@adobe.com> wrote:

>
>
> On 6/17/15, 2:47 PM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:
>
> >Ah this is a nasty file to deal with, it's generated from IDL and has
> >10,000 lines with massive interfaces that have to have their prototypes
> >transformed to get/set.
>
> I’m not sure I understand the part about prototype transformation.  I only
> saw one get/set pair that could be a property.  Lots of .setXXX calls take
> multiple parameters.  Does it make it easier if you don’t have to do the
> transformation?
>
> If you can get this file to convert to AS even procedurally, I’ll find a
> way to get it into the build and JS.swc.
>
> >
> >Who thinks I can do this? Haha
>
> If there is anyone who can do it, it would be you ;-)
>
> -Alex
>
>

Reply via email to