How make a button inactive after the click ?

Hi,
how can i make a button inactive after i clik on it ? I need it becasue i have one button which play my symbol (made with this nice course https://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/) but it's not working when the button is in the symbol where there is animation, it's only working when the buttons is a symbol on the stage and on the top of all over symbols, so when i clik on it works and play the symbol that i want but after is still active so i can't place another button at the exact same place of the first because it will play the first button and i need to put 20 buttons, anyone can help me please ? My buttons is just an empty rectangle so i don't talk about turn of the visibility but turn of th "activity"
Thanks a lot

If you prefer you can put the code in compositionReady
Here is a sampe on how to use a next and prev buttons to change data.I have some other examples I will add later but this one could give you an idea on how to do it.
This one uses data from an array and then moves through the info:
https://app.box.com/s/78ya0labbydgwogxra2a
If you are playing symbols then use the rigth scope to get to them.
I would make a array of the symbol names and use it the same way like I did the array for the info.
sym.getSymbol(mysymbolArray[i]).play();

Similar Messages

  • How to Validate a User on the click of a button in Oracle APEX

    Hi,
    How to Validate a User on the click of a button in Oracle APEX.
    say for e.g: I want to allow only a specific user to go beyond after clicking on a button and restrict all the other Users. Any ideas please.
    Thanks in Advance,
    Af

    Well , the actual idea was to hide the button for specific users and show the button only for some specific users... is this possible...?
    @ AndyH: yeah, what you have suggested also fits well for my requirement... Could you please let me know how can i achieve it...
    Regards,
    Af

  • How to make a category highlighted after it clicked

    Hi there! Just want to know how to make a category highlighted after user click on it, so he will able to track on which category he is currently on?
    I've already created 3 categories (links) through creating library elements, I already have the hover effect  I made through CSS external stylesheet, everything works, but the category is not highlighted when I browse within it.
    Here is my HTML code of these 3 links:
    <td bgcolor="#663300"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
    <div align="right" class="link"><a href="index.html">Home</a>     <a href="Accessories.html">Accessories</a>    <a href="Contact Us.html">Contact Us</a>    </div>
    <!-- #EndLibraryItem --></td>
    And here is my CSS code for these links:
    .link, .link a:link, .link a:visited, .link a:active {
        font-family: "Times New Roman", Times, serif;
        font-size: 18px;
        font-weight: normal;
        color: #FFFF33;
        text-decoration: none;
        padding: 5px;
        #home: color:#00FFFF;
    .link a:hover {
        font-family: "Times New Roman", Times, serif;
        font-size: 18px;
        font-weight: normal;
        color:#FF0000;
        text-decoration: none;
    So how to make the active link highlighted when browsing within it??
    Thank you

    My pages are offline in developing stage, can't give you an URL.
    Here is my HTML code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>untitled</title>
    <link href="css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    </style>
    </head>
    <body class="home">
    <table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
    <td bgcolor="#663709"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
    <div align="right" class="link"><a class="home" href="index.html">Home</a>    <a href="Accessories.html">Accessories</a>    <a href="Contact Us.html">Contact Us</a>    </div>
    <!-- #EndLibraryItem --></td>
      </tr>
    And here is my CSS:
    body {
        background-image: none;
        background-color: #2d2625;
    body,td,th {
    .link, .link a:link, .link a:visited, .link a:active {
        font-family: "Times New Roman", Times, serif;
        font-size: 18px;
        font-weight: normal;
        color: #FFFF33;
        text-decoration: none;
        padding: 5px;
        #home: color:#00FFFF;
    .link a:hover {
        font-family: "Times New Roman", Times, serif;
        font-size: 18px;
        font-weight: normal;
        color:#FF0000;
        text-decoration: none;
    What should I modify?

  • How to make a program restart at the click of the mouse or a key on....

    How would I make a program restart at the click of the mouse or a key on the keyboard?

    Yes, definitely, thats what I would want to happen but I'm not sure how to go about the coding. Would I have to use a key listener? Or would I have to construct the method from scratch?

  • Credit Risk Analyzer - How limits can be reset after the term has ended

    Hi Experts,
    I would like to know how limits can be reset after the transaction term has ended.
    Currently, my utilization reports still show past transactions and this transactions are still affecting my limit calculation report.
    Am I missing a process or a configuration?
    Also, would anyone know where the SAP limit utilization report is pulling out the transactions so when I run the limit utilization report, I can still view historical data?
    Thanks in advance.

    Hi Jerry,
      I do not think this customization helps. It only has two options to set start date as start of term or as date of commitment. But what if i want to set in future like your problem. Do we make it date of commitment for all the money market instruments?
    Best regards!
    Sandip

  • HT5858 How do you close apps after the new apple update?

    How do you close apps after the new apple update?

    Double tap the home button and swipe upwards on the preview of the App (not the App Icon).
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    This screenshow shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgrade to iPhoto 9.5.1 and which require a purchase:
    OT

  • TS4009 how do you retrieve information after the system has been reset to default

    how do you retrieve information after the system has been reset to default?

    From a backup on itunes or icloud, assuming you have made backups.  Connect to itunes and in the first tab for your device, choose to perform a restore.

  • How to start a thread after the execution/termination of another thread.???

    Hello,
    How to start a thread after the execution/termination of another thread....???
    For example:
    consider two threads: ThreadA and ThreadB
    I could start the ThreadB after the execution of ThreadA.
    How to identify the termination of one thread.....???
    Please help me...
    Thanks & Regards,
    Kayalvizhi

    What do you mean with "it doesn't work"? Do you get a compiler error? Do you get an exception at runtime? What's the error message?
    Jesper

  • How to make an animation play on the click of a button

    Hi,
    I am trying to find an advanced action that allows me to PLAY an animation (swf) on the click of a button. Currently I am showing a swf but this does not allow the animation to play out.
    Thanks in advance,
    Liam

    Hi Lilybiri,
    Thank you for the information.
    However what I mean to say is that if you insert a standard button and try to excute "Apply effect" option on button th option will be greyed out.
    Also you can apply the "Apply effect" option on Slide either "On Slide Enter" or "On Slide Exit" option. As what i understand from "Apply effect" option is to create an event based animation triggers using the following steps:
    Select the object that is the base for the event. For example, to apply an effect to an object after a specific slide begins, select the slide.
    In the Actions panel, select Apply Effect in the On Enter or On Success drop-down lists.
    In the Object Name drop-down list, select the object to which you want to apply an effect.
    Thank you again for providing us the useful information.
    Thanks and Regards
    Loveesh

  • How to make buttons enabled after the data is entered in JTextField?

    I got a JTextField. I want to test the entered data in JTextField is eight length. If the data is of length eight then i want to enable two buttons. How to make it enable? I am getting the length eight, but the buttons are not enable. What listeners I have to use.
    Can anybody help me out.
    Thanks for your help in advanced.

    Create a class that extends KeyAdapter. Add a field that is an array of buttons. Override the keyTyped(KeyEvent e) method to use getSource() to access the text area, check the length of the text, and if > 8, go through the array and enable the buttons in the array. Then, when you create the text area, create an instance of your listener, passing it an array of the two buttons you want to enable, and then use addKeyListener(yourKeyListener) to add your key listener to the text area.
    Doug

  • How to cancelling email submission after user clicks "yes/no" button of message box?

    could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
    After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
    In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
    Thanks so much for your help in advance and i am very glad to hearing from you soon!
    Djinges

    Hello,
    The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
    'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
    form1.#subform[0].Button1::click - (JavaScript, client)
    var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
    if(answer==1){
    EmailSubmitButton1.execEvent('click');
    Hope this helps.

  • How do I make one video plays after the other

    Let's say I have an idvd project with 5 different movies, how do I make one plays after the other? When I click next, it goes back to the menu. Thanks Alex

    There are two ways to do this.
    1. If you have it, use iMovie HD6. You can put all of your movies into one project, and add chapter markers at the beginning of each movie. This will allow you to play your movies straight through or select the individual movies, like a scene selection.
    2. You can use iDVD instead. Check out this post by Old Toad on how to use this method.
    http://discussions.apple.com/thread.jspa?messageID=8656075&#8656075
    I hope this helps.

  • How do you get one Button to raise the Clicking of another Button?

    Hello,
    I have a hide/show region that is controlled by a button (ButtonA). This button and region is pretty far down in the page.
    So the client has requested that I created a second button (ButtonB) and place it at the very top of the page, and wants for this button (ButtonB) when clicked to 'click' the hide/show button below (ButtonA).
    Can you please advise how to do this, ex:
    <INPUT type="button" value="Show All Regions" name="ButtonB" onClick="what do I place here to raise the 'click' of button A ">.
    Any advice would be appreciated as I must demo this feature to the client tomorrow morning.
    Many thanks,
    Laura
    Edited by: user8936524 on Apr 19, 2010 4:35 AM

    Depends what type of button it is.
    If it's a button in a region position, use the optional redirect section
    Set the Target to "URL" and enter URL TArget as something like:
    javascript:function_to_call();Alternatively if its a region item button, it's a bit more tricky.
    What I did was create a new button template (copied from the standard "Button" template, called "Button - link to attribute") and replaced the
    <a href="#LINK#">bits with
    <a href="#BUTTON_ATTRIBUTES#">you can then add the code (as above) to the attribute property of the button.

  • How to disable button immediately after pressing

    Hi
    In my save button there is a code for insertion of data in database.
    In my application when i press save button first time the IE progress bar shows progress but if suppose the user presses the button again
    then the data wil get saved twice.
    Now if i put a code in button action method to disable it will function only when it will be called in between user can press the button.
    How to arrest users for clicking???
    If you have any idea please help me out.

    How about setting the button to:
    yourButton.setVisible(false);
    So when your button action is called, this is the first action that is called before your code insertion lines so the button will disappear when clicked e.g.
    public String yourButton_action {
    yourButton.setVisible(false);
    ....code insert data......
    return null;
    Or set the "return null" to return a new page.
    Of course, if you wanted it to be visible again after the insertion then you would set
    yourButton.setVisible(true);
    Alternatively, you could setup a counter that would check the number of times the button was pressed and make the button visible (or invisible!) when conditions are met.

Maybe you are looking for

  • As an asset management tool it should manage all images but only adjust raw

    Is Aperture an image management tool, raw converter/workflow tool, or both? Let it be both! Restrict what is is ALLOWED to ADJUST, but manage it all. When I do a shoot, I start out with 300-1000 RAW images. By the time I am finished with the client I

  • Help , if there exists a Function Module

    Hello everybody,    I want a help whether SAP has some Function Module which can take an "Internal Table" as an Import Parameter and give us "CSV File" as an export parameter , more-or-less like the "GUI_DOWNLOAD" Function Module , which downloads th

  • How do I create a customer header in photoshop that I can merge numerous individual photos into from Lr?

    Let's say I want to use custom text in the top that reads Run for the Community Charity Event and then apply 100 photos individually to give to participants. I think I need to create a customer background layer and save it? I then need to apply all t

  • Query views in CFMX

    Hello, I have recently migrated from MSAccess to MySQL. In CF 5 everything was working fine, but when we moved to CFMX 7, there is this one query that fails and I have tried many different ways (putting single quotes, parathesis etc.) I have created

  • FTP Task not working properly on Azure VM

    I am able to get connection when i press "Test Connection" inside the connetion manager. However - when trying to browse the remote FTP server's directory inside the FTP task editor, I get the following error message: "An error occured in the request