문제

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.

도움이 되었습니까?

해결책

Pay due attention to the Flash Player version requirements for Worker:

Runtime Versions: Flash Player 11.4, AIR 3.4

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top