Another way to open a blank window

Hello,
I have some script I am using for a flash menu. Each button opens to the html file and has script telling each page the down state for each button when clicked. I am trying to use the function below to open a new window and it won't work with the other scripting.
on(release)
getURL("http://www.flash-here.com",                                  "_blank");
This is what I was given for each button below. the num= value at the top is telling each buttons down state.
onClipEvent (load) {
    num = 6;
    this.hitArea = this.area;
    link = "contacts.html";
on (rollOver) {
    if (_root.link<>num) {
        this.gotoAndPlay("s1");
on (releaseOutside, rollOut) {
    if (_root.link<>num) {
        this.gotoAndPlay("s2");
on (release) {
    if (_root.link<>num) {
        _parent["item"+_root.link].gotoAndPlay("s2");
        _root.link = num;
        getURL(link);
Any ideas? Thanks

you can only have, at most, one on(release).  the last one that's defined will be the one that will execute.
you should be using something like:
onClipEvent (load) {
    num = 6;
    this.hitArea = this.area;
    link = "contacts.html";
on (rollOver) {
    if (_root.link<>num) {
        this.gotoAndPlay("s1");
on (releaseOutside, rollOut) {
    if (_root.link<>num) {
        this.gotoAndPlay("s2");
on (release) {
    if (_root.link<>num) {
        _parent["item"+_root.link].gotoAndPlay("s2");
        _root.link = num;
        getURL(this.link,"_blank"); // assuming this is a movieclip button.  NOT a true/simple button.

Similar Messages

  • When trying to open a link to a pdf, firefox opens continuous blank windows- only way to stop this crazy manic window opening is to force quit firefox.! Any help is greatly appreciated!

    When trying to open a link to a pdf, firefox opens continuous blank windows- only way to stop this crazy manic window opening is to force quit firefox.! Any help is greatly appreciated!

    Thanks, but this is a problem that began immediately after I installed 9.0.1
    this week...I haven't changed any settings that would cause this.

  • Is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    I guess I'm not explaining myself fully. I have a home page designation in firefox preferences that starts firefox up with 5 sites. that pretty fills up my screen with tabs.
    At some point I want to initiate another WINDOW in firefox (NOT a tab). I would like to be able to open up a window that ONLY has ONE tab, or as if there were only one site designated as the home page. This gives me a workspace that has my most useful sites available in tabs in one window, and also another WINDOW that I can move around in and even create more tabs without messing up my primary set of TABS (in my primary window). I see how this might not be doable without doing what I do now, which is open up a new window, and then close tabs until the new window just has one tab for me to work from.

  • Is there a way to open a new window from the "Go" menu in Mavericks?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?
    First, as others have already stated.....make sure the checkbox is deselected for "open folders in tabs instead of windows" in Finder Preferences.
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple click (I'm using Mavericks 10.9.5).  Go to a root folder (for example, the Documents Folder), open it, and select View > Hide Toolbar, then all folders within that root folder will open in a new window.
    As an alternative method, any folder can be opened in a new window by holding down either Command Key while clicking the folder. But sooner or later you will forget to hold down that key, and then clicking on a folder will open in a tab (which will automatically resize the window and cause much aggravation).
    The Hide Toolbar trick will also work with any folder present on the Desktop. It will make all folders inside that folder open in new windows.
    To make the Applications Folder open in a new window when opening it from the menu bar at the top of the screen, you will have to open the main hard drive folder and use the Hide Toolbar trick. This will cause all folders inside it to open in new windows.
    Hope this helps.

  • When you run the Adobe Creative Cloud opens a blank window, without authorization...

    When you run the Adobe Creative Cloud opens a blank window, without authorization, without a list of programs, just empty, as in the screenshot

    Hi Vetal1000 ,
    Welcome to Adobe Forums
    You can use the below mentioned links for solution -
    http://forums.adobe.com/message/5509684
    or
    http://forums.adobe.com/thread/1251577
    Let us know if that helps !
    Thanks
    Garima

  • __ Is there a way to open an .emf (Windows Enhanced Meta File) file in Ai?

    __ Is there a way to open an .emf (Windows Enhanced Meta File) file in Ai?
    I was given several Nutrition Facts tables to use in my package design - I don't want to redraw them or guess at the size.
    Thanks

    Thanks for your help Kurt, but the main problem is that I don't see an Upload button (I read about it in the Help file as well) - I see "+You/Mail/Caledar/Documents/Photos?Sites/Search/More" and
    "Docs/Create/Home/Starred/Owned by me/All items/Bin" etc. but no 'Upload' !
    - OH WAIT A MINUTE - I JUST MOUSED OVER IT - THERE IT IS! I FEEL REALLY DUMB NOW! 
    Here's the link:  https://docs.google.com/open?id=0B9cv3o9-NLCfZTNiM2JlNWUtYjQxOS00NWUxLWJjYjAtYmM1NjhiMjA1Z mMw

  • Any way to open new browser window without using image maps?

    Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
    Here is the link:
    http://www.susieharperdesigns.com/gallery_beads.html
    Any help is greatly appreciated.

    Your missing a value on the HREF.  In your code you have this:
    <area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    and it should be this:
    <area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    If you fix the code on all your beads, it should work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Is there another way to open a different iPhoto library?

    Is there another way to open a different iPhoto library besides using the option key and clicking on the iPhoto icon? It takes me upwards of a dozen times to get it to work, so I get that screen where I choose which library I want to open - the option key usually just doesn't respond. And since it takes several seconds for my main iPhoto library to shut down everytime it incorrectly opens up, it ends up taking me upwards of a few minutes, and a lot of frustration, by the time the option key suddenly decides to randomly work and I can choose the other library I want. This is iPhoto '09, version 10.6.8, by the way.
    Thanks!

    Of course I understand about double-clicking. but how can I double-click to choose the name of the iPhoto library I want when I cannot reliably get the menu option screen listing my two libraries to come up. As far as where the two libraries are actually stored on my computer, I haven't a clue - I just created the libraries on that iphoto library menu screen at some point in the past when I was setting it up. Is there some other place I could navigate to via Finder to select the library I want? I just don't think I need to spend $20 on software that I don't need - if I has lots of libraries, sure, but most of the time I use just the one library. But it's driving me crazy that when I do switch, I m having such difficulty.
    Thanks :)

  • When I click on a link, sometimes it will open a blank window & do nothing

    # Question
    When I click on a link, sometimes it will open a blank window & do nothing

    Click the link with the scroll wheel.

  • Javascript:showPrintPDF opens a blank window

    I use a courier site which opens a new window to view and print the labels for parcels, using "javascript:showPrintPDF". Firefox opens a blank window with no content.

    I'm not sure anyone can diagnose this for you without registering for the site, so here are some suggestions for self-help.
    Question: Did it work before and stop working recently? If so:
    (A)
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Clear Firefox's Cache
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Offline Storage : "Clear Now"
    2. If needed, delete the site's cookies here
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    (B)
    To rule out the possibility that an add-on is interfering, can you test in Firefox's Safe Mode?
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [http://support.mozilla.com/kb/Safe+Mode Safe Mode] using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If the window populates correctly, this points to an add-on or custom setting or perhaps a saved password as the problem. A few things to work through.
    If the site doesn't load correctly, we would have to consider other factors.
    Any luck?

  • Firefox 6.0 opens multiple blank windows when I restore a previous session

    Firefox 6.0 opens multiple blank windows when I restore a previous session

    Multiple tabs open when starting Firefox
    * https://support.mozilla.com/en-US/kb/Multiple%20tabs%20open%20when%20starting%20Firefox
    Restore the Default Home page
    * https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_restore-the-default-home-page
    Check and tell if its working.

  • Finder open a blank window

    Hi guys,
    I have a problem with my finder, if I click on the finder icon on the dock open a blank windows, nothing inside, if I try to open my mac disk nothing happen. To open terminal I need to use spotlight and make a search, can access any application because finder open a blank window
    I have a white macbook with snow leopard

    Guys,
    I solve the problem deleting all com.apple.finder.plist.* and com.apple.finder.plist under /Users/[my username]/Library/Preferences
    thank anyway

  • GMail in Safari w/FluidApp opens up blank window when clicking externally

    I'm currently using FluidApp to create a stand-alone instance of GMail in Safari. This works great for quickly switching to GMail as I can just type G using Quicksilver and I'm there right away.
    However, I'm noticing something annoying in that whenever I click a link in my email to an external website Safari opens up another window that I need to close in addition to wherever the website opened. So my path basically goes GMail > view external website > leave external website to return to GMail > close annoying blank window > Go back to GMail.
    Any idea why this is happening?

    You should check Preferences > General to see that you've enabled the "Open links from applications:" in a new tab in the current window. Then restart Safari and test to see if the problem is resolved.
    Mulder

  • Is there a way to open a second window in contacts so I can view two cards at once?

    I just want to be able to look at one card, and flip over to another without having to navigate away from the first card.
    Thanks

    Double click on the two contacts and they will open in separate windows:
    OT

  • Mac Creative Cloud menubar opens to blank window.

    This week the creative cloud menu bar opens to a blank window. I've tried delting opm.db in OOBE but that makes no difference. Anyone got any solutions or is the problem in the recent update to CC?

    Hi,
    Please refer to the help document below to fix this issue:
    Black Screen at Sign-in | Creative Cloud Desktop app
    Regards,
    Sheena

Maybe you are looking for

  • Regarding opening stock

    hi experts,                i m an abaper ,i dnt have a functional  consultant rt now.i have to develope a report on opening stock of raw materials on date wise basis..which table sud i use so that i can get the date wise opening stock or will i use s

  • Switching from Iphone 4 to Android, now i cant get txts from other Iphone users... any suggestions?

    switching from Iphone 4 to Android, now i cant get txts from other Iphone users... any suggestions?

  • Problem Sending attachments with JavaMail API

    Hi, I am able to succesfully able to send the attachment but the body message is not going with it. If i dont send the attachment then the email body goes properly. i can't understand what the problem is . please help. import java.util.*; import java

  • Video resolution Problem

    The display that came with my Radeon HD 7600G will only support 1366 x 768, I get that.  o what I am trying to do is play some HD video ( 1920 x 1080 ) using an external monitor.  When I try to play a video of that resolution in the laptop display, i

  • Price Date Control in purchase order

    Hi All, In ME21N  transaction, while creating a PO where can i give the price date control.  The PO is created with reference to contract, and in contract the price date control is changed.  Now we need to change the same in corresponding POs.  I am