在阿帕奇的Flex 4.7工人工人、阿帕奇、Flex

2023-09-08 11:50:14 作者:渣

有没有人已经能够使用的工人在AIR应用程序使用Flex构建的4.9.1和AIR 3.7? 我想给它一个尝试的一个项目,但只要我有/设置像李布赖姆洛作出的教程中的工人,我的应用冻结。这意味着:它不会启动。编译器编译,我得到在控制台中的信息文本,但无论我的窗口打开,也没有我没有我的任何事件被解雇。

has anyone been able to use Workers in AIR Application built with Flex 4.9.1 and AIR 3.7? I wanted to give it a try for a project, but as soon as I include/setup the worker like in the tutorial made by Lee Brimelow, my Application "freezes". Which means: It does not start. The compiler compiles, I get the info-text in the console, but neither my window opens nor my does any of my events get fired.

想法吗:)?

推荐答案

很简单的解决方案。只需添加

Quite simple solution. Simply add

-swf-version=XX //XX must be >=17

作为一个编译器参数和它的作品。我认为这是有点不可思议,因为我使用AIR 3.7,但没关系,不惜一切代价:)

as a compiler argument and it works. I think this is a bit weird, since I am using AIR 3.7 but okay, whatever it takes :)

 
精彩推荐
图片推荐