[FlexJS] airglobal.swc runtime inside JS build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[FlexJS] airglobal.swc runtime inside JS build

almirkadric
Hi there,

I was wondering how I can either convert the adobe air runtime library (airglobal.swc) to JS or if existing JS files exist? My project relies on certain classes provided by airglobal.swc and I was wondering if it was possible to use these in the Browser?

Currently I have managed to compile my application with no errors by added airglobal.swc as an external dependency however this doesn't provide the classes as JS files. So upon loading my page I get an "Uncaught ReferenceError: flash is not defined" error.

Is it possible to transpile or even use the airglobal.swc classes in the browser? or is this just wishful thinking on my part?

Best Regards,
Almir Kadric
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS] airglobal.swc runtime inside JS build

Alex Harui
Emulating the Flash Player or AIR in the browser is a hard problem.  There
are various efforts with various degrees of success.

What we are doing with FlexJS is not emulating the runtime.  Instead we
are encapsulating common patterns.  IMO this is a much easier but still
very challenging problem.

-Alex

On 4/22/17, 2:43 AM, "almirkadric" <[hidden email]> wrote:

>Hi there,
>
>I was wondering how I can either convert the adobe air runtime library
>(airglobal.swc) to JS or if existing JS files exist? My project relies on
>certain classes provided by airglobal.swc and I was wondering if it was
>possible to use these in the Browser?
>
>Currently I have managed to compile my application with no errors by added
>airglobal.swc as an external dependency however this doesn't provide the
>classes as JS files. So upon loading my page I get an "Uncaught
>ReferenceError: flash is not defined" error.
>
>Is it possible to transpile or even use the airglobal.swc classes in the
>browser? or is this just wishful thinking on my part?
>
>Best Regards,
>Almir Kadric
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-airglobal-swc-runtime-inside-
>JS-build-tp61282.html&data=02%7C01%7C%7Ccabeb35b6fb1402c8ee908d489659217%7
>Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636284516730541342&sdata=9rEw5
>UGtTaIB0ehLvd5SCliWzM6tyYX8qHtHjx9u9Qs%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.