实现工人在AS3工人

2023-09-08 13:58:43 作者:柚稚

我想在我的项目实施,工人,但好像我不能直接导入类。我的工作我的项目,没有任何额外的库/ SDK例如Flex,而且,我的工作在Flash Professional中。我一直在研究这个事情一段时间让我明白了,工人类如何运作,但我无法弄清楚如何真正实现它。当我尝试使用code以下行来导入Worker类:​​

I want to implement Worker in my project but it seems like I cannot directly import the class. I am working on my project without any extra libraries / SDK such as Flex, furthermore, I am working on Flash Professional. I've been researching about this matter for awhile so I understand how Worker class functions but I cannot figure out how to actually implement it. When I try to import the Worker class using the following line of code:

import flash.system.Worker;

它说,有没有这样的类在控制台称为工人。

It says there is no such class called Worker in the console.

推荐答案

工人

运行时版本: 的Flash Player 11.4 的,AIR 3.4

Runtime Versions: Flash Player 11.4, AIR 3.4

你确定你的目标的Flash Player 11.4?这是一个相当新的版本。

Are you sure you're targeting Flash Player 11.4? It is quite a recent version.