实现工人在AS3 [英] Implementing Worker in AS3

查看:107
本文介绍了实现工人在AS3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的项目实施,工人,但好像我不能直接导入类。我的工作我的项目,没有任何额外的库/ 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.

这篇关于实现工人在AS3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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