Relative link in SWF opens the window of your browser, why?

Hi all

I have a SWF movie with a link that I need to be a link. ActionScript 3.0 Code below

import flash.events.MouseEvent;
var getIndex:URLRequest = new URLRequest("..) ("/ index.html");

-Enter button-------.

E_btn.addEventListener (MouseEvent.CLICK, bclick);

function bClick(event:MouseEvent):void {}
navigateToURL (getIndex);
}

When the user clicks on the link it opens the page but in a new browser window instead of navigate within the same window of the page, as links should do, shouldn't they?

Does anyone know how to remedy this? A beginner a bit (as I'm sure you guessed)

Cheers in advance

use:

import flash.events.MouseEvent;
var getIndex:URLRequest = new URLRequest("..) ("/ index.html");

-Enter button-------.

E_btn.addEventListener (MouseEvent.CLICK, bclick);

function bClick(event:MouseEvent):void {}
navigateToURL (getIndex, "_self");
}

Tags: Adobe Animate

Similar Questions

  • Problem with the behavior of "open the window of your browser.

    I am very new to Dreamweaver from Golive. My problem is with the behavior of the "open new browser window". I found nothing in the archives which deals with this issue.

    I have a link to a page that is not on my site, by clicking on the link, the browser should open a new window showing the other site, while my website is and remains unchanged.

    Right now, when I click on the link not only a new window opens with this site on this topic, but the page on my site where the link is also changed to this new site.

    How can I keep my page to change and only open new browser window?

    I've tried it on several browsers and same problem exists.

    I use PS CS5 with the last update on a MacBook Pro with OS X 10.6.6 and 8 GB of RAM

    Thank you for taking the time to read this.

    Branko

    I have a link to a page that is not on my site, by clicking on the link, the browser should open a new window showing the other site, while my website is and remains unchanged.

    Right now, when I click on the link not only a new window opens with this site on this topic, but the page on my site where the link is also changed to this new site.

    It's because you have applied the behavior in a way that leaves the href attribute of the link to the page linked as well as the behavior.  You can easily fix that by changing this-

    on this subject.

    http://www.example.com/whatever.html"onclick ="MM_openBrWindow (...);" return false">

    Now, you will have a link that can still work even when javascript is turned off in the browser of the visitor.
  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • Cannot open the Windows Update Advisor

    I can't open the Windows 7 update Advisor after the download.  A "open with" window opens and I select Internet explore; " but, I get the message "the target of this internet shortcut is not valid.  Go to the Internet shortcut property sheet and make sure the target is correct. "Follow-up by" ' could not open the Internet shortcut... l '. "  Can you help me?

    Hello

    Are you facing this problem with Windows 7 update Advisor shortcut icon?

    I suggest you run the Microsoft Fix - it from the link and if it helps.

    Difficulty of broken desktop shortcuts and common system maintenance tasks

  • When I opened the Windows Security Center it says "the Security Center is currently unavailable because the Security Center Service is not started or was stopped.

    When I opened the Windows Security Center it says "the Security Center is currently unavailable because the Security Center Service is not started or was stopped.  I can't see if any firewall or antivirus works etc.  Anyway to reinstall the Windows Security Center or is there something else I can do.  Concerning

    Hello

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    Follow the procedure described at the link below and check if it will help: error message when you try to open the Windows Security Center in Control Panel on a Windows XP computer: http://support.microsoft.com/kb/919291

  • Problem with Cloud - on MacBook pro, when I opened the window CC, all I get is welcome Aps active community.  a blue dial spining but nothing else

    Problem with Cloud - on MacBook pro, when I opened the window CC, all I get is welcome Aps active community.  a blue dial spining but nothing else

    Hello

    I suggest you fine the link below and it will help you.

    Does not open App | Wheels of progress turn continuously

    Concerning

    Maansee

  • How to open the window updates "Adobe Application Manager"?

    How to open the window updates "Adobe Application Manager"? Or I can or should I...?

    I am a brand new Member of cloud.  I heard about the update of the retina.  Assuming that's where updates seems logically I went first to the application "Adobe Application Manager".  Without closing the "Adobe Application Manager" I open Photoshop and went to the Help menu and select "Updates."... » ; a second window in the Application already handler open "Adobe".

    I chose the update of all.

    The result is less to:

    DW CS6 12.1 creative cloud

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Dreamweaver CS6 12.0.1 update to address critical issues

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Photoshop 13.1 for creative cloud

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe InDesign CS6 update 8.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    CS6 Adobe Bridge Update 5.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe Illustrator CS6 update (version 16.2.0)

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Office DPS CS6 2.05.1 tools updated

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Dynamic links Media Server CS6 update 1.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Photoshop Camera Raw 7.2

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Update handler 6.0.4 extensions

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe Media Encoder CS6 Update 6.0.2

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Now, I closed "Adobe Application Manager" and reopened "Photoshop" and again selected "updates... " on the Help menu.  The "Adobe Application Manager" opened again with just a window this time and the updates happened correctly.

    I was hoping a updates would be the "Adobe Application Manager", I don't think so.

    So, if I were you I would not select "Updates."... "in an Adobe application unless the " Adobe Application Manager " is closed until they fix IT...

    Current version: Adobe® Application Manager - Version 7.0.0.128 (7.0.0.128) notes the two windows in the "Adobe Application Manager" in the attached image.

    Screen Shot 2012-12-11 at 2.23.03 PM.jpg

    If you read my entire post you would have seen that after closeing "Adobe Application Manager" updates completed normally next time I chose "updates... "in the Help menu in Photoshop.

  • Looking for images related to jump while opening the indesign file is prossible?

    Hi all

    My indesign document have 250 images. While I moved the indesign document to the other server. All images now are the missing links. While I open the indesign document looking for image links, this process is more time consuming to open the document.

    I just want the linked file you are looking for and open the file. I have them then will be re-issued.

    Looking for images related to jump while opening the indesign file is prossible?

    Thanks in advance

    Concerning

    Arul

    Hi arul,.

    Preferences-> file manipulation->
    -Check links before opening Document
    -Find missing links before opening Document

    Gruss,

    Sergiy

  • getURL opens the window, the content is overwritten

    I use this:
    JavaScript:openNewWindow('Galbis.swf','thewin','height=720,Width=540,Toolbar=no,scrollbars_=no,Toolbar=no,scrollbars=no,Resizable=no')
    and it opens the window just fie, it's just that the content is 40% of the size. Are the params in a particular order? You need all or only some of them? I thought resizable would take care of this problem but...

    Try this generator for javaScript popups... I use it every time, works like a charm!

    http://JavaScript.Internet.com/generators/popup-window.html

  • How to open the window on the screen not only on the bottom toolbar?

    I opened the window and it goes automatically into mode minimized on the bottom of the toolbar. I can't be on the screen. It shows that it is open, but I don't have access to it on my screen. What can I do? help I need this to get into the internet.

    Hello, please try to reset firefox and see if that can solve the problem...

  • my email is open, but no window shows? I get the email but cannot open the window to see?

    My mail app is open. I get an email, but I can't open the window to see. I restarted my computer and right clicking on the icon to open a new window. What can I do to get the window to open it? I can see my mail on other devices or online.

    Please stop Mail. Force quit if necessary.

    Back up all data before proceeding.

    If you use OS X 10.11 ("El Capitan") or version later, triple - click anywhere in the line below on this page to select:

    ~/Library/Mail/V3/MailData

    If you use an older version of Mac OS X, use this line:

    ~/Library/Mail/V2/MailData

    Copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to folder

    in the menu bar. Paste in the box that opens by pressing Command + V, then press return.

    A file window opens. In it he must be files with names as follows:

    Index of the envelope

    ExternalUpdates.storedata

    Move these files to the desktop, leaving the window open. Other files in the folder can have names more long that begin as above. Move these files, if any, in the trash.

    Mail recovery. It should invite you to re - import your messages. You can get a warning that the index is corrupted and that Mail must quit smoking. Click OK. Generally speaking, the process takes a few minutes, but this can take hours if you have gigantic mailboxes. In this case, you will be able to speed things up temporarily by adding your file to the list of personal information protection in the Spotlight preferences pane. Remove it when Mail has finished importing.

    If the import operation stalls or fails with an error message, quit Mail, delete the two new index files (maintenance of the original that you moved to the desktop) and try again. According to several reports, the second attempt can succeed if one does not.

    Test. If Mail now works as expected, you can delete the files that you moved to the desktop. If not, post your results.

  • Implementation OS10.9 to open the windows in the finder on reboot?

    Hi all. MacPro mid-2010 model, OS 10.9.5, 16 gig RAM...

    You know, it seems that whenever Apple highlights its new version, it boasts all the features of "new and improved" she brings with her.

    What they don't tell you is what they forgot to put back!

    For example, this. On my MacPro at home (a 1.1 model), I run the Sara snow (10.6.8). I have my new iMac ElCapitan 10.11 (! its majestic).

    BOTH computers will be re-opened windows of the finder that were open when I restart.

    However, the computer at work, the model 2010 supra with Yosemite, did not and it's important, because I have to open then manually 6 finder Windows I keep it open at any time while I'm working (if you want to know why, I can ' splain to you..)

    Yes, my question: is their a display Option or the Finder prefs somewhere which will open the windows in the Finder for me when you restart?

    I do not think that is cared for and for what it's worth I agree, that would be helpful. You can suggest it is in www.Apple.com/feedback.

  • I got this rerror or80190194 when I open the windows update page

    When I open the windows update page approach error code # or80190194, can someone help me solve this problem

    When I open the windows update page approach error code # or80190194, can someone help me solve this problem

    You have installed Service Pack 3?

    Alternatively, download the standalone installer from here:
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

    Don't worry it is said that it is for HER and the developers. It's the same one you can download normally from the Windows Update site.

    Windows Update blocks access if the user does not have the latest Service Pack installed.

  • Whenever I try to open the Windows Firewall is suite error, "due to an unspecified problem, Windows cannot display windows firewall settings.

    Whenever I try to open the Windows Firewall is suite error, "due to an unspecified problem, Windows cannot display windows firewall settings.  I tried to reset the firewall from the prompt with instructions, I found online but ask me who fails.  When restarting I also get "error during loading of a file in the Temp,"algmd.dll"folder.  I have Windows XP with SP3.  This problem started after I installed antivirus software, ran scan, found 5 Trojan horses, and deleted files.  Help, please.

    Thank you

    You're still infected:

    Download, install, update and scan with these full free malware detection programs:

    Malwarebytes (MMFA): http://malwarebytes.org/

    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    http://www.Microsoft.com/security/scanner/en-us/default.aspx Security Scanner   

    http://www.eset.com/us/online-scanner/ eset online scanner

    Answer the following questions on your next post: brand and model of the pc, what is your antivirus?

    Run all the analyses above, complete, such restart required.

  • Cannot open the Windows Gallery with error message: "you may not have enough space on your hard drive or critical files may be lack of Windows.

    Original title: Windows Photo Gallery problems

    I have a problem trying to open Windows Photo Gallery, when I click on the program tab I get an error message saying: Photo Gallery cannot start. You can have enough space on your hard drive or critical files may be lack of Windows.

    • NO Mahesh B G , is not windows live photo gallery, windows photo gallery & is the message I get "could not open the Windows Gallery with error message: 'You may not have enough space on your hard drive or critical files may be lack of Windows'." Thank you Dave 07/11/2012

    Hi David,

    1. have you made changes on the computer before this problem?
    2. are you referring to the Windows Live Photo Gallery?

    Please follow the methods and mark the question below:

    Method 1:

    Fixed problems with Windows Live Photo Gallery that does not:
    http://support.Microsoft.com/mats/windows_photo_and_slideshow_diag/

    Method 2:

    You need perform a clean boot to prevent any third party conflicting application from interfering with your computer.

    To put the computer in a clean boot State, you must follow the steps in the article mentioned below and check with the question.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: You must follow step 7 of the article mentioned above to recover your computer to a Normal startup after you complete all the steps.

    I hope this helps.

Maybe you are looking for

  • Transfer my iBook in iPhone to my ipad

    I would like to transfer books from iPhone to my iPad... (it would be better without using desktop)

  • After the upgrade to M, even after app running background always have disabled

    After the upgrade to M, end of running back app again even after you turn off I have disabled in the background running apps in the power manager, but still historic turning applications, thereby it consumes more RAM and battery. Please solve this pr

  • Not specified...

    Trying to access a virtual desktop to the web portal, I get "no server has been specified.  Please contact your system administrator. » Our group had crashed before this error but everything seems to be in place and working properly.  Not sure what i

  • Cannot install Swat 3 on windows 7

    I need help, I have the original Swat 3 disc and when I press on install in the menu, the menu disappears and nothing happens! No matter what I try it dosent install and I can't play the game, I used to love as a kid. :( Help, please!

  • Setting up email on Bold 9900 blackBerry Smartphones

    I have a BlackBerry Bold 9900 and use it as a phone through AT & T prepaid. When I try to configure my email on the phone accounts, he says that he is unable to do so. I can also access Yahoo Messenger; When I try it says impossible for this device.