Workers in Apache Flex 4.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.

Ideas anyone :) ?

Answers


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


Need Your Help

rasterizing matplotlib axis contents (but not frame, labels)

python matplotlib plot vector-graphics rasterizing

For an article I am generating plots of deformed finite element meshes, which I visualize using matplotlib's polycollection. The images are saved as pdf.