Close flashfield-window with javascript

is it possible to close a not fixed flashfield-window with the javaScript.

Hi,
yes it is. It needs just a single line of JavaScript.
FlashField1.ui.exObject.setState("deactivated");

Similar Messages

  • Links that open a new window with javascript:void(null); do not work in 3.1

    I've been noticing that any site I go to that opens content in a new window with "javascript:void(null);" will be ignored by Safari 3.1. The links work in Firefox and used to work in Safari as well. Any suggestions?

    General rule of thumb in the Mac universe...
    When Safari is updated most if not all third party add-ons break. That's because most don't play by the rules. The developer thinks they know how to do it better than Apple so they just do it their way. So the first rule of survival is to KNOW what you have installed on your machine at all times. Use something like textedit to create a document listing all of the third party stuff you have installed and religiously update the list. Second rule is to wait a few days before applying an update. Third rule is to visit your third party developers' sites and make sure their little gadget is compatible with the new Safari update.
    Being aware of things will make life much easier for you in the long run.

  • How to close open windows with ios7, How to close open windows with ios7

    How to close open windows with ios7, How to close open windows with ios7?

    Guess they thought we needed more exercise so now we have to swip them to close.....miss iOS6. My eyes are blurry now after looking at my phone, and my arms are tired from swipping lol

  • W/zoteroinstalledwedo a window,open() followed by a window.close() in tha window. Zotero remains and the window is still open. How do I close the window with zotero present in FF w/o disabling zotero?

    the js function to window.open() is in pageAA on a tab.
    We click the form or link to open the popup to run a video.
    We have a close button on the popup window.
    When that is clicked the window.close() js is executed on that page leaving Zotero present and the popup still open.
    We've tried using close() window.close() name.window.close() and
    all fail the same way.
    Short of disabling Zotero is there a way to close the popup in FF and any other addons with one shot?

    Thank's but still no fix.
    In safe mode everything works.
    Without Zotero - everything works.
    When the popup is loaded with Zotero, the tab shows a constant "Loading" with the circular in process icon.
    The Zotero icon shows to the left of the tab.
    If I right click on Zotero and close it, the close() js works properly
    Is there a way to do a window.open() with:
    A. no tabs -or-
    B. block all add on's -or-
    C. to kill an add on
    before doing the close()?

  • New browser window with javascript

    Hello,
    I'm trying to accomplish something similar to what has been
    discussed in other threads (Jess Learnin, 9/30/2008, and another
    thread from back in '07). I've tried the advice given in these
    threads and have had no luck. I would like to create a button to
    call a new browser window that displays a URL of my choosing. I'd
    like to specify the size and attributes of the new window. I've
    created a small dummy tutorial in order to work on this feature.
    I'm using the "Execute Javascript" option when configuring
    the button. I include the following javascript:
    window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no');
    I have the Captivate button context set to "Current". I have
    deselected "Continue Playing Project" (though I've tried it with
    that option selected as well).
    I've tried prefacing the script w/
    "javascript:window.open...", but no luck.
    I'm testing the file on a development server, rather than
    from a local copy. When I test in Firefox, my movie simply stops
    when I click the button, without opening a new window or loading a
    web page. When I test in IE7, the movie stops and I get a message,
    "Error on page"; still no new window.
    I do notice that I'm currently running Flash Player 10. I'm
    using Captivate 3. When I publish my file, my options only go up to
    Flash Player 9, which is what I have chosen. I don't know if this
    would make a difference.
    I have also tried altering the standard.js file in the manner
    that jbradley88 suggested in the 9/30/08 thread, and using the
    corresponding javascript in the button properties window, with
    similar unsuccessful results.
    I have tried running the movie on a different computer, in
    case some local setting was somehow mucking things up. I get
    nothing.
    Any suggestions? If anyone's willing to take a look, I can
    send along my small dummy .cp file that I've been working on.
    Thanks in advance.
    -Kelly

    Hi John,
    Here's the exact javascript that I currently have associated
    with the button:
    void(window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no'));
    I've tried multiple permutations, including placing
    "javascript:" in front of the script, both with and without the
    void().
    The message in IE7 just says "Error on page". It's not a
    pop-up message; it's just the small message that appears at the
    bottom left of the browser window in IE7 when a page fails to load
    properly. The message doesn't appear until I click on the button
    that's supposed to call the javascript. There's a yellow
    exclamation point icon that appears next to the "Error on page"
    message. When I click on that I get:
    "Problems with this Web page might prevent it from being
    displayed properly or functioning properly. In the future, you can
    display this message by double-clicking the warning icon displayed
    in the status bar."
    It also displays a pointer to the error:
    Line: 1
    Char: 111
    Error: Syntax error
    Code: 0
    URL:
    http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
    I looked at the source for the page as displayed by IE7 (have
    also looked at the .htm and .js files generated by Captivate) and
    haven't seen anything obvious, but I'm somewhat unschooled in such
    matters.
    If it would help to see what it does, you can view the demo
    at the URL above.
    Thx again,
    Kelly

  • How to close a window with a jbutton?

    hi all!
    im have a login box created with jframe,
    what i want is when i press the submit button and if authentication is success
    i'd like to close the jframe of my login box and open a new window.
    how can i close a jframe window with a jbutton?

    to close the window you can add an anynomous class like this:
    yourButton.addActionListener(
          new ActionListener() {
                  public void actionPerformed( ActionEvnet e ) {
                        System.eixt(0);
    );That's all Buddy, Enjoy

  • Unable to open a seperate java console window with javascript:window.open()

    Hi All,
    I am opening a new window using javascript:window.open() function by clicking an hyperlink in a html document. In this new windows I am trying to load an applet. Only for the first time a java console window is displayed in windows system tray . How can I open a different java console window each time I open a new window ? Basically I want to run each applet in its own JVM and it seems that each applet loaded in new window is using the same JVM and hence only one java console window is seen in my system tray.
    Please help ...
    Thanks & Regards,
    Ravi.

    Hi,
    We are currently facing this exact issue. Did you ever find a resolution?
    Any input would be appreciated.
    Thanks,

  • Close a window with api

    is it possible to close a window like the file - new - window in word??
    i want to close a error message from another program
    thanks
    Message Edited by hmuehlbacher on 04-28-2006 03:03 AM

    Hi,
    You generaly don't want to close the window, but the process.
    If you close the window, the program will still be running, and it will be impossible to close it, bcause it has no window! You'll have to use taskmanager...
    So you need to search all processes, select the correct one by name, and kill the process. If you have multiple word windows, I don't think you can kill just one window, but I'm not sure. All word windows might run under the same process...
    Try this one:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=94159&query.id=114041#M94159
    Or search the forum for "kill process". There seems to be a way using the system exec.
    Regards,
    Wiebe.
    "hmuehlbacher" <[email protected]> wrote in message news:[email protected]..
    is it possible to close a window like the file - new - window in word??i want to close a error message from another programthanksMessage Edited by hmuehlbacher on 04-28-2006 03:03 AM

  • Opening windows with JavaScript

    I am reasonably happy with my feedback screen, but after a
    visitor sends a
    message I would like to close it, and then pop up a smaller
    "Thank you" window
    for a few seconds.
    After a lot of messing around, I have more or less got this
    working (and have a
    slightly better understanding of JavaScript), but have a
    number of questions.
    1. What is the difference between MM_openBrWindow() and
    open.window()? They
    appear to do the same thing, and to take the same parameters.
    2. If I open the new feedback window, using either of the
    above, and then use
    open.window to open the Thank you window from the feedback
    window, it appears to
    use the same parameters as the previous window, regardless of
    what I specify.
    Is there a way around this?
    3 The alternative to this would be to put code in the
    originating window which
    popped up the feedback window, and then popped up the Thank
    you window when the
    feedback window closed. Can I have the first window return a
    result, and then
    pass it on to the second window, and how would I access it in
    the second window?
    Clancy

    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    Make a simple test. You will find that either of these
    methods works.
    Something else is coloring your interpretation here.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Clancy" <[email protected]> wrote in message
    news:[email protected]...
    > "Murray *ACE*" <[email protected]>
    wrote:
    >
    >>Show us the respective markup in either case, please.
    >>
    >>If you look at the OBW function, you'll see that it's
    just calling the
    >>window.open() function -
    >>
    >>function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    >> window.open(theURL,winName,features);
    >>}
    >>
    >>so you should get the same behavior with either.
    >
    > SHOULD being the operative word. As I have noted
    elsewhere, I found the
    > version
    > which I thought I had working operates correctly if I
    run the local copy,
    > but
    > not if I run the remote copy.
    >
    > The sequence of events is as follows.
    >
    > Index.php has a 'Comments' link, with the following
    code:
    >
    > <img src="Images/Xclqry.jpg" alt="Comments and
    queries" width="60"
    > height="24"
    >
    border="0"onclick="MM_openBrWindow('Xcl_qry.php','Xclqrywindow','width=800,
    > height=600,menubar=yes')" >
    >
    > This loads the feedback form Xcl_qry.php. This is based
    on David's
    > feedback
    > form. When this is loaded it checks if data has been
    entered. If so, it
    > processes it and, if valid, tries to e-mail it. If this
    is successful it
    > should
    > open the 'Thank you' window, and then close. The code
    used for this is:
    >
    > <script
    >
    type="text/javascript">window.open('Thanks.php','Thankswindow','width=400,height=200');</ script>
    >
    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    >
    > I then modified the open commands to ask for a menu bar,
    so that I could
    > examine
    > the code actually loaded to my PC (on the last pass),
    and altered
    > Xcl_qry.php so
    > that it remained open. I then ran each version, and
    saved the code. When
    > I
    > compare the two versions they were identical, except
    that the remote
    > version had
    > an additional line on the end:
    >
    > <script
    language='javascript'>postamble();</script>
    >
    > I put this on to the local copy, so the two files as
    loaded were
    > identical, but
    > this made no difference.
    >
    > So the current state of play is that the local copy of
    Xcl_qry.php will
    > open
    > either the local or remote copy of Thanks.php, but the
    remote copy of
    > Xcl_qry.php will not open the remote copy of Thanks.php,
    even though the
    > code
    > actually loaded onto my PC is identical. I have not
    checked if it will
    > open the
    > local copy as this does not seem very relevant.
    >
    >
    http://www.corybas.com/
    > Clancy

  • How to close browser window with AS2

    I'm currently working with a flash movie that opens up an IE browser to an external link.
    Since I'm working with a presentation that plays automatically after a few seconds and keeps loading new IE browsers with different links, I was wondering if there was a way with AS2, i can have flash close the IE window it opened?

    I need to close the IE window WITHOUT the use of a button. I need
    to have flash close the IE window it opens after a couple of frames. thanks in advance

  • Close Browser Window with view button element when view embedded into fpm

    Hi,
    is it possible to build a button into a component view which is embedded into a fpm to close the browser window?
    tried to build a exit plug within the view/window of my component. But nothing happened. the window stays open
    Maybe is it an option to fire the fpm close plug of the fpm from my component view embedded into the fpm?
    Hope you can help me.
    Using the close button of the fpm is not an option because the window should automaticaly close when clicking on a button embedded into my component view.
    Kind Regards
    Rico

    Hello,
    one more question.
    Is it possible to change the method. so that the fpm opens within the same browser window instead of a new one?
    Maybe is there a solution with the portal?
    This is the Method to create a new Shopping cart. This opens a new browser window.
    method /SAPSRM/IF_CLL_DOM_SCW_FIN~CREATE_NEW_SHOPPING_CART.
    data:
           LV_TASKCONTAINER      TYPE REF TO /sapsrm/if_cll_task_container,
           ls_obn_components     type /sapsrm/s_wd_ui_obn,
           lo_navigation_service TYPE REF TO /SAPSRM/IF_CH_WD_NAVI_SERV.
    try.
      LV_TASKCONTAINER = mo_parent_bo_mapper->get_task_container( ).
      CALL METHOD lv_taskcontainer->GET_NAVIGATION_SERVICE
        RECEIVING
          RO_NAVIGATION_SERVICE = lo_navigation_service.
      ls_obn_components-obn_system = 'SAP_SRM'.
      ls_obn_components-object_type = 'sc'.
      ls_obn_components-operation = 'shop'.
      CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET
        EXPORTING
          IV_TARGET_TYPE          = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-obn
          IS_OBN_COMPONENTS       = ls_obn_components
          IV_OBN_PARAM_CLASS      = /sapsrm/if_ch_wd_navi_serv_c=>gc_param_class-taskcontainer
          IV_OBN_PARAM_METHOD     = 'GET_OBN_PARAMETERS_RM'
      catch /SAPSRM/CX_PDO_ERROR_GEN.
    endtry.
    endmethod.

  • Closing browser window with Javascript

    In our Forms application, we have been using a line of Javascript in POST-FORM to close the browser window after the form is closed. After installing Windows XP SP2, this no longer works and my understanding is that putting the code in a standalone HTML file, and calling this file from POST-FORM will work.
    1. Where does this HTML file reside? My guess is
    {ORACLE_HOME}\forms90\server
    2. How is this script invoked? I guessed it would be
    WEB.SHOW_DOCUMENT('close.html').
    I'm clearly wrong, as this does not work!
    Many thanks in advance.

    You might also want to look at the following thread:
    Re: IE message "The web page you are viewing is trying...
    It refers to the addition of some JAVASCRIPT to your formsweb.cfg file which resolves the problem of the IE message "The web page you are viewing is trying..." from being displayed. It still may not work if you are running seperateFrame=True though, I have detailed the problem I'm experiencing in the associated thread.
    I'd be interested to hear if you can get round the display of the message if you are running in a separate frame.
    Richard

  • Popup window with javascript in flash

    Hi everyone ;)
    I wonder if there´s available some code/tutorial which
    would make a "javascript call" and pop up what could bring some
    content into a new window in actionscript 3. I have a actionscript
    2 code for popup window but obviously it´s not working on my
    website project because of the wrong flash type :| So do you know
    how to make these kinds of pop up windows in as3?
    http://flashden.net/files/42875/index.html

    i am now down to only 1 error. How the script looks and the
    only error generated are below.
    on (release) {
    getURL("javascript:newWindow=
    window.open('
    http://websitemedia.net/playground/ferrioni/sandbox/ferrioniaddress.html','popper1',
    'width=425,height=300,scrollbars,resizable');
    newWindow.focus(); void(0);");
    error below:
    **Error** Symbol=contact, layer=Layer 1, frame=1:Line 5:
    String literal was not properly terminated
    newWindow.focus(); void(0);");

  • Close firefox window using javascript

    how to set dom.allow_scripts_to_close_windows to false

    You can inspect and modify prefs on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    *http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    Type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key to open the <i>about:config</i> page, just like you open a website by typing the URL in the location bar.
    *If you see a warning message then you can confirm that you want to access the about:config page.
    *use the Search bar at the top of the about:config page to locate preferences more easily
    *preferences that have been modified and do not have the default value show as bold (user set)
    *preferences that are user set (bold) can be reset to the default value via the right-click context menu
    *preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    *preferences can be created via the right-click context menu: New -> String, Integer, Boolean

  • Open Window with Javascript

    Good Morning All,
    I am trying to open use a button in captivate to launch
    another .swf movie and am having no luck. I have reviewed all of
    the posts here in the forums, but I still cannot seem to get it to
    work. So, I apologize for posting this again!
    Here's and overview:
    I am creating a several Captivate projects that will be
    hosted online. I am publishing to Flash. One project provides an
    overview and serves as a "launching" point for the other projects.
    So, I want to be able to open a new, "chromeless" browser
    window set to the specific size for the project when I click a
    button that will open another project which I have published to
    Flash.
    Any help would be greatly appreciated!
    Aaron

    Thanks for your help Frank. I can get the window to pop-up
    can open the other file, but there is just one snag. When I click
    on the link, the original window goes blank and I would like it to
    keep the stay at the point in the presentation where the user left.
    Is there any way to keep the original project from going
    blank? (The Flash file disappears and [OBJECT] appears on the blank
    browser window.)

Maybe you are looking for