The "native" keyword might be useful for creating classes that provide APIs
for JavaScript libraries:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/statements.html#native

It's meant for APIs that are defined as native code in the runtime. I
suspect that this is part of how playerglobal.swc is created. The
documentation says that it "cannot be used in your own code." However, I
just did a quick test, and the compiler accepts it. The Flash runtime
throws an error when you try to run the SWF, but for our purposes, it's
just the compiler that matters.

- Josh



On Sun, May 31, 2015 at 6:02 PM, OmPrakash Muppirala <bigosma...@gmail.com>
wrote:

> On May 31, 2015 9:41 AM, "Michael Schmalle" <teotigraphix...@gmail.com>
> wrote:
> >
> > Nice, actually I am highly motivated right now. I know how much joy I had
> > when getting back into it using Feathers. I think I have told you like 5
> > times in the last 3 months. :)
> >
> > Now, I wish I had an answer of how to create a d.ts parser without using
> > 100's of dev time hours. :)
>
> Do you have an idea of how the input vs. output would look like?  Are you
> planning on creating a d.as file which has all the class and function
> definitions?
>
> Perhaps we can start with hand coding a simple example?  I can help with
> that.
>
> Thanks,
> Om
>
> >
> > Mike
> >
> > On Sun, May 31, 2015 at 12:36 PM, Josh Tynjala <joshtynj...@gmail.com>
> > wrote:
> >
> > > On May 29, 2015 1:36 PM, "Michael Schmalle" <teotigraphix...@gmail.com
> >
> > > wrote:
> > > >
> > >
> > > > The fact Josh is still highly interested in ActionScript leads me to
> > > > believe if we offer up real solutions to former AS devs, they might
> > > > actually be overjoyed to see and use it because they know we are not
> > > trying
> > > > to solve world hunger here, just offer tooling that is mature.
> > > >
> > > > Mike
> > >
> > > Some extra motivation for you, Mike. :)
> > >
> > > https://twitter.com/walpolea/status/604855031423107074
> > >
>

Reply via email to