问题描述
我已阅读有一个OpenLaszlo版本能够将LZX编译为Flash Player 11.1的SWF11文件。包含在OpenLaszlo的flex4.6分支中的SDK是 - 我们可以通过名称--Flex SDK 4.6来分辨。
在另一个关于有人提到,可以使用OpenLaszlo的flex4.6分支定位Flash Player API高于11.1。
flex4.6分支需要做些什么改变才能实现呢?这是否涉及在LPS中更改Java代码?
不幸的是,对于flex4.6中继版本的OpenLaszlo, Flex SDK集成的Java源代码中的一小部分更改,以针对Flash Player 11.2 + API。
$ b
受影响的文件和文件夹为:
- Java类org.openlaszlo.sc.SWF9External和org.openlaszlo.server.LPS
- Flex SDK文件夹,其中相应的需要将playerglobal.swc添加到WEB-INF / lps / config中
- lps.properties文件
我的代码已经准备好在我的机器上了,但我不愿意再向OpenLaszlo提供任何代码,因此我无法在flex4.6分支中解决这个问题。
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?
解决方案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.
这篇关于使用OpenLaszlo SWF11运行时定位Flash Player 11.2 - 11.4 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!