Targeting Flash Player 11.2 - 11.4 APIs with the OpenLaszlo SWF11 runtime

蹲街弑〆低调 提交于 2019-12-11 01:36:54

问题


I've read here that there is an OpenLaszlo version capable of compiling LZX into SWF11 files for Flash Player 11.1. The SDK included with the flex4.6 branch of OpenLaszlo is - as we can tell by the name - Flex SDK 4.6.

In another discussion on the Flash context menu in OpenLaszlo it was mentioned that it is possible to target Flash Player APIs higher than 11.1 with the flex4.6 branch of OpenLaszlo.

What changes would have to be made the the flex4.6 branch to achieve this? Does that involve changing Java code within the LPS?


回答1:


Unfortunately for the flex4.6 trunk version of OpenLaszlo it's required to make few small changes in the Java source code for the Flex SDK integration to target Flash Player 11.2+ APIs.

The affected files and folders are:

  • Java classes org.openlaszlo.sc.SWF9External and org.openlaszlo.server.LPS
  • The Flex SDK folder, where the corresponding playerglobal.swc needs to be added
  • lps.properties file in WEB-INF/lps/config

I have that code ready on my machine, but I'm not willing to contribute any code to OpenLaszlo any more, therefore I won't be able to fix this in the flex4.6 branch.



来源:https://stackoverflow.com/questions/12527743/targeting-flash-player-11-2-11-4-apis-with-the-openlaszlo-swf11-runtime

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!