/** * @see ru.teachbase.behaviors.DragBehavior */ function get dragBehavior():DragBehavior; /** * @see ru.teachbase.behaviors.DragState */ function get dragState():String; }
createWorker():void { // create the background worker var workerBytes:ByteArray = new BgWorker_ByteClass(); var bgWorker:Worker = WorkerDomain.current.createWorker(workerBytes); // listen for worker state changes to know when the worker is running bgWorker.addEventListener(Event.WORKER_STATE, workerStateHandler); // set up communication between workers using // setSharedProperty(), createMessageChannel(), etc. // ... (not shown) bgWorker.start(); }
development, and a promise that the same code will run on both leading mobile platforms. Often, the pitch goes as far as to say that your existing team of front- end developers, already well-versed in JavaScript, can build a companion mobile app with just minimal training. тут должен был быть скрин из блога