Multiple functions in one button

Good evening,
Is it possible to run multiple functions with one button?
For example: With a button to open and close an object?
Thanks 

Hi Rinku,
This is an example for you:
A Piano Key Control in C#
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Multiple sounds in one button

    would you kindly give me a suggestion that how to make multiple sounds in a button of a windows form application. actually, being a newb i'm trying to develop a piano application by C# for my own interest. the problem is, when i press one button it plays
    too long & i had to wait until the wav file is finished & after that i had to press another button. what's the code for playing multiple sounds together in one button? u know, then i can play chords too. would you kindly explain or give a code?

    Hi Rinku,
    This is an example for you:
    A Piano Key Control in C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Submiting multiple forms with one button

    I have a form that has a cfform within it. The cfform has a
    cfloop in it that includes an id and a dropdown list box that
    includes a new id. I want to transfer one id to another. I want the
    user to be able to click on one button that would update all the
    rows in the table with the new id.
    If there are 3 rows in the query, the user would select an
    entry in a dropdown for each row and upon clicking on the submit
    button all three rows would be updated with the id selected from
    the dropdown.
    Any suggestions?
    Thanks for the help!
    Gary

    There isn't a way to set this up using the Paypal payment integrated into FormsCentral using seperate forms for each child, you can set up one form so they can register additional children and then pay in one session, but if you need each child to be a unique form submission it can not be set up to pay for multiple at once.
    Thanks,
    Josh

  • Are these a lot of functions for one button?

    i'm something of a novice, just wondering if someone could
    tell me if this looks like a lot to have on each of my seperate
    menu buttons (i realise it may not mean much without knowing how
    big the loadMovies are etc, but just in terms of the number of
    seperate actions/functions per button)
    each buttons has (similar):
    digitalBtn.onRelease = function() {
    setTimeout(backgroundDigital,1500);
    setProperty("blockout_mc", _visible, "0");
    my_ssp.loadAlbum("digitalplanet");
    loadMovie("logos/dp_logo.gif", logoHolder_mc);
    function backgroundDigital() {
    loadMovie("backgrounds/bg_digital.swf", bgHolder);
    many thanks,
    Ray

    Thanks Shane.
    that's actually what i'm doing (for the first time) - didn't
    mean to say that each action is specifically sitting on the button.
    what i'm asking though is if having several different
    functions/actions being called by each of my buttons is a problem -
    each buttons loads 2 movie clips, changes the property of another
    movie clip, and has the setTimeout function, and tells a component
    to load something as well.
    so each of my menu buttons is calling 5 different
    actions/functions - just wondered if that is a lot or if it matters
    at all how many different actions are assigned to one button.
    cheers
    Ponch

  • Run multiple reports with one button

    Hello, I am new to Oracle Form Builder and I have a generic form built that has a button the user will press to run a specified report. I'm wondering if it's possible to use the same form with the one run report button to print multiple reports at the same time. Is this possible?

    I recommend that you start here:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    You can do just about anything in Forms if you are creative enough. However, exactly how you do it will partially depend on things like which version you are using, the platforms (OS on client and server), and the preferred behavior you would like to see.
    Here is an older document whch explains how to integrate Forms/Reports. This old doc mostly still applies to the latest versions.
    http://www.oracle.com/technetwork/products/migration/frm10gsrw10g-132606.pdf

  • Control two functions on one button click

    Hello,
    first off, I am relatively new to actionscript 3.0. I was
    wondering if anyone knows how I can control two events on one (the
    same) button click. On click, the first function must jump the user
    to a particular frame label and at the same time trigger a second
    function which is a movie clip on that particular frame. I must
    note that the event listener is attached to an actual Button and
    not a movie clip.
    Any help would be greatly appreciated.

    Thanks for the quick response. I tried out your solution but
    I get the following error...
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at index_fla::MainTimeline/rev()
    at index_fla::MainTimeline/resources()
    I also tried to create another event listener on Mouse_UP
    ex:
    topNav1_btn.addEventListener(MouseEvent.CLICK, resources);
    topNav1_btn.addEventListener(MouseEvent.MOUSE_UP, rev);
    but I get another strange error...
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-218()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-241()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    any other thoughts? Thanks in advance.

  • 2 functions to one button click

    Hi im creating a banner using the youtube api. What i want is that when you press the button to go to the another video also it apused. Ialready make it work but when i do the same to the other buttons it start creating errors and not working
    function  playRockabillyon(event:MouseEvent)
        gotoAndStop(12);
        videoPlayer.pauseVideo();
    rockabillyon.buttonMode = true;
    rockabillyon.useHandCursor = true;
    rockabillyon.addEventListener(MouseEvent.CLICK, playRockabillyon);

    Hi the problem is that im trying to do a masthead with many youtube players, and when one start and u open another it keep running, so what i want is, that when you press the button to bring you to the other player it stop the video that is runing also. and it works but when im start adding more than one lines inside the playRockabillyon it work sometimes and sometimes no. Right now im changing the way of doing this I thought that is better if all players stop when u go to the frame of an specific player but I have the same problem it works at the beggining with one line but affter adding more it stop working, it only pause the videoPlayer.pauseVideo
    stage.addEventListener(Event.ENTER_FRAME, onFrameEnter);
    function onFrameEnter(e:Event)
        videoPlayer.pauseVideo();
         videoPlayer2.pauseVideo();
        videoPlayer3.pauseVideo();
        videoPlayer4.pauseVideo();
        videoPlayer5.pauseVideo();
        videoPlayer6.pauseVideo();
        videoPlayer7.pauseVideo();
        videoPlayer8.pauseVideo();
        videoPlayer9.pauseVideo();
        videoPlayer10.pauseVideo();

  • Scripting Multiple Behaviors for One Button

    Dear Jimmy,
    This question is similar but different to the ones you helped me with a few weeks ago but different enough I need some assistance. Posted this last week, no one has yet to answer. Hope your on line today.
    I now need to replalce the text that read "Invalid until Submitted" and then changed and read "Submitted and Valid" after the Submit Button has been clicked to something a little different.
    I now need text to read "Draft for Review" on the form until the submit button is clicked. This text "Draft for Review" needs to disappears or become invisible after the email button has been clicked on the form.
    Additionally, I need a date on the form to be filled in before the form user can email the form out.
    I now need the form to:
    (1) require a date field entry in a date/time box in order to submit the form by email.
    (2) take the serial number from a field and put it in the email submect line.
    and (3) make the text "Draft for Review" text disappear or become invisible,
    ALL 3 need to happen, when the submit button is clicked. (Which is a button, not an email button now).
    Can you tell me why the scripting I have below will give the message when the button is clicked. I want, "Please enter the date the Silver Coverage Inclusions were explained" if the date is not entered. However, without a date being entered, proceed to open email without making form user enter the date after they click OK when the request message to enter the date come up? This allows the form to be sent WITHOUT the form user really entereing the date because the email opens up next.
    Fortunately, my "Draft for Review" text disappears.
    The Scripting being used is (combination of some you gave):
    if(T100.rawValue == null)
    app.alert("Please enter date selling dealer explained Silver Level Coverage Inclusions.");
    xfa.host.setFocus("T100");
    StaticText3.presence = "invisible";
    var emailSubject = serialNumber.rawValue;
    var myDoc = event.target;
    myDoc.mailDoc(
    false,
    "[email protected]",
    "[email protected]",
    "[email protected]",
    emailSubject,
    "Email body goes here."
    Can you tell me how to make all three work together correctly and in the 1,2,3, order from above?
    Thank you,
    Victoria Holt
    To post a message, compose your text in the box below, then click on Post (below) to send the message.
    A blank line starts a new paragraph

    Dear Jimmy,
    Thank you! This worked.
    Your really really GREAT at this.
    I have several very specific questions I need answered to make a couple of other forms work.
    I need help with a similar but different submit button.
    I also need assistance with formatting a few numeric and alpha numeric fields.
    I thought you might work with Adobe but later this afternoon soon a link with an email that seemed to indicate you might be affiliated with Pac Bell.
    My questions is since I need some more specific help rather quickly would you it be alright with you and ethically correct for me to comission you to help me by telephone and email on our off hours tonight and some Saturday?
    I do hope so. If you would be as kind please let me know how you would like to exchange phone numbers and/or email.
    Thank you again. I do look forward to a reply. I hope you can help.
    Best regards,
    Victoria HOlt

  • Is it possible to combine two functions on one button?

    (i.e. go back one clip + play around playhead)?
    Thanks.

    I don't think so but you could add a shift or option or something to the same button and get a second command

  • Controlling multiple movies with one button

    Hi flash gurus,
    I have 4 movies of the same length running on my stage in the
    FLV playback component, with different instance names. I also have
    a single play/pause component. I want all of the movies to play
    together and unpause/pause when I press the play/pause button.
    However, I have only been able to get the play/pause button to
    control one of the movies (the last one listed in the
    actionscript). I'm using the following code to attach the
    play/pause component to the FLV playback movie:
    FLV_instance_name1.playPauseButton = PlayPause_instance_name
    FLV_instance_name2.playPauseButton = PlayPause_instance_name
    FLV_instance_name3.playPauseButton = PlayPause_instance_name
    FLV_instance_name4.playPauseButton = PlayPause_instance_name
    When I use this, the play/pause button only controls the
    FLV_instance_name4 movie. How do I get it to control all 4 moives?
    Any help is much appreciated. Thanks!

    PS, I'd also prefer for the controls to be detatched from any of the viewers, if possible. Thanks!

  • Perform multiple actions with one button

    Is it possible to do 2 things when clicking a single button?
    Like this:
    A button adds an item to a collection and after adding the button must be disabled.

    Yes - you can chain multiple commands together with a ;
    In this example, add a button control (Button1) and an Input Text (Text1) control.
    Set the OnClick property for Button1 to:
    Collect(myCollection, {FirstName: Text1!Text}); UpdateContext({ButtonDisabled: false}); UpdateContext({ButtonDisabled: true})
    Set the Disabled property for Button1 to:
    ButtonDisabled
    FYI - The UpdateContext is used twice to change the state of a context variable.
    Let us know if this answers your question -
    Thor

  • How download from multiple accounts with one button

    What do I do to have multiple accounts checked and messages downloaded without opening the get mail dropdown. I used to just hit the get mail button.

    I use this add-on:
    https://addons.mozilla.org/en-US/thunderbird/addon/get-selected-mails/
    which lets you define various sets of email accounts. Any of these sets can be defined as the default action.
    There is also a GetAllMails add-on:
    https://addons.mozilla.org/en-US/thunderbird/addon/get-all-mails/

  • One button, multiple functions

    Hello.
    I have used the loader script to load an external swf into current project. I have added a button to unload the external file when wanted, and was wondering if you could have multiple functions for that button, so that when you click it to unload it works as a 'home' button as well, and takes the user back to the mainpage again?
    AS3 btw.
    Might be wise to mention that im kinda new to adobe flash and as3, and not sure if the way i have used to load the external swf was the easiest. Seems like a few have had some issues with this subject before me as well.
    All pointers in the right direction is appreciated. Cheers.

    Thanks alot for answer Ned Murphy.
    As I've might failed to mention, is that the button is intended to do two things, unload and return to main page, at the same time. So basically a one click operation.
    To update the situation, I've tried this as a code;
    btnHeim.addEventListener(MouseEvent.CLICK,unloadSwf);
    function unloadSwf(e:MouseEvent):void {
        loader.unload();
    btnHeim.addEventListener(MouseEvent.CLICK,tilbaks);
    function tilbaks(event:MouseEvent):void{
        gotoAndStop(1,"Mainpage");
    It kind of work, as it unloads and takes you back to the main page. Only thing then is that the buttons on mainpage doesnt work any longer, and one of them disappear?
    I've never been this deep into AC3 i think, so not sure what the problem is, except for the fact that there is some issues going on.
    This is the error that shows up on 'output' after btnHeim is clicked.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at Mappevurdering_web_fla::MainTimeline/frame2()
        at flash.display::MovieClip/gotoAndStop()
        at Mappevurdering_web_fla::MainTimeline/tilbaks()
    Thanks again

  • Download multiple reports in one hit

    I am just wondering if there anyway to have apex to download multiple reports with one button?
    The normal way I deal with reports is create the query within shared components, and then create a button on a page that links to the print URL of the report. What I am wondering if there is anyway to have a button that will download all reports in one go?
    Thanks for help in advance,
    Trent

    Trent,
    Let's say you have two Report Queries, Employee and Department then if you want them to download with single button click
    Set button target as URL
    In URL section
    javascript:download_reports();In page HTML Header
    <script type="text/javascript">
    function download_reports()
    window.open('f?p='+'&APP_ID.'+':0:'+'&SESSION.'+':PRINT_REPORT=Employee');
    window.open('f?p='+'&APP_ID.'+':0:'+'&SESSION.'+':PRINT_REPORT=Department');
    </script>Regards,
    Hari

  • Mutiple Behaviors from one button

    How can i set multiple behaviors to one button? I want a
    popup window to close when I click Submit, and also change the main
    page to a different website. Any help with this will be
    appreciated.

    Write a script that does it, activate the script with the
    button.
    "B3CARL" <[email protected]> wrote in
    message
    news:ea9at5$anv$[email protected]..
    > How can i set multiple behaviors to one button? I want a
    popup window to
    > close when I click Submit, and also change the main page
    to a different
    > website. Any help with this will be appreciated.

Maybe you are looking for

  • Can't see network drive attached to AirPort

    Hi All I'm a newbie Mac user (just got my MacBook Pro last Thursday, in fact-- OS X 10.5.7). While I've got most of my issues doped out, I'm running into a problem connecting to a network drive that's plugged directly into my AirPort Extreme. I have

  • How to send a csv file by email in SSIS

    Hi, I need to create a SSIS package which creates a csv from sql table and send the same file by email. I have created the package but it thorws error saying the file does not exist in the send email task. For the first time the file will not be pres

  • Insert/Delete a page in LiveCycle Designer disabled

    I am working with an 8 page form and am trying to delete the last page on the file, however when I try the 'Delete Page' option is disabled or 'greyed out'. I am using Adobe LiveCycle Designer 8.05.2... and created the form in LiveCycle. It also won'

  • Updating problem with the N95

    Hey guys I got a problem I installed PC suite and then downloaded the software updater... the nokia software updater by itself usually takes me 1/5 tries before it actually opens , it just says starting application and just takes forever... but somet

  • Hi my dreamwaver CC need SN. Where can i find it?

    i buy dreamwaver CC one year and i install it , when i open  it need SN Where can i find it?