I can't solve the problem with the Worker class in ActionScript project. I get:
VerifyError: Error #1014: Class flash.system::Worker could not be found
As i searched, VerifyError means that the SWC file is corrupted. How should i fix it ?
Code is simple (Variable of worker Declared) and no additional code except this worker exists.
Tried updating playerglobal SWC with the newest 16 version. Tried updating my Adobe flash professional 5.5, Flash player.
In my projects settings the latest player i can choose to work with is "Flash player 10.2". How could i update it ? or is it the latest ?
import flash.System.Worker;
public class workerService extends Sprite {
var worker:Worker;
public function workerService() {
}
}
Thanks in advance.
That's because the worker class got implemented in Flash Player version 11.4. I'm not sure how to update the SDK in Flash 5.5 though, but maybe this link helps: https://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional1.html
Or just use an ide like flashdevelop.