Bug in navigateToURL? (AIR HTML/JavaScript) window name parameter not working

Hi,
I have to popup the default browser from a HTML/JavaScript application.
All links on the Air page should be opened in the same tab in the same browser window that was opened by the first click on a link.
The code I use is
var urlString = "http://www.adobe.com";
var request = new air.URLRequest(urlString);
air.navigateToURL(request, "myNewWindow");
The myNewWindow parameter does not seem to be taken into account:  a new tab is opened on every click.
I created a new Air application in Aptana and added the following straightforward code to it:
<html>
    <head>
        <title>navigateToURLTest</title>
        <script type="text/javascript" src="lib/air/AIRAliases.js"></script>       
    </head>
    <body>   
<a href="http://www.google.com"
            onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">New Tab</a>
        <br />
        <a href="http://www.adobe.com"
            onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">Same Tab</a>
    </body>
</html>
Same problem.
Does anyone have any idea?
Thanks

Is there really nobody who can answer or at least try to reproduce this? 
It's just creating a new Air HTML/Javascript application with one link with a named window target!

Similar Messages

  • BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    BUG in iOS7: Post iOS7 upgrade, search option does not work for "Messages". If you want to search a contact name in Messages who is way below the list, the search will not yield any result.

    These are user forums. You are not speaking to Apple here. Report your problem at Apple Feedback.

  • I am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help

    i am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help from your side.

    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    I never install system modifications myself, and I don't know how to uninstall them. You'll have to do your own research to find that information.
    Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmyrmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button.
    You generally have to reboot in order to complete an uninstallation.
    If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    You may be advised by others to try to remove complex system modifications by hunting for files by name, or by running "utilities" that purport to remove software. I don't give such advice. Those tactics often will not work and maymake the problem worse.

  • Windows update does not work after using System recovery disk

    I have a Toshiba Satellite c655 with WIndows 7 64 bit Home premium. The hard drive died on it, so I purchased a new hard drive and purchased the appropriate Recovery media from Toshiba. I followed the directions and installed the 3 disks on to the new hard drive. But Windows update does not work I get the following error: Windows update can not currently check for updates, because the service is not running. You may need to restart your PC    No matter what I try, I can not get it to work. And it will not let me install Windows Defender either. Any ideas or help would be appreciated. Thank you in advance for your time on this matter.
    Solved!
    Go to Solution.

    I get errors saying A problem is preventing the troubleshooter from starting.
    That makes two similarities to the following thread. Both Windows Update and Troubleshooters fail to work correctly.
       Trouble with reinstall of Win7 64 on a L505-ES5018
    The fix was to install a new hard disk driver.
       Intel Rapid Storage Technology
    -Jerry

  • I just connect one monse to my MacBook Air and now my keybord is not working

    I just connect one monse to my MacBook Air and now my keybord is not working
    What to do?

    lrfrustrated wrote:
    I just downloaded Adobe XI onto my macbook air and now I cannot save or print any PDF files. Will not let me do Print-Save as PDF, and if i do Save as i get a message saying that the file is corrupted. I had NO PROBLEMS at all doing this many times until i downloaded the new version. I have uninstalled and reinstalled, to no avail. I am super frustrated.
    Print>Save as PDF - uses Preview (part of OS X), so Adobe Reader should have no effect on that at all.
    As to the "damaged file" error, simply uninstalling the Reader app won't affect it. Do the following:
    Mac HD/Library/Internet Plug-ins
    Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files
    Mac HD/Applications
    Trash the Adobe Reader app
    [user]/Library/Preferences
    Trash the com.adobe.Reader.plist file
    To access the [user]/Library, hold the "Option" key and click "Go" from the FInder menu.
    Mac HD/Library/Application Support/Adobe
    Trash the Reader folder (the whole folder)
    Empty the Trash.
    Download the FULL installer here: http://get.adobe.com/reader/enterprise/
    Quit your browser and reinstall Reader.
    Launch it from the Applications folder and accept the license agreement.
    You should have no problems downloading PDFs with Safari.
    Unfortunately, ANY PDF that says it's damaged.... is. You'll have to trash them.

  • Self.close() or window.close() both not working in iOS8.0.2 safari

    Both these function(self.close() and window.close()) are not working in safari.
    These methods are used to close the tab currently opened.
    So, if there is any workaround for this.

    if you have programming questions then you should likely post them in the developer forums rather than the normal forums
    Developer Forums

  • New Release QuickVPN client 1.4.0.5 for windows 7 does not work????

    New release of QuickVPN client version  1.4.0.5  for windows 7 is not working properly.
    We can not connect; instead we receive this message:
    "Remote Gateway is not responding, do you want to wait?"
    Dear Cisco,,,,
    Your release is not complete; please correct issue and advise after it has been tested.
    Rgds, EM

    Hi, first disable this POLSTORE.DLL again in your QuickVPN-Folder. Then start in this folder IPSEC.MSC and than IPSEC.EXE. You should get from IPSEC.EXE  the error above. If not, than any other problem you have. Follow all the hints here in this thread.
    If you get the same error above, than enable this POLSTORE.DLL again and start the IPSEC.EXE. You get the full info what has been gone. And within the IPSEC-Window for Local Computer you may find this FREESWAN-setting.
    B.t.w. before I went this way I did export and import the IPSEC-settings from the XP-machine, as it was hinted some posts earlyer. But the way I have gone, works also with manualy deleting the FREESWAN config. With the IPSEC.EXE it will new generated in any case.
    When you start via QuickVPN you may monitor also what happens within this IPSEC for Local Computer. Press F5 to keep it aktual.
    From time to time the connection gets only succeeded after the second and more times. I have a very slow UMTS Internet-Access.
    Juergen
    Adding: These effects, getting not connected, first and during the VPN-Tunnel exists, has not changed since the top-first Version of Quick-VPN.
    Dear customer, be patient, don't care about these stupid messages, click again or when the connection allready has succeeded through the VPN-tunnel do what you did like to do.
    ...... and again, with which configuration-scenario do the guys at Cisco test and develop .....
    Fortunately, I never was a Cisco partner, only a poor user ;)

  • Satellite A300-1EH - windows installer does not works accurately

    Hello, this is my first post on this forum!
    My windows installer does not works accurately.
    What to do?
    Soryy but i dont now much about computer systems.
    Have I to reinstall this installer?
    I'm waiting for your replys.

    >My windows installer does not works accurately.
    What do you mean exactly? Do you see some error? What happen exactly?
    Maybe your CD is scratched or damaged.

  • Windows 7 Updates not working since Infinity insta...

    Hi All,
    I've had Infinity for a week and Windows updates have not worked since. My permissions are the same and i have Admistrator access.
    The error code is 80070005
    I have done a system restore which has removed Explorer 9 and am still having the same problem
    Can anyone help me?
    Thanks
    Amanda

    Same as the others my Win7 updates ok.
    Hi,
    The error code 80070005 usually means that you do not have enough permission to install updates.
      First please confirm you have logged on an account with administrative privileges.
      I suggest you to reset Windows update components and run Fix it.
      Visit this link for information on how to reset windows update components:
      http://support.microsoft.com/kb/971058
    iechyd da
    sky twitter account a customer ask why sky go streams are worst then sd and yet bt and eurosports apps stream in hd. Reply from mod, oh thats easy the files for hd are some huge that sky go can't play them and no app can stream hd due to this and so when they say they are they're really sd streams, if there was any way around this we would have done it now.

  • My new macbook air and new thunderbolt monitor will not work together. the keyboard will not engage and the monitor screen keeps going black. is it a problem with the monitor, connection, laptop?

    my new macbook air and new thunderbolt monitor will not work together. the keyboard will not engage and the monitor screen keeps going black. is it a problem with the monitor, connection, laptop?

    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare. They will help you.
    Best.

  • Hi there, I have a problem with my iPod Classic (from 2009). Everytime I connect it to my computer (Windows), iTunes does not work anymore. Music is automatically deleted on my iPod. Any suggestions please?

    Hi there, I have a problem with my iPod Classic (from 2009). Everytime I connect it to my computer (Windows), iTunes does not work anymore. Music is automatically deleted on my iPod. Any suggestions please?

    Thanks, for info, iPod Classic is a slower machine compared the Nano, unfortunately, if you read these discussions, majority of the freezes involved iTunes 10. Although if might be just slow and some impatient user just disconnect the iPod ands cause more problems. ( Yes I also did that but safely by doing a iPod Hard Reset, before disconnecting).
    Here is the Apple support article that may help you.
    http://support.apple.com/kb/TS1717
    or my usual solution for Windows Users.
    Antivirus has a tendency to freeze iTunes sync Operation with iPod Classic, causing a timeout, which corrupt your iPod filesystem, so when iTunes can't read the iPod, it is pointing to this problem. Other causes is when your iPod hardisk is dying, or your battery is dying causing hardisk crashes.
    My suggestion.
    Connect your iPod to the PC and run chkdsk, to fix any iPod diskerror, then disconnect it, after chkdsk complete.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your iPod to the PC, using a high speed USB 2.0 port at the back of your PC, do not use any USB Hub.
    When iTunes Open up, Restore your iPod please, this is for iTunes to map correctly, to fix the corrupted filesystem.
    When Restore complete, eject the iPod and reconnect again.
    Sync your ipod, preferably manually Manage in small batches and disconnect after every batch, to check that all is well.
    When all sync is complete, and iPod disconnected, start back your Antivirus and connect back the Internet.
    Good Luck!

  • Is it me or?, Window Buttons Do Not Work When Clicked

    Is it me or?, Window Buttons Do Not Work When Clicked
    What is going on in Snow Leopard.
    It seems Window buttons (X, -, +) Do Not Always Work when clicked.
    Sometimes window does opens, closes, minimizes and often times it does not.
    You have have re click like crazy
    Message was edited by: macguitarman

    What app are you using?
    Here's something strange I've noticed in Mail a couple times.
    For some reason Mail opens several viewer windows all stacked on top of each other.
    So while click the close button does close the window, there's an identical on behind it.
    So it almost seems like clicking the close button has done nothing but it really has.
    Could this be what your seeing?
    Matt

  • Javascript after button click not working

    The problem is on button submit I wanted a javascript prompt which does not work in the portal.
    The code is like this
    privatevoidbtnSubmit_Click(objectsender, System.EventArgs e)
    Page.RegisterClientScriptBlock("alert","<script language='javascript'>alert('Thank you! Your form was successfully submitted.');</script>");
    Could you explain this.
    Thanks

    Hi guys,
    try the following code.
    page_load code
    ===============
    YourButtonName.Attributes.Add("onClick", "JsFnName()");
    Javascript code in .aspx
    ========================
    <script language="javascript">
    function JsFnName()
    alert('Thanks you your form was succesfully submitteid');
    </script>

  • Per window private browsing not working, still sharing cookies

    Firefox 21, per window private browsing not working. The cookies are still shared among private browsing windows and tabs. Even with private tab addon, still not working.
    If I log into google in one tab, I am still logged in with that account in new private tabs and private windows.

    One more question about cookies in private browsing mode.
    I don't like browse a web using usual mode 'cause I don't like tonns of sites in a history. But when I start with private mode every time I get empty set of cookies and this was not quite good for me 'cause some sites store its options needed for me. In a prev. versions of FF I solved this issue in such a way: I stored some cookies in a file and every time I started private browsing I loaded them from file. But now this method gives nothing: in cookies manager all set of "non private" cookies is shown both before importing and after importing them from a file and I need to reconfigure my sites every time I start private browsing.
    I'm sorry for my English.

  • AIR HTML+JavaScript app vs. hardware accelerated composing

    I'm developing an HTML application for mobiles and desktops. The application is optimized for WebKit based environment. To improve a rendering speed I'm using hardware accelerated layers (something like -webkit-transform: translateZ(0); etc...).
    This works great on my iOS devices (using PhoneGap aka Cordova to package a "native" app).
    On Windows and OS X I'm using Adobe AIR 3.5 to package a captive runtime HTML/JavaScript based application. I have found this to be the best solution (for now) even though I have tried many others (Cordova for Windows 7 / OS X, TideSDK, ...).
    The point is that the HTML rendering in Adobe AIR seems not to be hardware accelerated. Does anyone of you have experience with this? Is here any possibility to enable hardware accelerated layers in AIR HTML rendering?
    Thanks a lot

    Thanks a lot, actually I tried AIR SDK 3.6 yesterday and it seems it still doesn't support an acceleration. In a browser it works just fine even in fullscreen (zoomed page). It seems that the best way to achieve my goal will be using Cordova wrappers for OS X and Win Desktop. But as an AIR developer I really want to use AIR SDK So I will do some more tests..
    Thanks,
    Pavel

Maybe you are looking for

  • Premier Pro CC 2014 update error, Photoshop doesn't open files from file menu, Illustrator lost swatches

    Hi, as you see i have so many issues and no idea how all this happened but is so bad and slowing my work extremely. I can find out what to do and also i've been asking all over for help, even twitter but no one come back to me. So when come to paymen

  • Adobe reader on macbook air

    Having new problems reading pdf files on macbook air using OS X 10.8.2. Can anyone help?

  • New iTunes messed up my library.

    My library was very nicely organized by "Album Artist", and albums of the same artist were grouped together. Now it is a total mess and I cannot change "Album Artist" tag. Help!

  • Another "Can't Connect" post ...

    Okay. I have never been able to purchase music from the Music Store and I really can't work out the problem I have. Whenever I try to log in, whether it is using my Apple ID or my AOL one, I get a box come up saying "Accessing Music Store..." and thi

  • Contacts et flux de photo

    Bonjour, je souhaite créer un flux de photo que je vais ensuite partager avec des amis hors lorsque je vais dans le choix de mes contacts 95% apparaissent grisés je ne peux partager mon flux que parmis 4 de mes 80 contacts avez vous une solution ?