new window, the javascript function to control the size

Hello world

I have the following code, and it works well:

var url = ' http://www.someplace.com/mystuff.html';
var props = 'width = 450 height = 570';
var js = ' window.open ("" + url + '","popup"," ' + accessories + "" + "void (0);") ";"
getURL ("javascript:" + js);

However, the window that has the original .swf flash file updates with this on the page:

[object window]

What is happening in Firefox and IE just returns [object].  Safari is very good.  Is it possible that I can avoid this message back, or I'm at the mercy of the browser gods?

Thank you!

-Dave

a button to create a popup otherwise you won't miss against the problems of popup blocker.  and use the externalinterface class to run the js functions.  It is more reliable:

to import flash.external.ExternalInterface;
var url = 'http://www.someplace.com/mystuff.html';
var props = 'width = 450 height = 570';
JS var = ' window.open ("" + url +' "," popup"," '+ props +' "+" void (0);")';

mc.onRelease = function() {}
ExternalInterface.call("saveglobalscore",score) (js);
};

Tags: Adobe Animate

Similar Questions

  • 15.0.1 Mozilla gets stuck. You click on the links and nothing happens. No wheels spinning, nothing. I open Firefox in a new window, the same thing. I can fix it onl

    15.0.1 Mozilla gets stuck. You click on the links and nothing happens. No wheels spinning, nothing. I open Firefox in a new window, the same thing. I can only fix it by starting the Task Manager and close all Firefox Windows. [When I launch Internet Explorer, there no problem.] Thanks for your help!

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • With the help of Firefox 4.0 Beta 4. When I open a link in a new window, the web address does not appear in the address bar. Why?

    When I opened a web page link in "a new window" opens the link, but the information of the web page does not appear in the address bar. It is empty. If I open the link in a new tab, ho problem exists.

    In addition, if one open a link in the tab without a location in a new tab in the same window and then go to the original tab, the address bar fills up with the web address.

    Made it from several places, so it not dependent on location.

    That behavior is likely to be the top caused by an add-on, and in your case the probable guilty is IE Tab 2, the different versions of IE Tab caused problems with Firefox 4 beta, including issues with the location bar not updated.

    You can test to see if IE Tab 2 is causing your problem by disabling the it and then see if the address in a new window bar displays the address. If it isn't this add-on causing the problem, see Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems.

    FYI, the IE Tab Plus add-on has been updated recently to improve compatibility with Firefox 4 beta, you can try this one instead. The latest version is available from http://coralietab.mozdev.org/installation.html

  • Mobile link bug? (opening in a new window the value window)

    I put the link on mobile in the same window, but 98% of the time that it opens in a new window. I tried to make the road to the problem and it's driving me buggy.
    What is happening on the iPhone tests.
    I tried many methods, such as linking them directly to the version of the phone and the substitution of detection devices of Muse, with no luck.
    So I thought that maybe the iPhone default to opening links in a new window when the site is not fully charged. And that sometimes seems to happen however the device indicates that the site is loaded.

    Anyone else notice this behavior?

    Thank you.

    Solved the problem. Don't think that Muse would have such a glaring bug with one report (that's me). Then, of course, the thought goes to the third-party widget and lay the problem. I am posting this for someone else who might encounter the problem.

    This issue is included in the 123muse 'of assistance to Web Page' widget under the PHONE ONLY of PAGES when you check Web App Capable. A great pi when you want to get rid of the IOS header & footer, so that your design looks like what you designed. However the caveat being that all the links will open in a new window, no matter what you set AND you get back to the previous page (on IOS devices) because even if the link opens a new page of your original page is lost. Tested on iPhone 4, 5, 6, 6plus.

    Huge loss of conversion and / or company.

    I hope that the team big 123muse will see this and fix the widget because I do not know that it is clear to this side effect other than the statement...

    "If it's a single page site then the whole site will be a bit like an app in the iPhone or Android itself... »

    Thank you

    Dan

  • How can I get a new window open, but slowly opened to full size after clicking on a main page link

    Transitions I mean are on this site. Discoloration in the window and click on the picture, which opens a new window, but slowly to full size.  http://ra1830.wix.com/qgd2012

    Thank you.

    The site you quoted uses a plug-in similar to "Lightbox". You can get it here: http://www.lokeshdhakar.com/projects/lightbox2/

  • When I click on a link to open in a new window the window appears in white with the exception of "Search bookmarks and historical." What can I do?

    This has happened for a while. I don't remember adding or changing my Firefox settings. When this happens and I need this extra window I'll and open Explorer.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
  • New materials, new windows, the same Photoshop

    Hi all

    I have Photoshop CS 5.0 from 4 years of the BOX. Now I bought the new PC and I want to install Photoshop top. I had to disable my current license? Or should I just install Photoshop on the new PC and forget the old PC? (I clean up hard drives and sell my old PC).

    Concerning

    Adrian

    You must disable your old machine before formatting the disk.

  • Does anyone know how to get the window the size of the canvas to allow selection of the color?

    The choice of color is gray and I can't seem to encourage them to do otherwise. It's never happened to me before... help, anyone?

    Rafael

    If you right click in the area of the canvas you will be presented with color options

  • Opening page in a new window when clicking on a link in the section of Global button bar

    Hello

    I created a custom and global link to appear alongside the House, disconnected links. The requirement is to open a page in a new window when I click the custom global link. Please let me know how to get this functionality.

    Thank you
    VG

    VG,

    I think you should be able to open a new window using javascript in the function definition,
    Please check out the http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html blog and try it.
    Let me know if you are not able to achieve the same thing.

    With respect,
    Kali.
    OSSi.

  • After CTRL + N for the new window, bookmarks toolbar disappears in the new window

    When I have a completely, properly functioning window with tabs running with the bookmarks toolbar visible and then I use CTRL + N to open a new window, the 2nd window does not display the bookmarks toolbar.

    When I go to view > toolbars, toolbar bookmarks show a cheque. He is not here in the new window, but in the first window. Looks like a bug caused by CTRL + N?

    It is repeatable and it happened several times. I 12.0, but this has happened with other versions of Firefox as well.

    In safe mode, the toolbar was not visible but I checked "View Bookmarks ToolBar" right below the search window, and now when I run Firefox in normal mode, the behavior has stopped.

    I tried to open several new windows, with a lot of tabs in all first, and the bookmarks toolbar is now displayed when it is supposed to.

    Thanks for the suggestion. I guess that's now resolved?

  • How can I disable the tab appearance totally new tab when I right click to open a new window?

    Whenever I did a right click on a link in Firefox and select "Open Link in New Window", the new window that opens with TWO tabs: a tab containing the target for the clicked link, another 'New tab' tab that contains icons for sites I don't want and don't care. Even more embarrassing, the 'New tab' tab is the tab, which is active/selected when the new window appears, rather than the tab for the link, I clicked.

    It's very annoying and highly undesirable behavior. When you click on a link and choose "Open Link in New Window", we should get a new window that contains ONLY the information that is displayed for the target of the link. We shouldn't receive TWO tabs.

    How can I get rid of this behavior? I looked for a solution via Google but have not found one.

    I hope that the Mozilla team will fix this problem soon. I use Firefox for a long time and have found that it is a very good browser. However, this new behavior has totally destroyed my good feelings about Firefox.

    Thanks for reading my comments.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • How open a link in a new window and keep the previous window immediately behind the new window rather than get behind other open windows of the browser?

    Running the latest version of FF (24.0) on Windows 7 x 64. While several browser windows are open if a link in the current window opens in a new window the active window moves behind one or more of the other windows instead of being originally only the new window that opens on top of it. Is there any solution for this?

    Hello

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.

    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

    Thank you.

  • Firefox opens the old navigation (previous session) each time I try to open a new window, how can I change this back?

    Whenever I go to open a new window, the old one going up to the place. For a while, it worked very well, so I kept needing the old window and you can use the feature 'restore previous session' access to this. However, even after I has no more need (and without me, you select the option, it would still open the previous session.

    Have you looked into Firefox/tools > Options > general > startup: 'When Firefox starts': 'Show my home page' "show a blank page.

    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.
    • Use "Firefox > Options" instead of "tools > Options" If the menu bar is hidden.
  • How can I get rid of the second bar blue at the top of my browser window after I open a new window?

    When I open a new window or click a link that opens a new window, the new window has two blue bars along the top of the screen. The top bar is the one that I expect to see with the firefox logo, the name of the Web looking at page and the reduce, enlarge, close buttons. The second bar, below, has a tab orange on the left side who says "Firefox" with an arrow pointing downwards and then on the right side has him minimize, maximize and close buttons. These buttons are the same buttons on the blue bar to the top do. Below the second blue bar is the normal toolbar, but the upstream and downstream buttons do not work. How can I get rid of the second blue bar. He began to appear after the last update I did last week.

    This always happens if you launch Firefox with extensions disabled?

    This page is a report of another user with the same problem, which says that the problem has disappeared after disable the extensions.

  • Having a weird problem with the new window. Download the old look of firefox with incorrect URL and messy appearance.

    I opened a new window in the main window of Firefox. The new window is nothing like on the main window of Firefox 4 Beta. And when I have tabs in a new window, the URL doesn't change. Infact, it changes nothing in the tabs. It remains that if I change it manually.

    I do not encounter this problem in the main window of Firefox. If I open a new window of hand. Why is this?

    Take a look at the screenshots I did.

    Main window
    New window

    You may also notice the tab I'm the and the URL is displayed in the image of the new window. You can see what I'm talking about here.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

    Create a new profile exclusively for version 4.0 beta and create a shortcut on the desktop with Pei 'profile' attached to the target to launch this profile.

Maybe you are looking for