Workers in Apache Flex 4.7

寵の児 提交于 2020-01-16 19:34:48

问题


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.

Ideas anyone :) ?


回答1:


Quite simple solution. Simply add

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

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 :)



来源:https://stackoverflow.com/questions/16346249/workers-in-apache-flex-4-7

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