使用OpenLaszlo SWF11运行时定位Flash Player 11.2 - 11.4 API [英] Targeting Flash Player 11.2 - 11.4 APIs with the OpenLaszlo SWF11 runtime

查看:206
本文介绍了使用OpenLaszlo SWF11运行时定位Flash Player 11.2 - 11.4 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读此处有一个OpenLaszlo版本能够将LZX编译为Flash Player 11.1的SWF11文件。包含在OpenLaszlo的flex4.6分支中的SDK是 - 我们可以通过名称--Flex SDK 4.6来分辨。



在另一个关于 OpenLaszlo中的闪存上下文菜单有人提到,可以使用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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆