Loading modules from an AIR desktop app

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

Loading modules from an AIR desktop app

After24
Hi,

In the process of migrating a large application to a desktop AIR application
I'm having difficulties with modules : the application is composed of
several libraries and 15 modules. Everything work fine when running the app
from the IDE (Intellij) where main swf and modules are generated in the same
directory but I would like to upload those modules on a server and let the
main swf download them at runtime.

In this case I get a "SWF is not loadable module" error.

I found a link of a proposed solution on adobe JIRA (
http://bugs.adobe.com/jira/browse/SDK-15393
<http://bugs.adobe.com/jira/browse/SDK-15393>   but it seems to be dead.

Does anyone has an idea on how to solve this issue ?

Thank you.

Vincent.



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Loading modules from an AIR desktop app

Alex Harui-2
Assuming the module doesn't rely on the server's security domain, I think most folks do this:

http://codes.widged.com/node/36

HTH,
-Alex

´╗┐On 5/15/18, 3:31 AM, "After24" <[hidden email]> wrote:

    Hi,
   
    In the process of migrating a large application to a desktop AIR application
    I'm having difficulties with modules : the application is composed of
    several libraries and 15 modules. Everything work fine when running the app
    from the IDE (Intellij) where main swf and modules are generated in the same
    directory but I would like to upload those modules on a server and let the
    main swf download them at runtime.
   
    In this case I get a "SWF is not loadable module" error.
   
    I found a link of a proposed solution on adobe JIRA (
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.adobe.com%2Fjira%2Fbrowse%2FSDK-15393&data=02%7C01%7Caharui%40adobe.com%7Cf999be1b7728409cb14e08d5ba4efdf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636619770891517234&sdata=aIYD7z8rxOIjQ6gkQVF7rR0R%2B3CLkeacDxTV44fVBlo%3D&reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.adobe.com%2Fjira%2Fbrowse%2FSDK-15393&data=02%7C01%7Caharui%40adobe.com%7Cf999be1b7728409cb14e08d5ba4efdf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636619770891517234&sdata=aIYD7z8rxOIjQ6gkQVF7rR0R%2B3CLkeacDxTV44fVBlo%3D&reserved=0>   but it seems to be dead.
   
    Does anyone has an idea on how to solve this issue ?
   
    Thank you.
   
    Vincent.
   
   
   
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cf999be1b7728409cb14e08d5ba4efdf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636619770891517234&sdata=Zdh62ro3ZHIM3AtUvl1EKuFzQhroIwF6mBtmBZkeUbk%3D&reserved=0
   

Reply | Threaded
Open this post in threaded view
|

Re: Loading modules from an AIR desktop app

After24
Hi Alex,

Yes this solution works. There is an interesting post about this subject
here :
https://medium.com/aaronhardy/loading-a-remote-module-into-a-local-app-148963467a47
<https://medium.com/aaronhardy/loading-a-remote-module-into-a-local-app-148963467a47>  

Thank you for the answer.

Vincent.





--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/