Opening default Browser from embedded Flash

The Situation is this:
I have a running flash application myapp.swf (Actionscript
2), which runs on a server and requires a parameter (
http://myserver.com/myapp.swf?myparam=value).
I now want to create an AIR Wrapper for this application. So
I embed the above URL in a html-based AIR Project using the embed
tag. When I launch my new AIR Project the application is displayed,
but when I click on a link within the flash application a new AIR
window opens, displaying the respective Webpage.
But it should instead open a new tab or window in the default
Browser of the respective operating system.
I have tried the following without success:
- Attempt to create a flash-based AIR Application. The
application did not work properly since the swf file is on a server
and not within the AIR Appplication. If I download the swf-file and
put it in this directory I can't pass it the required parameter
- Trying to open a default Browser window like this:
http://snipplr.com/view/4442/adobe-air-open-new-url-with-sandbox-bridge.
I belive this only works with a flash-based AIR Application too
The best solution for me would be, if I could solve the
problem without having to alter the flash part. But, if neccessary
changing the flash part would also be an option.
I really would appreciate any comments / suggestions on this
matter

I should probably add, that I am not a very experienced AIR
Developer.
quote:
So lets get this straight, you now have the content
embedded/loaded within a HTMLLOADER, right?
Probably not... I have a Html based project. Meaning that I
refer to an initial html file from my application.xml. In this html
File I embed the mentioned flash application using the following
line:
< embed height="100%" width="100%" src="
http://myserver.com/myapp.swf?myparam=value"
/>
Could I use HTMLLoader in a HTML-based AIR app?
quote:
And when the AIR APPLICATION is launched, you would want the
links that are embedded within the HTMLLOADER to open up in a
browser?
This is correct, but it should open up the default Browser
like IE or Firefox but not a new AIR window.
quote:
Are you using: navigateToURL(new URLRequest("
http://" + url), "_blank");
I am not using navigateToURL since the flash application I am
working with "does not know" that it is wrapped by an AIR
application. Therefore, it opens new URLs the way it is normally
done in a flash stand-alone application.
As I see it AIR recognises that a link is being called and
opens a new, AIR window instance.
I have seen the article about Windows Vista before, but I
would think that it is not directly related to my problem, since I
do not have to problem whether links are being opened in, for
example, Firefox or Internet Explorer but links are opened in a
build-in AIR Window.
I hope shed some light on the problem I am having...

Similar Messages

  • Open default browser from a java application

    How is possible to make a java application that open an html file in the default browser ?
    Thankyou
    [email protected]

    You can do that by running the command "start <url>", for example using Runtime.exec().
    Runtime.getRuntime().exec("start http://java.sun.com");Jesper

  • Opening maximized window from embedded flash movie

    Hi!
    I need your help!
    I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
    How can I achieve this?
    thank you!

    use the javascript window.open method to open your popup and set the page dimensions.
    you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file.

  • How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive w

    How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
    The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.

    If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
    You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
    Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
    There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
    You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
    See:
    http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders
    Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
    You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.

  • Opening a browser from an applet

    I got a problem, I want to open a browser from my applet, but I just found one way:
    getAppletContext().showDocument(new URL(
    "http://www.java.sun.com"), "_blank");
    but the problem is: with this, the default browser with defaul settings is opened, and that's what I don't want...
    how can I open the browser with some settings (for example size, or no-url-bar, etc)
    thx for help

    hi,
    try this code:
    public void showDocument(java.net.URL url, String targetWindow)
    when targetWindow can be:
    "_blank" Display the document in a new, nameless window.
    "windowName" Display the document in a window named windowName. This window is created if necessary.
    "_self" Display the document in the window and frame that contain the applet.
    "_parent" Display the document in the applet's window but in the parent frame of the applet's frame. If the applet frame has no parent frame, this acts the same as "_self".
    "_top" Display the document in the applet's window but in the top-level frame. If the applet's frame is the top-level frame, this acts the same as "_self".

  • Easiest way to launch a link to the default browser from java?

    Is there an easy way to launch a link in the default browser from java? Ideally I would have a graphic in a cell that when clicked on would open a new window/tab in the default browser. This would be done in SWT, but it might be similar to swing, awt, etc. Any ideas?

    If you are using Java 1.5 or earlier, I found the browser launch code found here to work fairly well: http://www.centerkey.com/java/browser

  • In my E7-00, whenever I open default browser of No...

    In my E7-00, whenever I open default browser of Nokia ,It shows me : web page not found.
    Whenever any application launch the browser at that time also It shows 
    web page not found.
    How to update Nokia's Default browser. ?
    Hit the green kudo button , If my post help you......

    Do you manage to connect to internet at all? Are you trying to connect to your operators network or wifi, or both?
    Have you made sure that you're connecting to the right destination folder? Check within browser - settings. If your accesspoints are saved under "internet" you will have to make sure it connects to internet. If you haven't tried wifi, and do not have the option too, call your operator and hear if they have issues with their network or if they have disbaled data use from your account.

  • How do i change my default browser from yahoo to safari ?

    how do i change my default browser from yahoo to safari ?

    You may be mixing two things.
    Safari does not really have a home page.
    You set your home page on these pref (see pic below). In the pic below my home page is zip, zero, nada.
    You set your search engine prefs via the Search option from within Safari preferences.

  • Browser enabled InfoPath form not opening in browser from a link in a Task list

    I have a browser enabled InfoPath deployed to SharePoint as a template in a Forms Library. The form opens in the browser when a user navigates to the Form library and clicks New.
    There is an Approval workflow associated with this form which kicks in whenever a new Form is submitted. The workflow creates a task in a task list. The task list shows a Link column which provides the link to open the form. Now, when a user clicks on the
    link (in the Task list), the form always open in InfoPath instead of opening in a browser.
    I see that the URL for the form (http://<Server>/Training/Enrollment%20Forms/<FormName>.xml)  is same in both the Forms Library and Task list link.
    What am I doing wrong or what do I need to do to make the form open in browser from the Task list link.
    Thanks
    Rajat

    This question is asked constantly - we just discussed this last week, I believe - so you can probably find a lot more discussion to help you out if yous earch within this form or browse through the topics.  The reason for your issue is because of
    what you just wrote - the URL is directly to the XML file, so it tries to invoke InfoPath.  Browser forms are rendered by Forms Services, which has a much different URL.  Go click on one of your existing forms, and notice how different the URL is. 
    To get forms to open in the browser when invoked from a different location, you must use this full Forms Services URL.  Built-in workflows only generate a link to the XML file, and since the task in a different list than the form, then it has no idea
    how to open the form in the browser.  Only users who don't have InfoPath installed will see it in the browser automatically.  This is why I generate my own URLs dynamically with custom workflows and don't use OOTB workflows.SharePoint Architect || Microsoft MVP ||
    My Blog

  • Open a browser from swing panel

    How can we open a browser from a swing panel? I want to open a browser from my panel, when i hit on a button or a link?
    Second question how can i create a link in a panel?
    Thanks

    odd, someone just asked that:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=555001&tstart=0&trange=15

  • Warning! DSPs 1 in slot 0 are using non-default firmware from device flash:

    Hi,
    Im having a problem on my 2801 router, my fxo and fxs port are not fucntioning, when i check the dsp it shows below; i have tried different ios still the same problems encountered.
    rtr01#show voice dsp detailed
    edsp 0001 01 g729r8 p  0.1 IDLE  50/0/1.1
    edsp 0002 01 g729r8 p  0.1 IDLE  50/0/5.1
    edsp 0003 01 g729r8 p  0.1 IDLE  50/0/6.1
    Warning! DSPs 1 in slot 0 are using non-default firmware from device flash:
    This is not recommended, the IOS default version is 24.3.0
    ----------------------------FLEX VOICE CARD 0 ------------------------------
                               *DSP VOICE CHANNELS*
    CURR STATE : (busy)inuse (b-out)busy out (bpend)busyout pending
    LEGEND     : (bad)bad    (shut)shutdown  (dpend)download pending
    DSP   DSP                 DSPWARE CURR  BOOT                         PAK   TX/RX
    TYPE  NUM CH CODEC        VERSION STATE STATE   RST AI VOICEPORT TS ABRT PACK COUNT
    ===== === == ========= ========== ===== ======= === == ========= == ==== ============
    C5510 001 01 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 02 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 03 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 04 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 05 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 06 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 07 None           0.0.0 bad   idle      0  0                 0          0/0
    C5510 001 08 None           0.0.0 bad   idle      0  0                 0          0/0
                               *DSP SIGNALING CHANNELS*
    DSP   DSP                 DSPWARE CURR  BOOT                         PAK   TX/RX
    TYPE  NUM CH CODEC        VERSION STATE STATE   RST AI VOICEPORT TS ABRT PACK COUNT
    ===== === == ========= ========== ===== ======= === == ========= == ==== ============
    C5510 001 01 {flex}         0.0.0 free  idle      0  0 0/0/0           0          0/0
    C5510 001 02 {flex}         0.0.0 free  idle      0  0 0/0/1           0          0/0
    C5510 001 03 {flex}         0.0.0 free  idle      0  0 0/2/0           0          0/0
    C5510 001 04 {flex}         0.0.0 free  idle      0  0 0/2/1           0          0/0
    ------------------------END OF FLEX VOICE CARD 0 ----------------------------
    #sho voice port summary
                                               IN       OUT
    PORT            CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
    =============== == ============ ===== ==== ======== ======== ==
    0/0/0           --  fxs-ls      up    dorm on-hook  idle     y
    0/0/1           --  fxs-ls      up    dorm on-hook  idle     y
    0/2/0           --  fxo-ls      up    dorm idle     on-hook  y
    0/2/1           --  fxo-ls      up    dorm idle     on-hook  y
    50/0/1          1      efxs     up    up   on-hook  idle     y
    50/0/5          1      efxs     up    up   on-hook  idle     y
    50/0/6          1      efxs     up    dorm on-hook  idle     y
    PWR FAILOVER PORT        PSTN FAILOVER PORT
    =================        ==================
    can somenone help to advice. th

    Hi,
    I see that the DSPware version says 0.0.0 and the current state shows "BAD" which should not be the case. Are you running 12.4(24)T IOS because i see that the default version of DSP should be 24.3.0 as printed in the output. By default the IOS itself contains the default DSPware in it but if it does not show up in your router, try reloading the router to see whether it fixes your issue. If not check the following link which lists the steps to be followed to install a new DSPware on your router.
    http://www.cisco.com/en/US/tech/tk652/tk698/technologies_tech_note09186a0080a7af82.shtml
    Hope that helps
    Regards
    Nitesh
    PS:pl rate helpful posts

  • How do I change my default browser from Safari?

    How do I change my default browser from Safari?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Can't be done.

  • Why does it take 3 goes to open my browser from my desk top?

    It takes me 3 attempts to open my browser from my desktop icon. 3 lots of double clicks before Firefox will open. Things changed about a week ago. All was well before then. What has happened?

    I would have thought if you select a program to come to the forefront it is
    "active"and ready to use?  Is this an issue or am I doing something wrong? 
    Thanks
    Tried this on my setting but after having clicked on the icon the Bridge
    window is present, ready and active. No need for an click here.
    Have you already tried system maintenance for OS using Apple Disk utility to
    check and repair permissions?

  • Help, my Safari browser has been acting super strange.  It keeps changing my default browser from Google to Only Search, and my search bar will only search on Yahoo no matter what I do.  On top of that I get MacKeeper popups every time I click a link

    Help, my Safari browser has been acting super strange lately!  It keeps changing my default browser automatically from Google to Only Search (if you use the search engine Only Search it takes you to Yahoo.com).  My search bar will only search on Yahoo no matter what I do to make it Google.  On top of that I get MacKeeper popups every time I click on a link.  What is worn with my computer and how do I fix it?!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
              com.something.daemon.plist
    Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
    There may also be a file named
               com.something.helper.plist
    in the same folder.
    If you find files with names that fit the above description, post what you have for "something."

  • Problems getting files to open in browser from SP 2010 search results page

    We are in day 4 of having upgraded from MOSS 2007 to SharePoitn 2010 via database attach.
    When a user looks in their document library, and clicks on a PDF, they are asked if they want to check out and open or just open, and when they make the selection, acrobat reader opens the doc.
    When a user performs a search on the same library, and clicks on a PDF in the results page, the user is prompted if they wish to download the file, and then, after they save it, the file is downloaded and nothing else happens.
    The users do not want their disks filled with unnecessary copies of files.
    Note that I did add an "application/pdf" mime type to the allowedInlineDownloadedMimeTypes property .
    This is only occuring when using the download results page.
    Does anyone know a fix for this?
    Thank you.

    Hi lwvirden,
    Generally, if the PDF is added to the Web Application's AllowedInlineDownloadedMimeTypes property , the PDF files will open in browser when clicking them regardless of on the search result page or the document library.
    I recommend to delete the PDF from the Web Application's AllowedInlineDownloadedMimeTypes property and then re-add it to see if the issue still occurs.
    Here is a table summarizes the various PDF rendering behaviors in search and library in the link below(same for SharePoint 2010):
    http://stevemannspath.blogspot.in/2013/04/sharepoint-2013-pdf-support-and.html
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx#DownloadFunctions
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for