Stop the link open more than once

Hello!

I created a button inside a document to Animate canvas.

However when I click it, it opens to the severeral homepage times. Probably because that it loads the script whenever the timeline plays.

How to prevent the load or avoid it to open more than once?

The script im using is as follows:

this.button.addEventListener ("click", fl_ClickToGoToWebPage_8);

function fl_ClickToGoToWebPage_8() {}

window.open ("http://www.adobe.com", "_blank");

}

One thing to do, you can try is to remoive the listener of events inside the function so that the button open is nothing, after the opening of the window.

this.button.addEventListener ("click", fl_ClickToGoToWebPage_8);

function fl_ClickToGoToWebPage_8() {}

Window.Open ("http://www.adobe.com", "_blank");

this.button.removeEventListener ("click", fl_ClickToGoToWebPage_8);

}

If you would like the option to reopen the window atr once then add the listener when the window is closed.

Tags: Adobe Animate

Similar Questions

  • Help! CC of PHOTOSHOP: I want to reproduce the same project more than once and to modify their dynamic objects linked separately as different projects - can you help me? Please

    I want to reproduce the same project more than once and to modify their dynamic objects linked separately as different projects - can you help me? Please

    If related files please consult are located next to the file that contains the duplicate folder and edit files duplicate so corresponding should translate into changed content in the file duplicate.

  • Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    I tried to do this by using the search but it will find only them, if they occur as a long chain, that is to say "Here's the answer" rather than how they occur in the document it is to say "Here 's" a bunch of information that leads you to 'the answer'. The search feature so standard did not help.

    Then I tried to do this by using the tool to delete (obviously not the application of writing!) because it allows me to search for multiple words or phrases, however it is not highlight what page both are found. I tried to turn on the preference to enable deletions of comments and even if it meant that I could then go through all the comments, it's still not faster than my document is more than 1,000 pages, which meant there were too many total comments for me to be able to easily identify which page had both.

    Any ideas?

    There is no built-in way to search for two strings and limited to show only the results that appear on the same page.

    It can be done by using a custom script, however.

  • How to repeat the same line more than once in the report 10g

    How to repeat the same line more than once in the report 10g

    If I print the barcode more than once
    in the report;

    Published by: user11106555 on May 9, 2009 05:50

    OK, thought it was just a recording, then try:

    SELECT COL
      FROM TABLE,
           (SELECT 1
              FROM DUAL
             CONNECT BY ROWNUM
    
  • Can a genuine windows installation be legally installed on the same computer more than once

    I had the unconscious idea that a person can install windows as much as they want as long it is on the same computer and it has the same material, but it may be a different partition.  So I guess I can legally install MS Windows Vista, 7 or xp as many times as I want as long as it is on the same computer.  Maybe that's how integrators.

    Thank you.

    Hello

    Yes, you can install the same copy of windows on the same computer as many times as you want and activate for any number of times.

  • Can afford you an Eloqua contact enter the same campaign more than once at the same time?

    I have a use case where a campaign on the Web has two different webinars to choose. If contact resumes the periods it only will allow them to follow a path. Y at - it a way to allow a contact of the two options, or it will have to be broken out into two individual campaigns in order t work properly? Thanks for any help you can provide.

    Unfortunately there is no work around that would touch even in one campaign several times. Both campaigns is the only option for this case.

  • Multiple press: How can I make a button to perform an action more than once?

    I am currently creating an interactive document.

    I have a map with circular buttons to points of interest. I need information to fly from the right side of the page that gives information about the area of the map that is identified by each button.

    Currently, I have all my buttons and put activities in place to work, however, each button lights up only its animation assigned only once.

    If I click on "zone 1", it evokes conscientiously information of zone 1. I've also built in a button 'Close tab' that puts information to leave the screen to reveal a clear view map. I can click on the 'X' to remove the information. When I click on the button 'zone 1' once again, nothing happens.

    Here is what I tried:

    • using fly in and fly animations to control expected to come from off the screen.
    • using trajectories to control objects want to enter from off-screen.

    In both cases, the buttons and animations have interpreted as you wish, but I can't get them to repeat!

    Help, please!

    Thank you!

    If you decide to use the swf instead of pdf, here's a way to do this.

    'Information 1' comes up on the screen. Instead of having a close box to remove, do 'Information 1' button. Define the action of this newly created button: event [click] Animation of Action [Animation] [the name of the button] Options [back]. This will allow users to perform a 'information 1' go off the screen and should be able to activate the original animation more than once. If you need a sample file to see what I mean, I can send you a.

  • repeating subforms can you script to stop the same value being selected more than once

    I have a LiveCycle form with a subform that is repeated when the first field (text field 2 characters) requires the entry of a code between 01 and 99. You can script so that you cannot enter the same value of code more than once?

    Here's a code in Formcalc that works for you. Put it in the output of the textfield event.

    In this example, the page is called myPage and textField is called TextField1. Rename them as you need.

    indexCount var = 0

    var thisIndex = $. parent.index

    While (indexCount< thisindex)="">

    If (myPage [indexCount]. TextField1 is myPage [thisIndex]. TextField1) then

    xfa.host.messageBox ("you already used this number")

    $ = ""

    endif

    indexCount = indexCount + 1

    endwhile

  • I am (early 2013) iMac 21.5 inch 8 GB which is sutting down then restart unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions?

    I have an iMac (early 2013 21.5 inch 8 GB) which stops and then restarts unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions? I bought this machine this June last at B & H in New York.

    Please post a report of EtreCheckof your system. We then look for obvious problems. Please click on the link, download the application and run the report. Once you have the report, please copy and paste into your response to this post.

    If you would like more information on what is EtreCheck, just click on the link and you will find a description of the application.

  • artists are to display the window more than once in sync

    iTunes version 12.2.4.   In the timing window on the right side under "Artists" of some artists appear more than once.

    For General and advice on the Organization of the iTunes, see grouping of tracks in albums . In particular, any given artist name should be spelt constantly everywhere where it appears in the two fields artist album and artist, and still have the same sort value.

    TT2

  • Do you need to reset the PRAM or SMC more than once?

    I heard that the PRAM reset (more two carillons, like three..) or the SMC (do it twice, not one) more than once is sometimes necessary.

    What is your experience?

    If you have to do it more than once, it is because it is not done correctly the first time.

  • video game like the 'w' key controls are being powered with numbers specifically a sequence relies on more than once

    the old switchero
    video game like the 'w' key controls are being powered with numbers specifically a sequence relies on more than once

    Hi mag1475,

    I suggest looking up the keyboard key parameters in the game and reset the default settings, check to see if it helps.

    Also connect another keyboard to the computer and check if it the question persists in the game.

  • BlackBerry Z10 Facebook presents more than once in the HUB!

    Dear all,

    I noticed that my Facebook showed more than once in the HUB! and all instance displays something different from each other. Past instances show old notifications that I deleted a long time ago!

    Whenever a connection and disconnection of the Facebook application, a new instance is created inside the HUB! It seems that there is a serious bug in the HUB or Facebook!

    How can I fix?

    found the solution here:

    http://forums.CrackBerry.com/BlackBerry-Z10-F254/two-Facebook-accounts-showing-hub-834878/

    Thanks to the FB developers!

  • Can transfer easily to be run more than once on the receiving system?

    Can transfer easily to be run more than once on the receiving system?

    I installed Win 7 on a separate XP drive and I am able to switch between them starting from their respective readers.

    I made an easy transfer between them and now intend to install it and test my programs on Win 7.  Once I've got everything working properly, and that all migration issues are resolved, I would like to make a clean second run Easy Transfer of XP just before the final switch to Win 7.

    "Clean run" I mean I want all the Win 7 system to be completely replaced by the new data and the parameters of the XP system.

    Easy transfer will do that?

    What I would recommend that you do, is create a new account user in Windows 7, then restore the backup Windows Easy Transfer in the new account and delete the old account that you created in the first place.

  • What type of eloqua email send should I use to send an email more than once to the same beneficiary?

    What type of eloqua email send should I use to send an email more than once to the same beneficiary?

    In the canvas on the box email, there is a parameter that must be checked in order to send the same e-mail several times for the same contact. Enable 'Allow emails to be retransmitted to previous winners' and you're ready.

Maybe you are looking for

  • Firefox is misinterpretting the HTML code

    In an HTML document, there is a p element containing many children elements followed by another p. The browser does not realize the first final tag is the first element of p and thus creates a third empty middle paragraph. Why would this happen?Here

  • I can't close Firefox unless I have shut down the pc.

    I am running Firefox 5.0.1 on Windows XP. DSL. Often, he uses a ton of memory, so I go out. However, it continues to run under the 'process' in the Windows taskbar, not to release memory. Often, I actually shut down the pc. Turn it back on, I try to

  • No SATA AHCI driver for 6440 b

    Hi all! * Yes, I have read the sticky on the SATA drivers - did not help. Us have just bought 5 laptop computers HP 6440 b to test (and would buy a lot more), but we have a problem with the installation of win XP on it when mode = AHCI - just SATA ca

  • Satellite M45-s359, Windows will not start

    I have a problem with this laptop. I simply re - install Windows and everything worked perfectly.Well I started to updated with windows update, but it took too long, and I had to turn it off The next day, I came and turn on the computer laptop everyt

  • HP envy: 10 Qualcomm Atheros AR9485 Wireless Adapter Driver Update Windows

    Hello I want to know where I can get drivers for my HP Envy Qualcomm Atheros AR9485 for Windows 10 I looked at the following site: https://www.Atheros.cz/Atheros-wireless-drivers.html And he showed that the drivers are not available for Windows 10, I