Open link in same window

Hi there,
Does anyone know how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6
var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{
navigateToURL(getnextpage5);
Thanks
JR

It should open in the same window by default, but if you want to force it, you pass "_self" to the navigateToUrl function:
var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{
     navigateToURL(getnextpage5,"_self");

Similar Messages

  • Open links in same window, not new

    Help greatly appreciated!
    My links open in a new window, but I need them to open in the
    same window.
    What do I need to add to my code so that this happens.
    Here is my code-
    stop();
    var arrLinks:Array = new Array();
    arrLinks[1] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027141/category.cgi';
    arrLinks[2] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027139/Harlequin-Historical.html';
    arrLinks[3] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027129/Silhouette-Desire.html';
    arrLinks[4] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027136/Silhouette-Nocturne.html';
    arrLinks[5] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027121/Harlequin-Intrigue.html';
    arrLinks[6] = '
    http://www.diesel-ebooks.com/cgi-bin/category/FIC027123/Harlequin-Blaze.html';
    var pc = 0;
    this.onEnterFrame = function() {
    pc =
    Math.floor((_root.getBytesLoaded()/_root.getBytesTotal())*100);
    if (pc == 100 && !isNAN(pc)) {
    delete this.onEnterFrame;
    _root.play();
    The project this code refers to is here-
    http://www.respond1.com/harlequin/slider/slider_over_all2.html
    Thank you so much in advance.
    Dave

    Where is your getURL action?
    have you tried _parent or _self as it's target?

  • Firefox v29 opens links in same window

    Since installing version 29, I have found two seemingly related issues:
    1) I find that links open in the same window as the source, instead of a new window.
    For example, I get a notification of a newsletter every day in my Yahoo mail account. Prior to v29, when I clicked on the link in the email message to go to the newsletter, it would open in a NEW window (my preference).
    With version 29, it opens in the SAME window (and replaces the window where I had Yahoo mail open).
    2) Similarly, I do a lot of work where links will be listed in an Excel spreadsheet. Previously, every time I clicked one, it would open a new window. If I clicked on 6, I would have 6 open windows. Now, each link I click REPLACES the last one I opened.
    Both of these issues are highly annoying and slow me down.
    Is there a setting where I can change this behavior?

    I found that after Firefox v29, a LOT of my settings and<BR>
    add-ons were changed / reset. Try this;
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode;<BR>
    '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.<BR>
    Then check ALL of your settings. Browser and add-ons. Then restart.

  • How to open links in same window, another tab (by default)?

    I think the users have been asking this question for more than two years. Is there a way to open links in the same tab automatically? Its annoying when I am using apple products and have to click three times for a task that is easily made with a single click in other products (chrome, firefox....).

    Hi ...
    Not in the same tab but a new one yes. Command + click
    Check the Safari Extensions gallery...
    From your Safari menu bar click Safari > Safari - Extensions.
    Try the Productivity category.

  • Dreamweaver open link in same window (basic)

    Hey,
    I have a verry basic question.
    So im creating a page with File->New->2 column left sidebar fixed.
    And now i want to have "Link one" link to a new page, and that new page has to be shown on the right side. so that the left bar is still there.
    How do i do this ?
    Thanks for any help!

    Right. Copy/paste the code from source of example and place it into the code window of Dreamweaver. No typing required.
    I understand where you're coming from though... You just want to click some buttons and have Dreamweaver do it all for you. Sorry to break it to you, but sooner or later if you want to use Dreamweaver you're gonna have to get your hands dirty in some code. DW is not a do-it-all for everything, although in this case there there is possibly an interface-only method of creating the feature using spry regions. Knowledge and/or the willingness to work with code in Dreamweaver is an unspoken requisite of using the software. It not only helps when reverse-engineering examples that are provided to you it will also allow you to have more knowledge and control over your designs.

  • The link open in the same window - Label based menu

    Hi All,
    I'm using Xcelsius 2008.  I add a Selector Component "Selector complonenet > Label based menu". I setup 6 Lable and each one link to a URL. When clicking the label on the generated SWF report, the link opened in a new window.
    So i'd like to know if the link can open in the same window (not pop-up a window and open in it)?I tried to setup it in properties, but it seems there is no way to do this.
    Could I get your guide how to do that? Thank you so much.

    Hello
    I would like to know one thing before answring the question how did you link with an url with the label based menu.
    Did you used the opendocument syntax or what did you used.
    Another method is why donf you use the URL button and map according to your requirement. place the url button on the menu item and change the properties to tranperancy to 0%.
    Thanks
    Santhosh V
    Edited by: Santhosh Vudarla on Nov 19, 2010 12:05 PM

  • Forcing "Open cross-document links in same window" to be unchecked

    Hi All,
    I am distributing a PDF document set where there is one PDF with well over a hundred links to other PDFs which are located in sub-folders.
    The set will be distributed on USB thumb drives.
    It will be simplest for users if they have "Open cross-document links in same window" unchecked.
    Is there a way I can "force" it to be unchecked?
    During a test, someone got a security warning: "This document is trying to access abcd.pdf" Allow/Block. Why are they getting that message when there is no Internet request?
    Thanks very much for all thoughts and wisdom,
    David

    It works in an older version 6.0
    Anyone know how to get this to work in the newer versions?

  • In Firefox 5, New Windows open in the same window even though the options are set to open in a new window.

    I have the options set to open new windows in a new tab. However, they do not.
    For example, as I click on the various options for support on Firefox.com, each opens in the same window. Similarly for Yahoo. If I bring up the news page and click on various links, they all open in the same window. How do you get them to open in new windows?

    Pure speculation, but maybe that Identity Finder program is deleting your browsing history which is how Firefox restores tabs and windows from the previous session. Check with technical support for that program or look at the manual.

  • Apex 4 - Flash Chart - How to open link in same page

    Hi,
    I need help in apex flash chart development. I want to open link in same page. Currently it open in new window with existing page intact
    I have created a flash chart.
    Below are setting
    Chart Type 2D line
    Series Type : Line
    Series siurce : sql query
    elect '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link,
    capture_date,
    round(sum(TOTAL_MB)) "Total_MB" ,
    round(sum(USED_MB)) "Used_MB" ,
    round(sum(FREE_MB)) "Free_MB"
    from SST.TABLESPACE_USAGE_HIST
    where DBNAME = :P15_ORACLESID
    group by capture_date
    order by capture_date
    Problem: when I run this page, chart is displayed. Now if I click on the series value of chart, it opens page ( '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link) It opens page 2 in new window. I want it to open in same window. Am I missing something ? Is this possible ? Is there anything I can change to achive this functionality
    Please help

    Hi All,
    I have an issue with Anychart link, can you please help me.
    1. I have created HTML region in a page with
    <div id="sampleClick">
    <div id="sample1">
    <script type="text/javascript" language="javascript">
    function ChartSample()
    var ChartSample = new AnyChart('/i/flashchart_v5/swf/AnyChart.swf');
    ChartSample.width = "500";
    ChartSample.height = "400";
    var ChartData = new htmldb_Get(null,$x('pFlowId').value,
    'APPLICATION_PROCESS=FINANCE_020',0);
    gReturn = ChartData.get();
    // prompt("xml",gReturn);
    ChartSample.setData(gReturn);
    ChartSample.write("sample1");
    ChartSample();
    </script>
    2. Then created Application process with "On Demand Run this application process when requested by a page process." in PL/SQL Anonymous block
    select 'f?p=&APP_ID.:136:&APP_SESSION.::::P33_ID:' || YEAR link,DECODE(period,1,'JAN',2,'FEB',3,'MAR',4,'APR',5,'MAY',6,'JUN',7,'JUL',8,'AUG',9,'SEP',10,'OCT',11,'NOV',12,'DEC')||'-'||year "MONTH",round(SUM(ytd_revenue)/1000000,2) YTD_REV from t_tc_qpcq2052
    where cntry='IND' and category='20'
    GROUP BY year, period
    ORDER BY YEAR, period
    I am able to see the chart, but I am not able to open or pass the value from one page to another page when I click the bar chart.
    Can you please help me on this.
    Thanks in Advance.

  • Open link in new window Webapps

    Hi All,
    I wonder if you can help.
    I have created a directory site, with web apps.
    When you get to the listings page it has a link to there website but the links do not open in the same window.]
    A link to a page is here so you can see what I mean
    Air Con Repair and Service A1B1C1
    The line of code for the link is "<div style="text-align: center;"><span style="color: #0070c0;"><a href="http://" target="_blank">{tag_web address}</a></span><br />"
    Which from my research should mean it opens in a new window.
    Has anyone got any advice?
    Cheers
    Duncan

    Hi Duncan,
    Tag Web address - You use the url custom field. Dont - Delete that and remake it.
    That renders its own link - {tag_web address} and if you view your html markup on your rendered site you will see you have two split anchors, a blank one with your target and the BC rendered one. Use a custom text field and paste the links in. Then you can form you code as you have above.

  • Open Link in New Window not working

    Using iWeb 08, I create a new entry on my blog/news page, highlight the text, go to the link tab, paste in a website, make sure 'Link to an External Page' is selected, and put a tick in 'Open Link in New Window'.
    When published it opens in the same window. Is this a bug or how can I correct it?

    Try redoing your link and, this time, deselect the link on the page and look at the inspector window to see if anything has changed. Then check the 'make hyperlinks active box". Your linked page should open in the browser when you click the link on the iWeb page.
    If this is OK do a "publish all to .Mac" and empty your browser cache before visiting your site.

  • Open Link in New Window is not working...

    When I right click on a link and select '''Open Link in New Window''', a new window opens but there is nothing on it.
    The same thing happens when I right click on a Tab and select '''Move to New Window'''.
    Right click and select '''Open Link in New Tab''' works just fine.

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

  • I want to eliminate or control popup windows that have no relevance and start with "open link in new window" . How do I control or eliminate. It is a nuisance.

    When I am searching the web and click on an item, I get a pop up window that contains 6 choices beginning with "open link in new window". Most of the time this a nuisance and I want to get rid of it, but it follows me all over the page and keeps popping up when I click on the same item again. If I don't want to use it, how can I make sure it doesn't reappear?
    Also, another question. Firefox keeps asking me to upgrade to Firefox 3.6.19, but when I try, it will download. What gives? I have a Mac Pro with OSX version 10.6.7.
    Thanks,
    Lloyd Frohreich
    [email protected]

    It sounds that you are opening the right-click context menu, maybe by pressing the mouse button for too long.
    See:
    * http://kb.mozillazine.org/ui.click_hold_context_menus

  • Adobe Reader 9 IE 7 Opens PDF in same window

    That's basically my problem. When using internet explorer 7, if I try to click on a PDF link the PDF is opened in the same window as the page I am on. I have the website link target set to blank, so I am not sure what the problem is.
    When I click on a PDF link a new window pops open, I click 'Open' on the download prompt box, but then it goes back to the original window and opens on top of the original window.
    Any ideas would be greatly appreciated.
    Thanks,
    Pat

    I have some of the same problem
    with my Windows 7 64 bit computer. I
    get an error when sending a document to
    the PDF veiwer and am told to shut down
    Adobe Reader.  Is there a download to
    correct this problem?  Adobe Reader 9.3.1
    works fine with Windows XP on my 32 bit
    computer.

  • Evolution opens link in current window not in window Firefox is running in

    Ubuntu 14.04.1 LTS, Gnome 3.12.2 due to lockups of system I removed the Ubuntu version of Firefox and installed 33.1.1 from the Mozilla site. Since then whenever I click on a link in a message Firefox will open in the same window Evolution is in not in the window Firefox is currently running in. Not only that but it will open to my homepage not to the link that has been clicked on.

    Try redoing your link and, this time, deselect the link on the page and look at the inspector window to see if anything has changed. Then check the 'make hyperlinks active box". Your linked page should open in the browser when you click the link on the iWeb page.
    If this is OK do a "publish all to .Mac" and empty your browser cache before visiting your site.

Maybe you are looking for