Sweet!

On 6/17/15, 5:31 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:

>It works for the most part!  At some point, the code completion stopped
>working.  I am not able to get it back now.
>
>But, the good news, here is an interactive US built completely in
>ActionScript3!
>
>Working demo: http://bigosmallm.github.io/flexjs/mapexample/
>AS3 code: https://gist.github.com/bigosmallm/824147f7c439c584a09b
>JS code: Who cares? ;-)
>
>I will spend some more time building something nicer over the next day or
>so.
>
>Thanks,
>Om
>
>On Wed, Jun 17, 2015 at 3:53 PM, OmPrakash Muppirala
><bigosma...@gmail.com>
>wrote:
>
>> On Wed, Jun 17, 2015 at 3:20 PM, Michael Schmalle <
>> teotigraphix...@gmail.com> wrote:
>>
>>> 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
>>>
>>>
>> Great!  I am on it.
>>
>> Thanks,
>> Om
>>
>>
>>> 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