Help: I need to make air.worker to work in my HTML only adobe air

I need to make air.worker to work in my HTML only adobe air. I see airAliases.js has those definition.
There is no guide or tutorial in how to use them. Can someone direct me example of how to use them?
Also worker do not work in Adobe air.
/*  Main thread
var worker =  air.Worker('assets/js/test.js');
// Setup an event listener that will handle messages received from the worker.
worker.addEventListener('message', function(e) {
  // Log the workers message.
  alert(e.data);
  console.log(e.data);
}, false);
worker.postMessage('Hello World');
/* File: test.js
// Setup an event listener that will handle messages sent to the worker.
self.addEventListener('message', function(e) {
  // Send the message back.
  self.postMessage('You said1: ' + e.data);
}, false);
above code work in ff browser but do not work in adobe air preview mode. It say worker not defined. Is it same as air.worker?
thans
alexk

I have no experiance with workers in AIR, but I think you are assuming that things work like HTML5 web workers, which they do not.  Check out the ActionScript3 dpcs to see how they work:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.htm l
Not sure how you can bridge the webkit environment with AS3 workers.  Seems to be unchartered territory.
Best,
Mike

Similar Messages

  • I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, just one big clip,,,pls help, i need to make some changes to the project..thanx

    I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, text's, effects, etc..... just one big clip,,,pls help, i need to make some changes to the project..thanx

    Hi Stephen, thanx...
    Yes, we are talking about FCP X...this is the thing:
    I worked on a project a few days ago and went to share - export movie.
    Today, i opened the FCP again, to make some changes, and when i enter to the project, it shows me as one big clip.....i dont see it says compound clip....and i tried anyways pressing break appart clips...but nothing....could it be that i made it compound before exporting it..? if so how can i recover the un-compound version >?
    I tried to import the saved .mov file, but it opens the same....as one long clip...
    Pls help...thanx.

  • In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    Go to System prefs
    Select Mail Contacts and Calendars
    Then select Other
    Then select "Add a Mail Account and click create
    Then go to google for the settings you need:
    First here for the settings online at gmail http://tinyurl.com/du3fu
    Then here for the setting in mail http://tinyurl.com/38fevm8
    These are instructions for Mail 4.0 but all of the necessary settings should be listed.

  • I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?

    I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?  Or what do I need to do at this point?

    Thank you Shootist007.  I appreciate it!

  • Files needed to make ipod work have gone

    i plugged my ipod into my computer for charging, and 10 seconds later a message came up saying something like (but not exactly,)"Your Disk Drive (/F) is malfunctioning so all files were deleted." These included the files nessessary to make it work such as the 4+ folders with all the files in. is there any where that i can get them back? Also by computer ONLY recognises it as a removable disk drive and when i try ipod updater it says "Please Insert an iPod into your Computer"
    Thank You

    See if you can format it. If you can, then do a restore.
    Open My Computer and find the iPod.
    Make ABSOLUTELY SURE that this is your iPod.
    Right click on it, and click on Format.
    Select the Quickformat option.
    Click Start.
    Let the iPod format... if it goes through, restore the iPod.
    Just to let you know, this can cause your computer to react extremely slowly... just give it time and be patient. If you click on too many things trying to speed it up, you'll end up making it take longer.
    Best wishes,
    CG
    PS- Give this article a shot as well:
    http://docs.info.apple.com/article.html?artnum=93499

  • Help! need to make flash 5 script work for flash 8

    hey guys,
    I have a menu bar slider that was created in flash 5 - but of
    course once I bring into flash 8 the action script ceases to work
    correctly.
    its probably very quick fix, but im a bit lost here, tried
    everything.
    anyone able to quickly skim over my code and tell me whats
    wrong? and how to update it to flash 8?
    heres the FLA
    http://www.designedmemory.com/slide.fla
    really have to figure this out ASAP -
    best,
    Matthew

    well this is a mess, and I don't have the time like I thought
    I would, sorry.. Here are the basics though that should get you
    through it. You'll have to change some variable names, because
    there are some names that are reserved, like, new.
    /:variableName should be _root.variableName, ../variableName
    should _parent.variableName, movieClip:property should be
    movieClip.property and so on

  • Plz help, how do i make .sis work on my phone

    hey everyone i would be very grateful if you can help me on how to make .sis files work on my phone[k750i], i tried to convert it into a jar nd then put in on my phone but it still didnt work.im kinda new and i dont know how to make .sis files work on my k750i.HELP! plz........

    .sis is a symbian program, not a java file of any sorts. You can't get it to work on k750i or any sony ericsson phone.
    This is a forum for java developers, not for you.

  • HELP! adope pdf maker stopped working after update!

    i'm not very computer savy. i use adobe primarily to convert several word documents into a larger pdf file (legal document).  i use word 2007, run windows 7.  have adobe acrobat pro 9 (friend gave to me).  it has worked fine for the past year but after a recent update (within the past week) i have been unable to convert any word/excell docs into pdfs.  it gives a generic error messages that says "an unexpected error occurred. PDFMaker was unable to produce adobe pdf.  i have tried repairing adobe install (under help menu in adobe).  i have also tried to reinstall the software but nothing seems to fix this issue.  i did not appear to be limited to word. i was unable to convert excell docs.  i am able to "publish" a word doc into a pdf.  once the document is a pdf i am able to do merge files.  however if i published it, i have to arrange the pages one by one (some files are over 100 pages).  any suggestions?

    Even though this was not posted 2 weeks ago, and it remains unanswered - I'm experiencing similar problems so thought I'd add to this one.
    XP Pro SP 3
    Acrobat 6.0.6
    Reader 9.5.0
    Elements 10.0
    Photoshop CS 8.0
    MS Office 2003 SP 3
    Acrobat 6 worked fine, converting all manner of files to PDFs, and it even got embedded links to websites correct. 
    Yesterday, it failed.  From Make PDF, after opening a Word File, focus goes back to Acrobat and the active window remains gray.  The file is not created.  Acrobat hangs or quits.
    I had updated Elements from 7.0 to 10.0 a few days earlier.  Thinking the installation must not have gone well, I un-installed Elements and Acrobat, reinstalling Elements first, then Acrobat, restarting the computer at every reasonable opportunity.
    It is still broken.  How is it that a tried and true application from such a respected developer suddenly fails?
    Anyone know what the problem is and how to cure it?
    NOTE: Adobe support refuses to even speculate.  The reason:  they no longer support Acrobat 6.

  • Help, Newbie needs ability to access work web page , must read "iform html tag "

    Hello, we recently got a blackberry curve 8330, carrier verizon.  My husband must be able to get to his work web site which apparently requires that our browser support "iframe html tag".  We have upgraded as to what verizon supports which is v4.3.0.127 (platform 3.1.0.72).  Verizon tech support said that their are other OS available for blackberry that they do not support (although they did not tell me where/who/what).  They said we could purchase/download them and then we would just have to receive tech support from that company rather than verizon.
    By the way, we already have the boxes checked under browser options:  support javascript, allow javascript popups, support html tables, and show images on wml & html pages.
    Does anyone know what these OS are, where to find them, etc?  Does blackberry have a version we could purchase/download?
    Thank you!

    I have Verizon as well, I have read that OS 4.5 (latest for 8330 Curve) will be out in August.
    While this is not a recommendation to upgrade to an unsupported OS, if you need it you can follow the link below.
    Basically it's a procedure for downloading and installing OS 4.5. It's free by the way!
    http://www.blackberryfaq.com/index.php/How_do_I_upgrade_the_OS_on_my_BlackBerry%3F
    Hope this helps!
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Need help: Apple TV / iPad airplay did work, but now does only partially.

    Until today, my iPad and iPod Touch have worked flawlessly with my Apple TV.  I've made no changes to any device or network settings, but now my iPad won't mirror or even play sound through my TV setup.   Strangely, my iPod still can.  Also, both devices can still control the Apple TV itself using the remote app.
    What happens is that the toggle. Switch flips back from Apple TV to IPad almost instantly.  A couple times I was able to get the mirroring toggle to stick and actually show up on the TV for a few seconds, but it never lasts and it will not accept the audio even for that second (whatever is playing pauses).
    I've rebooted the iPad and that hasn't helped.
    Ideas?

    Update:  the iPod WAS working with AirPlay, but it turns out to be intermittent.  Three consecutive attempts now when trying it the same thing happens:  for a moment the airplay icon will display blue, then it hangs a few seconds, the icon turns white again and the audio pauses.  Wile typing this it finally worked on the fourth attempt.

  • Help now please Cant make links work imported from PhotoShop6

    I made slices in Photoshop6 which work when tested in Image ready but when I bring them into GoLive6 cant get to work? Saved as gif, psd, bmp?

    >Dont see where to "copy" inthe save to web window.
    Don't know what you mean by that. When it asks where you want to save the HTML and images, you can point it to a folder in your GoLive site. Otherwise, you could just save it wherever and copy whatever it exports into GoLive (or Dreamweaver) later.

  • How much ram is needed to make it work the best it can?

    i have a g4 and a crappy pc monitor. how much ram can this mac take and how do i get the most out of imovie? thanx a mill!!

    i have a g4 … how much ram can this mac take
    a G4 swallows up to 1.5GB of RAM...
    my experiences: MacOsX under 800MB is no fun...
    afaik, iM doesn't profit that much of more'n more RAM,
    I think 1GB is a good compromise for your demands&wallet...
    a better CPU increases speed dramatically,
    G4, G5, dual, quad, Intel... in that order...

  • HT4571 i cannot text messages using my ipad. please explain what i need to do to make this work

    i have an ipad wifi celluar and cannot text. Is there something i need to do to make this work?

    You can only use iMessage by turning on in settings, sign up with your email.
    You can only text other Apple users that also turn on iMessage.   You must use their email unless they have an iPhone.
    You can't text to non apple devices.

  • Urgent:Please Help. Need to deploy web application with servlet:(

    Tomcat 4.0 is already installed.
    Trying to deploy a web application and invoke a servlet through it.
    Here is the command I am using for deploying the application:
    http://localhost:8080/manager/install?path=/NewApplication&war=file:d:\Tomcat4\webapps\NewApplication
    The application get deployed. However, I have a problem. As soon I stop and restart the server, this application is gone.
    1. Please someone help: How should I make it permanent so that the application stays even if I restart the server.
    2. I am not able to access the servlets placed in the /WEB-INF/classes/ sub-directory under NewApplication directory.
    If you need I can cut and paste the web.xml file which will show the deployment descriptor.
    Please help: How do I make this work. I need it urgent.
    Any help will be appreciated.
    Thanks,
    Indrasish.

    The simplest solution would be to put the war file inside the webapps directory and restart the server. You should be able to access the app using the http://servername/app

  • How can I make it work with my iPad?

    I bought a wireless Hp6500 all in one printer yesterday. It works with my Mac Pro laptop... Now what do I need to make it work with my iPad?

    Is it a 6500 or a 6500A?  If the former, it will not support AirPrint, if the latter it will.
    It has to be connected to your network (wired or wireless, it does not matter), not just to a computer with USB.
    Once connected to your network, enable web services from the front panel of the printer and let it check for updates.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • Can set any IP on ACS 4.0 SE - accept the one I need

    We are trying to upgrade from an ACS 3.2 for Windows server to our new ACS 4.0 SE box. We have upgraded the Windows box to 4.0, backed up the configuration and restored it to the new box. We have pointed a couple of clients to the new box for testing

  • Links in google search don't work

    Occasionally links in Safari/google do not lead to url.  Like the link is stuck.

  • Custom infotype display in ESS ERP 2004

    Hi gurus, The personal information infortype and address infotype of the system has custom fields. In ESS for ERP2004 how do I display these fields in the personal information and address iViews. I guess these do not come by default. Then how do we g

  • BAPI From ORACLE Form 6 i

    Hi all, I am trying to learn BAPI. I have created one simple BAPI for material Info, in which i am giving material Number (MATNR) as input and collecting Info like MATNR,WERKS,MBLNR,MENGE,MEINS of that material. BAPI is working fine in SAP and i am g

  • Basic Authenticate with by using other tables

    Hi I already have user table, group table and also password. I have my package to authenticate of my users. How I can do ??? null