How to get Edge to ignore a trigger after the first time it has played

Hello all,
I have a symbol that is activated by clicking on a button.  The symbol has two triggers at different points on its timeline.  Each trigger activates a separate symbol.  I want both triggers to work the first time through, but on the second and all subsequent times, I want the first trigger to be ignored.  There is probably a little bit of code that will do this very easily (maybe an if else statement?), but I'm afraid I am not very good at that.  Any ideas on how to accomplish this? Any help would be greatly appreciated!
Cheers, and all the best!

So here is a solution using a global variable: test1 revised.zip - Box
compositionReady:
sym.setVariable("firstRound", true);
yellow trigger:
if (sym.getComposition().getStage().getVariable("firstRound")) { // if firstRound is true i play, else nothing
  sym.getComposition().getStage().getSymbol("yellow2").play();
  sym.getComposition().getStage().setVariable("firstRound", false);

Similar Messages

  • How to I get my ipod connected to wifi for the first time..it's an ipod tough 2010 version, refurbished

    how to I get my ipod connected to wifi for the first time..it's an ipod tougch 2010 version, refurbished

    Hi,
    To connect your iPod to wifi just:
         1. Open settings,
         2. Tap Wi-Fi,
         3. Make sure the Wi-Fi switch is on,
         4. Tap the network you would like to connect to,
         5. If  the network has a password then type it in and press join.
    For hidden networks(networks that don't broadcast their SSID(name))
         1. Follow 1-3 above,
         2. Tap other,
         3. Type in SSID(name) of the network,
         4. Select the security of the network,
         5. If there is a password type it in,
         6. Press Join.
    Some public networks may now show a login screen where you  may have to agree to terms and conditions, enter your email etc...

  • How do I sign in to my iTunes for the first time? Everytime I try it says I have not used iTunes before, and to review my account information.

    How do I sign in to my iTunes for the first time? Everytime I try it says I have not used iTunes before, and to review my account information.

    It sounds like you are trying to create a new icloud account, not just logging into an existing account.  When you type in your Apple ID and get that error, it's because you are trying to create an account using the same ID that is already being used in another account.
    Go to Settings>iCloud and scroll to the bottom of the screen.  If you are logged in, press the Delete button, then try logging in with the existing ID.
    As for pics, the most secure way is to connect ipod to PC with USB and look at the Photos tab for your device in iTunes.  Using Photo Stream is another way, but it doesn't always work, depending on conditions.

  • I have a new Macbook Air and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on. The computer is not hot.Any ideas on how I can fix this please ?

    I have a new Macbook Air, 6 months old, and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on and the computer seems to running more slowy.The computer is not hot but I am worried it may burn out,.Any ideas on how I can fix this please ?

    Hello dwb,
    Here is the screen shot, just the top half, there are another 10 pages, but I guess this should enough for you to have an idea of waht is going on, bit small I am afraid. No, I don't have any apps setup to run when I open my computer, the kernel, varies between 290 and 305 per cent ish.
    Would that PRAM thing help ? I think it may be the computer itself, well something inside, as this the first time that the fan has ever started running since I have this computer, even when I have 3 or 4 apps running.
    Thank you again for your advice,
    Regard,
    Beauty of Bath

  • My iPhone 5c keeps turning off it or just going to the shut off screen, also I have a pressure crack inside my phone. This isn't the first time this has happen the within the first 2 months of getting the 5c (I got it when it first came out) did this

    Like I said in the question it won't stop trying to turn off and this isn't the first time this has happen. Please help me

    Hi FayeeSavvy,
    Welcome to the Apple Support Communities!
    If there is a crack in the display on the iPhone, I would definitely get that repaired first. Please use the following link for information on the repair process.
    iPhone Screen Damage Repair - Apple Support
    http://www.apple.com/support/iphone/repair/screen-damage/
    Have a great day,
    Joe

  • Satellites L650D: how long do i leave it on charge for the first time?

    just recently bought this computer Toshiba Satellite series L650D and was wondering how long do i leave it on charge for the first time on power????
    Please help

    Hello
    If the battery is fully charged, the battery LED will switch the color. Depending on your notebook it will switch from orange to white for example. After this the battery is fully charged.
    The charging time is also depending on the battery, AC/DC adaptor and if the notebook is truned on or off. So nobody can exactly say how long it takes but the battery LED will it show you. :)

  • SubmitStatusForResource for s_apid_sched_work gets ignored after the first time

    I am attempting to write a custom program to update Work on an assignment (not actual work).
    I use the statusing service with the usual UpdateStatus and SubmitStatusForResource with a change xml like below:
    <Changes>
      <Proj ID="11444f27-83a9-e411-bfc2-00155d387f03">
        <Assn ID="a480753f-e0b2-e411-819f-080027003803" ResID="741f3743-0a19-e411-b611-00155d603122">
          <PeriodChange PID="251658246" Start="2015-08-01T00:00:00" End="2015-08-31T23:59:59">4140000</PeriodChange>
        </Assn>
      </Proj>
    </Changes>
    PID above refers to: s_apid_sched_work
    This works fine for "actual work", which uses a different PID in XML above, but when I try to use it to update "work", it only successful the first time. Any subsequent calls to change the work for the same period or other periods gets
    ignored by project server. No queue message, no error thrown by the code. It just goes nowhere. I can see that setting "work" on an assignment via this method is supported according to the following article.
    https://msdn.microsoft.com/en-us/library/office/bb428845%28v=office.14%29.aspx
    Can someone offer any suggestions? I have already set my task tracking mode to "Free Form" in PWA settings, so nothing should be preventing this type of update.
    Is this a BUG? Please help.

    Not tried it Carlos - but if you are updating using statusing I would suspect that would not normally expect a change to 'work' - but to either actual work or remaining work - the kind of fields that you would update through the UI.  For making
    a change to work you could probably do this through other PSI methods apart from statusing - but obviously depends if you want the change to go through approval or not.  Let me know how it goes Carlos.  Agree that the documentation appears to say
    this should 'work' - but try remaining work instead.
    Best regards,
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

  • Event gets lost when iView is uncompressed for the first time

    Hi All,
    we are developing an application that manages attachments (meaning: files stored in KM) and per request by the client consists of several iViews. One of them contains a search interface, another one lists the hits that have been found. So the iViews have to communicate.
    We achieved the funcionality by using portal eventing and the HTTP session. The search iView compiles the search string and writes it to the session.
    request.getComponentSession().getHttpSession().setAttribute(searchString, .....);
    We then use javascript to fire an event on which the searchResult iView reacts and fetches the searchString from the session. The actual search is then performed within the searchResult-iView.
    The only problem is that the client requested that the searchResult iView should initially be collapsed. So we set its "initial display" property to "collapsed" and implemented some javascript functionality in the search iView that expands the searchResult iView when a search is performed:
    function openIview( iviewID ) {               
      var temp = parent.pageSupport._getIvuPageId(iviewID);
      var ivuBankObj = parent.pageSupport._getIViewBank(temp);
      if (ivuBankObj.getToogle() == 0) {
        var trayid = ivuBankObj.getTrayId();
        var event = document.createEventObject();
        event.type = "click";
        if(parent.htmlb_TrcToggle(trayid,'0',event)) parent.pageSupport.ivuToogle(iviewID);
    We then fire an event:
    EPCM.raiseEvent('...', 'SearchEvent', param, '');
    All works fine, except for the very first time the searchRersult iView is expanded after the application (meaning the page containing the iViews) has been opened. The searchResult iView is properly expanded, but the event seems to get lost so that no search is being performed (no error, but no reaction by the iView).
    We observed that it seems as if the contents of the iView are only fetched by the browser when it's expanded for the first time. (The progress bar of the browser shows loading activity when expanding the iView for the first time). Supposedly the event gets lost because the serachResult iView doesn't fetch it since it's just being loaded.
    After this initial erroneous behavior, the iView can be in compressed or expanded state before a search is being performed and everything works fine.
    Interestingly enough the problem can be resolved by setting a timeout of several seconds after expanding the iView and before firing the search event. But we find this to be a very questionable (and inconvenient) method of solving this problem and would rather like to solve it properly.
    Does anyone have any ideas how we could achieve this? Is there a way to determine whether an iView has been loaded by the browser (because obviously displaying and loading an iView seem to be two different things)?
    Thanks in advance,
    Jens

    We introduced a boolean "isInitial" flag to the bean which we use to determine whether the iView is expanded for the first time or not. If so, there is a timeout of 2 seconds before the event is fired.
    Not really satisfactory, but working.
    Jens

  • HOW TO STOP you are opening this program for the first time

    I continue to get the warning "you are opening this program for the first time".  I don't want that warning to ever appear again for any program.  How to permanently get this warning to never again appear?
    Best regards,
    Steve Schulte
    Wednesday 21 November 2012

    Thomas,
    The reason I don't want these warnings (especially for programs that I have had on my Mac for years!) is because I now use ecamm's "Printopia" to send items from my iPad3 running iOS 6.0.1 to my MacBook Pro-13 (mid-2010) running Mountain Lion 10.8.2 -- and in order to do this:
    1.  Both my iPad and Mac have to be on the same WiFi network.
    2.  The Mac has to be awake, cannot be in the "sleep" mode
    OK but in order to wake my Mac, I've found that using the app "Remote" on my iPad to open iTunes AND PLAY A SONG will "waken" my Mac*.
    So now, for example, I send a .jpg file to my Mac.  I have it set so that GraphicConverter opens when a .jpg file is to be opened.  OK but if this warning appears (and even though I have had GraphicConverter on the Mac since the beginning of time…) I sometimes (like today) get this warning.  Of course I am not at my Mac and yet when I eventually go to my Mac-- there is that dialog box sitting there and until I click OK the photo doesn't open (and on my iPad I don't get a confirmation that it has been sent, because it hasn't until I click OK on the Mac).
    This could happen for other types of files, too - text files or Word documents etc.
    It seems to happen when I UPDATE a program, like when GC went from 8.3 to 8.3.1 for example.
    Thanks for any additional comments.
    *Perhaps there is a better / faster / easier way to "waken" my Mac from my iPad?  This is the only way I have found so far…

  • How does a BlackBerry handheld connect to BES for the first time?

    How does a Blackberry device connect to BlackBerry Enterprise Server (BES) for the first time? Is there a risk that a rogue BlackBerry handheld connects to BES?
    Thank you in advance!

    Hi and Welcome to the Forums!
    When a BES admin sets up a BB on BES, they configure the unique BB PIN into their BES and also create credentials that are required to actually complete the registration process on the BB. So, while there is no perfect security anywhere, I don't think the risk you are concerned about is high enough to warrant any attention.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to reset ipod so it sets up like the first time it is used

    hi i have an ipod touch 4g and i am wondering how i can reset it so it is just like it was when i took it out of the package for the first time!

    See:
    iOS: How to back up and restore your content
    To restore from iCloud backup:
    Go to settings>General>Reset>Erase all content and settings. Then do not connect to computer. Set up the iPod via wifi following the on-screen instructions. You should be offered the option to either set up as new or restore from iCloud backup.
    trippc5 wrote:
    Yes I tried that but it does not allow me to put the content from my iCloud back on once restored

  • Is it true you can get your iPod fixed for free for the first time

    I want to fix my ipod and my cousin said that they fix it for free for the first time so i wanted to ask you

    No. The will replace your iPod at no cost if within the warranry period and the iPod was not abused. I wonder where everybody gets that one-time replacement.  It seems somebody says that once a day here.

  • Edge animate animation does not start the first time I load the page. But does the second time.

    Hi all,
    I am having trouble with an edge animation on a web page. It doesn't load the first time the page is loaded, but loads fine the second time or any time after that. To test I am clearing my cache, then reloading the page. It seams to work in IE the first time but not Firefox or chrome.
    I have a temporary copy of the page here ... http://emiwip.com/monique-mathieu/landing-page-wip.html
    Can anyone tell me what is going on?
    Thanks.
    Dan

    I found the answer here ... Publishing no longer works in latest Edge
    It appears that you need to load the latest jQuery in the head of the pag. That fixes it.
    Dan

  • Why does the "more info" of "Get info" get erased after the first time I look at it, and how can I get it back?

    When I download a graphic, photo, or PDF, I can get information about it, including size and the web address of the download, using Get info. But in Mountain Lion, after I look at a file once, this information disappears. This wasn't true of Snow Leopard, though I can't remember whether it was true of Lion. In any case, it seems like a bug. Is there a way to recover this information?

    Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
    Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox

  • HT202225 I keep getting pop ups on my iMac for the first time in 6 years after one of my kids tried to watch football through crichd tv. safari now opens with smart search engine rather than google every time i try to open a new web page.

    Ever since one of my kids tried to watch football on a website called crichd tv I keep getting pop us come up like Mackeeper and every time i try to open a web page it comes up with Smartsearch rather than google which is my preferred search engine in preferences. I have blocked extensions and changed homepage to google but this Smartsearch keeps overriding. Also a thing called MacKeeper keeps popping up I have followed the instructions to uninstall but the file it says to move to trash from the Applications folder but it simply isn't there or anywhere else. The file to uninstall Smartsearch is also not where they say it is in Library>frameworks>
    Very frustrating from going from a perfectly working system to a now very frustrating and annoying pop ups coming uo after every time i open a new web page.
    Any help or assistance in this matter would be very much appreciated.
    Russ

    You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
    Any tips on how to stop it from happening?
    Yes. To learn how to avoid it in the future read How to install adware.
    If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

Maybe you are looking for

  • ITunes update causing error messages

    Hi all. This is my first time posting, please forgive any faux pas. I installed the new update from itunes. It would not install and told me there was a problem, but i did not write down the problem. I restarted the computer in the hope i could fix i

  • How can I find the tool to convert pdf to dock? In MAC OS 10.7.5, Nothing comes up no matter what I

    Export pdf to word used to work seamlessly, now the conversion tool is not visible, and nothing I do brings it up. I cannot convert files from pdf to docx.

  • Messages application empty no text messages

    Starting this morning the Messages app on my iphone 4S v6.1.3 is empty. It doesn't show any sms text messages at all and no edit button. I have powercycled twice and shutdown all apps twice but it is still in the same state. There should be 50+ messa

  • Non working USB hub :(

    Hi everyone! First, excuse my (poor) english I've just bought an USB hub, but it seems my MAc don't recognize it... It's an USB 2 with its power alimentation. Is there a solution to make it work? This is a link to the hub description (in french) : ht

  • How can I get the responsibility for concurrent programs

    Guys, How can I get the responsibility for a list of concurrent programs. Is there a query that I can run to get the results? Thanks in advance,