Add code to button to open in another browser window

I'm a novice Flash developer (I'm using CS5). I want to add code to a button in my Flash movie - to open another web page on my site, but in another window. I've searched TouTube, Google and I can't figure it out. Is this enough info to help me? Or what else do you need to know in order me to get this working? Thank you!
As of now, my code looks like this The line in red is the issue (I think):
on (rollOver) {gotoAndPlay("s1");
on (releaseOutside, rollOut) {gotoAndPlay("s2");
on (release) {
if (_root.link<>6) {
_root["item"+_root.link].gotoAndPlay("s2");
_root.link = 6;
getURL("http://www.google.com, "_blank");
Robert

use:
on (release) {
if (_root.link<>6) {
_root["item"+_root.link].gotoAndPlay("s2");
_root.link = 6;
getURL("http://www.google.com", "_blank");

Similar Messages

  • I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    Have you tried: click Firefox button > New Tab > New Window '''''OR''''' CTRL+N '''''OR''''' File > New Window (if using the Menu Bar)
    Once open, Firefox locks the Profile that is in use and you can not open another window with that Firefox version and Profile combination using the Windows Desktop icon or the Windows Programs list.

  • My plus (+) tab at the top of the page, which opens up another browser window, quit working.

    When I click on the plus (+) tab nothing happens. It just all of a sudden quit working. Not sure if this occurred when Firefox updated or exactly when.

    Hello Tact, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is '''probably caused by an extension''', and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • How can I open a new browser window!!!  Very Challenging!!!

    I have a form (name=MAIN) with a submit button (name=Button A). Button A opens a new browser window (name=SEARCH), via an HTML form target tag (<FORM TARGET=A>). Window SEARCH has multiple submit buttons (10-15). Each button has a different action which is handled by a servlet (form name and button name are passed to a servlet as a hidden field in the form to determine the action), which is setup to be an action handler. When a button in the SEARCH window is clicked the results are retrieved from an Oracle database and should be displayed in the text fields in window MAIN.
    For example, some results may be displayed in window SEARCH (_self) and and other results may be required to be sent to window MAIN depending on the button clicked.
    How can I setup window SEARCH so each button can have a different target window (some may be window MAIN or other windows)? Using a form tag for each button doesn't give desirable results. Is there a way to do this with JSP or some form of Java code?
    A form tag can only have one target. Basically I have one form with multiple submit buttons. How can I get it to send each submit buttons results to a specific window?
    Thanks.

    <!-- try this -->
    <script language="JavaScript1.2">
    function mysubmit(mytarget){
    document.myform.target=mytarget;
    document.myform.submit();
    function validation(myform){
    //validation stuff
    return [true | false];
    </script>
    <form target='none' name='myform' action='myaction.jsp' method='post' [onsubmit='return validation(this)']>
    <input type=button name='submit1' value='submit1' onclick='mysubmit("target1")'>
    <input type=button name='submit2' value='submit2' onclick='mysubmit("target2")'>
    <input type=button name='submit3' value='submit3' onclick='mysubmit("target3")'>
    <input type=button name='submit4' value='submit4' onclick='mysubmit("target4")'>
    </form>

  • When I print from Gmail, I can't return to my e-mail and have to open another browser window. The back button become inactive.

    While using Gmail, when I print e-mail I can't return to my inbox or any other Gmail option. I am left "stuck" at the print window and have to open another browser window each time and go back into e-mail. Usually, I am still logged in after doing this, but sometimes I have to login to e-mail again. Thanks.

    How are you trying to change it ?
    You should be able to log out of an account by clicking on it at the top left of the store's pages on your computer's iTunes, or via the Store > Sign Out menu option (if you are using a PC and the drop-down menus aren't showing at the top of iTunes then control-B should get them to show). You can then sign in with your own account (the Store > Sign Out menu option should change to a Sign In option) - does that work ?

  • "Add New Tab" button does not exist in the Window -Customize Toolbar, and not on my Navigator toolbar. Where can I find one to put on my Navigator toolbar, please?

    I see "Add New Window" but..."Add New Tab" button does not exist in the Window -Customize Toolbar any longer, and not on my Navigator toolbar. Where can I find one to put on my Navigator toolbar, please?
    Thanks

    It's the "+" on the Tab bar. You can move it to the Navigation Toolbar if you prefer. When you start Customize, the + moves to the far right end of the Tab bar. You can drag it where you want (see attached image).
    Any luck?

  • Open a new browser window when click a button

    Hi,
    I am working on Apex - 3.2.0.00.27.
    I want that when I click on a button, it should open a new browser window. I have tried to set property on the button , direct to url , html = _blank.
    but somehow it is not working.
    can you suggest something ?
    Thanks in advance.
    -Jasmine

    Hi,
    Even if i create different regions , it is not possible for me to place them between items.
    But anyways, I created a separate button in the same region and it works fine.
    Thanks Jari for your help.
    -Jasmine

  • When a linked .pdf is clicked, it downloads rather than following the link and opening in another safari window.

    When a linked .pdf is clicked, it downloads rather than following the link and opening in another safari window.

    Thanks for the tip, but I had already tried this and it did not help. The File still downloads and , at the same time, a new Safari window opens - but the Safari window is blank.
    Another discussion thread related to this problem is:
    How do I prevent automatic downloading of .pdf files?
    but this deals  with Safari 5.1 which evidently has a problem with Adobe Reader.
    I am using Safari 5.0, so the suggested solutions do not apply. ( I tried them anyway, but they did not work.)

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Firefox 'opens' but doesn't/won't open an actual browser window?

    Firefox Beta 4 has crashed out on me several times, but since the most recent crash Firefox will 'open,' but doesn't actually open a new browser window. Even if I go to the menu and manually select "new window" it doesn't do so. Nor can I submit comments under the "Firefox Makes Me Happy/Sad because..." tabs. It's simply not opening new windows. When I go to the force-quit window, it doesn't show up as hanging, however. Two close outs of Firefox, and two restarts of the computer have not resolved the issue.
    Most recent attempt to generate a new browser window generated the following error codes:
    Error: no element found
    Source File: https://testpilot.mozillalabs.com/testcases/index.json
    Line: 1
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Error in parsing value for 'filter'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 0

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, one of your add-ons is the culprit.

  • How to open a separate browser window from Captivate 2.0

    Hello Captivators,
    Thanks for a very responsive forum. I participate in an Adobe
    Flash forum as well and never get a response to any questions.
    I would like to know if I can open a new browser window in
    from a Captivate presentation, without killing the Captivate
    session.
    Thanks,
    eholz1

    You can, but without creating a custom widget in Flash, the
    user must click to make it happen.
    The easiest way is to add a button to your slide and in the
    button properties:
    On success: Open URL or file
    URL: <enter the URL to open>
    URL Window (down arrow button to the right of the URL field):
    New
    If you don't want the slide to remain paused after the user
    clicks, deselect the Continue playing project option at the bottom
    of the URL Window dropdown.

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • How do I make it so that Firefox does NOT close my other windows when I open a Private Browsing window?

    Whenever I open a Private Browsing window, it closes all of my non-private windows until I end the private session. Is there a setting or add-on that will make it so I can have both private and non-private windows open? Both Internet Explorer and Chrome allow you to do this and it is the only reason I'm not using Firefox.

    That unfortunately is the way that Firefox works.
    You could create a new Firefox profile, but it would have it's own set of bookmarks,
    you could use a different browser for either half, but again it would not share you
    bookmarks. Firefox has the best bookmarks, but I understand your situation.
    Private browsing does not suit my usage because it turns off everything privacy related and I would not want to turn off bookmarking or lose my session data. I am the only user on my computer.

  • Pdf links will not open in new browser window

    I have created a pdf document in Acrobat 9 Pro that is password protected. You must enter the password to open it. In this document there are perhaps 15 links to other pdf documents. I set up each of the links to open in a new window. The links work as expected in Acrobat, each opening in a new window, however, when I posted the documents to the web, the links open in the same window as the original document. This would not be a big issue if the original document were not password protected, but each time the user clicks on a link, it takes him out of the original document. To get back to the original document requires re-entering the password. This is a major irritation with so many links.
    I know that you can set Acrobat to display the documents in its own window rather than in the browser, but my users don't know that. Control clicking on a pdf link does not open it in a new window as it would with an HTML link. Is there a simple fix to this problem that does not involve user intervention?

    Well, I came up with a solution, thanks to Ted Padova who offers a simple JavaScript solution on his blog at http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows.
    The solution is clearly laid out even for beginners, if you know how to create a link or button.
    It seems to me that a prime objective of Adobe in developing Acrobat would be to have it behave the same way in free-standing mode and as a plug-in. In this case it does not, and obviously, it has not for the last forty-eleven years that Acrobat has been on the market. Maybe some day they will get around to a fix for this obvious problem. In the meantime, read Ted's blog and be happy we have guys like him who can solve these problems.

  • JavaScript for opening a new browser window.

    Hi all,
    Let me start by saying that I'm not JavaScript savvy at all.
    I have two buttons on a slide and I want each to open a new browser window.
    I Googled for a script and found this:
    window.open ('URL')
    I tried in my project and it worked fine but the browser window that my project was running in also changed.
    I've attached a .gif image of what happens to my project window when either of the two buttons is clicked.
    Can anyone help??

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

Maybe you are looking for

  • Windows 7 64 bit, Access 2010 32 bit, Oracle 10G client 32 bit, Oracle database 10.2.0.4 64 bit

    I am trying to connect to an Oracle 10.2.0.4 database from Windows 7 OS - 64 bit using Access 2010 32 bit and Oracle 32 bit client version 10.2.0.1 installed on PC. My user requires a 64 bit Windows 7 OS for other needs. Oracle ODBC driver is 32 bit

  • Ipod nano not rcognized in windows 7 or itunes

    When i plug my ipod into usb on windows 7 machine it is not recognized anywhere. However it does charge. Thank you for any help. OfferHope MB

  • How do I get iphoto to import images

    Since I installed Yosemite if I attempt to import more than a few images at a time they all are black! I am a professional photographer and have used iphoto as the gateway to my computer forever.  This is a real PITA apple.

  • Size of select-list

    Hi, I was told that a select list cannot be bigger than 32K - is this still true or has this bug been fixed for version 3? If this is still true, then how do I avoid getting problems if the select-list becomes bigger than 32K? Thanks.

  • Help needed on hierarchy in reporting

    Hi All,   We have a requirement to create variable selection at the first three node levels of a hierarchy in the report. The user should be given the option to directly enter the customer number instead of selecting the hierarchy node from the drop