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

Similar Messages

  • There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report

    When run as a batch program, (currently this is the case), or withT-Code ZJPVCS303 the selection screen is unchanged (except for additional sales area above)
    - When run as T-Code ZJPVCS303_UL (UL stands for Upload) the selection screen is changed.  The unix file option is no longer available, and the user is able to upload a local file (in the same format as the current unix file, but tab delimited) to the program for processing.
    Requirements:
    There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report.
    ->When ZJPVCS303 Transaction is executed, the file is uploaded from the Application
      server to SAP R/3. The selection screen parameters would be:
      Logical Filename:
      Sales Organization:
      Distribution Channel:
      Division:
    ->When ZJPVCS303_US Transaction is executed, the file is uploaded from the Presentation Server
      to SAP R/3. When this transaction is executed, it should not have the 'Logical
      Filename' parameter anymore on the selection-screen. Instead it should only have
      Local File name on the presentation server:
      Sales Organization:
      Distribution Channel:
      Division:
        The same thing is applicable for the other transaction ZJPVCS303. When transaction ZJPVCS303
    is executed, it should not have the 'Local Filename' parameter anymore on the selection-screen. Instead it should only have
    Logical Filename:
    Sales Organization:
    Distribution Channel:
    Division:
    So how should I make these parameters invisible depending on the transaction codes execution.
    I have an idea of using MODIF ID, LOOPING AT SCREEN...MODIFY SCREEN.
    I have an idea of using SY-TCODE.
    EX:
    AT SELECTION-SCREEN OUTPUT.
    IF SY-TCODE = 'ZJPVCS303'.
    LOOP AT SCREEN.
    IF SCREEN-GROUPID = 'GRP'.
       SCREEN-INPUT   = 0.
       SCREEN-INVISIBLE = 1.
       MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSEIF SY-TCODE = 'ZJPVCS303_US'.
    LOOP AT SCREEN.
    IF .....
    ENDLOOP.
    ENDIF.
    ENDIF.
    But I am not able to get the output which I require. Please help me out.

    Hello Rani
    Basically the transaction determines whether upload starts from application server (AS) or presentation server (PC). Thus, you will have the following parameter:
    PARAMETERS:
      p_as_fil          TYPE filename   MODIF ID unx,  " e.g. Unix server
      p_pc_fil          TYPE filename   MODIF ID wnd.  " e.g. Windows PC
    AT SELECTION-SCREEN OUTPUT.
      CASE syst-tcode.
    *   transaction(s) for upload from server (AS)
        WHEN 'ZJPVCS303.
          LOOP AT screen.
            IF ( screen-group1 = 'UNX' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
    *   transaction(s) for upload from local PC (PC)
        WHEN 'ZJPVCS303_US.
          LOOP AT screen.
            IF ( screen-group1 = 'WND' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
       WHEN others.
       ENDCASE.
    Regards
      Uwe

  • 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.

  • Page items are cleared when calling javascript function for a buton.

    Hello,
    Can anyone please help me out with this issue.
    I have a reports region with some editable items and in which I have a button enter errors which opens up an popup window, but for this button i also have save process which updates the report and also calls the javascript function popup window. The reason I am saving the report is because the values entered by user needs to be updated in the table or otherwise the page will be reloaded clearing all the values entered by the user when i click the button enter errors. One more thing is that I also have two hidden items (P1_LOAN and P1_HERITAGE) in the reports region.
    Below is the javascript function which i am calling for the button and also setting the items P2_LOAN_NUMBER,P2_HERITAGE with the values &P1_LOAN.,&P1_HERITAGE.
    function ErrorPopup()
    popUp2('f?p=&APP_ID.:2:&SESSION.::&DEBUG.::P2_LOAN_NUMBER,P2_HERITAGE:&P1_LOAN.,&P1_HERITAGE.','_blank','scrollbars=0,left=200,menubar=0,resizable=0,width=400,height=500,toolbar=0,location=0,directories=0');
    doSubmit('ENTER_ERRORS');
    }And below is my pl/sql update process
    BEGIN
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
                 IF WWV_FLOW_ITEM.MD5(                                                      
                                           APEX_APPLICATION.G_f10 (i) ,
                                           APEX_APPLICATION.G_f11 (i) ,APEX_APPLICATION.G_f12 (i) ,APEX_APPLICATION.G_f13 (i)) <> APEX_APPLICATION.G_F45 (i) THEN
    -- Update tbl
              UPDATE sampl_tbl
              SET  col1     =      APEX_APPLICATION.G_f10 (i) ,
                         col2     =      APEX_APPLICATION.G_f11 (i) ,
                         col3     =      APEX_APPLICATION.G_f12 (i) ,
                         col4     =      APEX_APPLICATION.G_f13 (i)
                   WHERE pkcol    =      APEX_APPLICATION.G_f04 (i)         
         END IF;
    END LOOP;
    COMMIT;
    END;The only problem I have is, when I open up the popup window the hidden item values P1_LOAN and P1_HERITAGE are lost. Is their a way to set these item values within the session.
    thanks,
    Orton
    Edited by: orton607 on Jul 14, 2010 10:38 AM

    It HELPS when you solve an issue and POST that YOU SOLVED it, to SHARE the solution so others can learn from you found..
    Thank you,
    Tony Miller
    Webster, TX

  • Using translate function for one to many character translation

    Hi friends!
    Can anybody tell me whether it is possible to use built in translate function for converting some text from a one alphabet to another one, if these alphabets are of different length. Something like
    SELECT TRANSLATE('текст',
    'АБВГДЕЕЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ',
    'ABCGDEF"*GH*"HIJKLMNOPQRSTYVWXYZ') FROM dual;
    Or there is another function for this, or it is impossible?
    Thanks

    Hi,
    Maybe you could use REPLACE just once, and then TRANSLATE the rest?
    Something like:
    SELECT TRANSLATE(REPLACE('ABcDE', 'c', 'xz'),
                     'ABCDE',
                     'abcde')  from dual;
    TRANSLATE(REPLACE('ABCDE','C','XZ'),'ABCDE','ABCDE')
    abxzde                                             
    1 row selected.Regards
    Peter

  • One function for multiple buttons?

    I have a county map on my timeline with a list of each county as buttons ( there is 88 counties). I want to highlight the county on the map when I click the county's name from a list.
    when I test this out, only the last one gets highlighted. I know I am missing something really simple. it does work if I write code for each button but I can't to seem to get it to work with only writing the function once for all buttons
    var countyHigh:MovieClip = adamsHighlight;
    var countyCheck:MovieClip = kickout.adamsCM;
    kickout.adamsCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
    kickout.allenCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
      countyHigh = allenHighlight;
      countyCheck = kickout.allenCM;
    kickout.ashlandCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
      countyHigh = ashlandHighlight;
      countyCheck = kickout.ashlandCM;
    function highlightCounty(event:Event):void{
      if   (countyHigh.alpha == 0)
           countyHigh.alpha = .5;
      else  countyHigh.alpha = 0;
       if(countyCheck.alpha == 0)
       countyCheck.alpha = .5;
      else
      countyCheck.alpha = 0;
    when I click all there buttons, the all highlight ashland county instead of their own county. I am using Flash Professional CS5 and only been playing with Flash for about a year.

    var previouslyHighlightedCounty:Movieclip;
    function highlightCounty(e:MouseEvent):void{
    if(previouslyHighlightedCounty){
    //reset previouslyHighlightedCounty. ie, un-highlight
    // highlight e.currentTarget
    e.currentTarget=previouslyHighlightedCounty

  • Event and obj type in one eventlistener function for all buttons

    Hi i have something like this
    button1.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
    button1.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
    function manageMouseOver(event:MouseEvent):void{
      TweenLite.to(button1, 1, {x:100, rotationX:360, ease:Back.easeOut});
    function manageMouseOut(event:MouseEvent):void{
      TweenLite.to(button1, 1, {x:14, rotationX:-360, ease:Back.easeOut});
    and i would like to get one sentence for all button. I would like to create reference obj to use that function for all of my 7 buttons.
    button1.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver(button1), false, 0, true);
    button1.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut(button1), false, 0, true);
    function manageMouseOver(event:MouseEvent, obj:Object):void{
      TweenLite.to(obj, 1, {x:100, rotationX:360, ease:Back.easeOut});
    function manageMouseOut(event:MouseEvent, obj:Object):void{
      TweenLite.to(obj, 1, {x:14, rotationX:-360, ease:Back.easeOut});
    but this is not working. I know that is wrong but what i should do to do this right?

    in the listener function, use the event's currentTarget property to determine which object dispatched the event.

  • Hi, I was trying to copy and paste a lot of  info for one day on my calendar to another day and an error message popped up saying that the system responded with an error. Msg won't go away I force quit ical

    Need help for trying to unfreeze a message on my ical.  I was trying to copy and paste some appointment info from one day to another on my ical and a message popped up saying the system responded with an error.  All of my info was below the message.  I can't get that message to go away or work on the ical now at all.  I try to force quit ical and have shut down the computer and it still comes up.  Any suggestions?

    K,
    Try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. To find that Library folder, if you are using Lion, use Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart.
    Next, make sure that you are not connected to the internet. Then to to your Macintosh HD/Users/yourusername/Library/Calendars Folder and remove any files with "Cache" as a part of the file name. Use the same method as listed above to get to the correct Library Folder. Log out/in, or restart and check iCal for functionality.

  • One RollOver function for all buttons?

    Is there a way to streamline AS3 code so that all buttons are controlled by one rollover function? The code below isn't working for me.
    function rollOverbtn(e:MouseEvent):void{
    e.target.gotoAndStop(2);
    trace("button HIT");
    function rollOffbtn(e:MouseEvent):void{
    e.target.gotoAndStop(1);
    btn1.addEventListener(MouseEvent.MOUSE_OVER, rollOverbtn);
    btn1.addEventListener(MouseEvent.MOUSE_OVER, rollOffbtn);
    The trace works which shows me that the function IS properly firing, but the rollOver effect is not hitting. I'm sure I'm doing this wrong as I am brand spaking new to AS3.

    You're welcome.  When you use MOUSE_etc events, and "target", the target can end up being a child within the object that has the event listener assigned.  currentTarget always points to the object with the listener assigned to it.

  • In oracle B2B multiple files are getting picked from SFTP location for one file in custer environment

    Flow is like :
    REST ENDPOINT->OSB PROXYSERVICE->BUSINESS SERVICE->B2B SFTP LOCATION->B2B->SOA JMS Queue->SOA COMPOSITE-
    Due to cluster environment, there is issue when B2B picks the file from SFTP location for Custom protocol using sftp listening channel. Sometimes B2B picks multiple files from SFTP location for just one copy of file. It is happening because of cluster environment 4 instances of server is looking into the SFTP location for picking the file and sometime 2 or more instances of server are reading same file and sending the copy to B2B.
    Please let me know , how can I stop this behavior

    All QFE's have been applied we are building the image so we have some control.
    I have build an image which used the debug DLL's of the FATFS and I have enabled all of the DebugZones.  The problem is still happening. From the timings in the debug logs and the timestamps in the data which corrupts the test file I have been able
    to see that the file is corrupted AFTER the write is complete. Or at least that's how it seems.
    We finished writing the file and closed the handle. Then more data is written to other files. When we get around to verifying the file it now contains data from the files that were subsequently written.
    What I think I need to do is figure out in detail how the two files were "laid down" onto the SDCard.  If the system used the same cluster to write the 2 files then that would explain the issue.

  • The specs for the NI model 4552 DSA card realtime octave addon are listed as max 10KHz band for one-third octave on 4 chan

    nels (20KHz for 2 channels). Does this limitation apply only for real-time operation? In other words, if I was satisfied with non-realtime analysis of a steady-state input signal, could I get higher bandwidth, say, up to the 50 KHz one-third octave band?

    nels (20KHz for 2 channels). Does this limitation apply only for real-time operation? In other words, if I was satisfied with non-realtime analysis of a steady-state input signal, could I get higher bandwidth, say, up to the 50 KHz one-third octave band?DonH,
    This is a good question. The analog sampling is real-time and hardware controlled regardless of whether or not you are doing hardware analyzing. You are not at risk for missing any data points or affecting the sampling speed. If your computer is not fast enough to analyze the data as it comes in, you could stream the data to disk for analyzation once the acquisition is through. You will know the computer is not fast enough if you got a buffer error during the acquisition. Basically, you are not compromising the quality of data at all. It will just take longer to get results.

  • EREC: Multipal IDOC are getting created in receiver system for one IDOC

    Hello Experts,
    I ran in to one wearied issue in IDOC creation in Receiver system. I am running PFAL in sender system for only Person but 10 IDOC are getting created in receiver system. I don't know why is this happening.
    This issue started popping up after we ran RBDAPP01-Inbound Processing of IDocs Ready for Transfer. We ran this to change IDOC to 53 status. Now I don't know what went wrong but Perner distribution is behaving
    Appreciate your help.
    Regards,
    Krishna Bidwai
    Losangeles USA.
    818 527 0204.

    Yes, employee is getting created after adding 0003 into the filter, but can u please answer my another question, i.e. PERNR in sender and receiver system should be same.
    So in Receiver system (ECC) do i need to maintain external number range for PERNR?
    Thanks

  • What are these leds on lenovo g575al for?

    I have a lenovo g575al with integrated graphics and a dedicated one (6370).
    Next to the power botton i have two small leds, one labeled A and one labeled 1. What are those for?
    I thought they were for indicating what graphics card is active, but i switched between them and there was no difference.
    Solved!
    Go to Solution.

    Hi Tokennotfound,
    Page 21 in the User Manual says that they are the Caps Lock and NumLock indicators.
    Dave
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • The inbuilt camera functions for one user, but not for the other. Where do I find the settings?

    The inbuilt camera functions well with one user, but logging in to the other it says no camereas can be found. Where to I find the application to turn it on and of?
    Best regards
    Bjorn

    For details of how to restore it, see [https://support.mozilla.com/kb/menu+bar+is+missing]

  • Are these transceive​r stats ok for 3/.8 Mbps service?

    Transceiver Information
    Down Stream Path 3360
    Up Stream Path 864
                                                 Down     Up
    Margin (dB)                       34.7  17.0
    Line Attenuation (dB)   20.0  10.0
    Transmit Power (dBm) 20.0  12.5
    Solved!
    Go to Solution.

    Your transcevier specs are right on the money for 3mbps/768kbps service, and the margins are more than adequate for that service.

Maybe you are looking for

  • Time Machine disk ejecting

    Hi guys, My Time Machine disk keeps ejecting itself.  Once it has ejected itself I cannot write to it or even format it, I usually have to boot Yosemite/Mavericks off a USB and in disk utility there, repartition and format the disk.  It will then bac

  • About FM 'MATERIAL_UNIT_CONVERSION'

    Hi all,     I have a problem about the function module 'MATERIAL_UNIT_CONVERSION'. it looks like this below. When the parameter ‘Display unit of measure’ is entered, we need to convert the quantities/units from the database to the desired unit by usi

  • How do you change the midi channels of a region?

    Lets say i have a region recorded on midi channel 1, how do I change the notes to be midi channel 2? Thanks

  • Itunes wont see the music on ipod classic

    itunes wont see the music on ipod classic

  • ITunes Match: How can I tell if a matched song is from the correct album?

    Since iTunes Match uses my album art and metadata, is there a way to see the album art of the matched item from iTunes? I have ripped hundreds of classical music CDs through the years into iTunes, and they all have album art (not from iTunes Match).