How to hide my button?

I'm trying to hide my button once my MovieClip is invoked so that it will not appear behind the MovieClip?
The code I have written to get the MovieClip to play is:
stop();
//import classes so we can have them in our movie
import flash.display.*;
import flash.events.*;
import flash.display.MovieClip;
import flash.display.Sprite;
button_mc.addEventListener(MouseEvent.CLICK, buttonCLICK);
function buttonCLICK (event:MouseEvent): void {
faucet2_mc.gotoAndPlay(1);
What is the syntax that I use hide my button (button_mc) while the MovieClip is playing and have it reappear once the MovieClip is finished playing?
Should the syntax appear after my ending bracket or before?

stop();
//import classes so we can have them in our movie
import flash.display.*;
import flash.events.*;
import flash.display.MovieClip;
import flash.display.Sprite;
button_mc.addEventListener(MouseEvent.CLICK, buttonCLICK);
function buttonCLICK (event:MouseEvent): void {
faucet2_mc.gotoAndPlay(1);
button_mc.visible=false;
and to the last frame of the faucet2_mc :
parent.button_mc.visible=true;

Similar Messages

  • How to hide "Resfresh" button in top yellow bar of guided procedures?

    Hi Folks
    I would like to remove the "Refresh" button in the top yellow bar of an guided procedures workitem. You get to this yellow bar when you click on an uwl workitem which is associated with guided procedures view. Does anybody know how to hide this button?
    Thanks a lot for helping!!
    Kind regards
    Bettina

    Dear Bettina,
    this will be a feature of NetWeaver CE 7.2.
    Until then it simply is not possible.
    There is one workaround, you can use the SingleTask view of a Process Instance, which however will show ONLY the action itself, without the Process Title, or the Ctx Panel or the Phase Navigator.
    If this works for you, I can guide you how to achieve it.
    Regards,
    George.

  • How to Hide advance button in input list of values Popup

    I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option

    I haven't tried this, but check
    How to remove basic/advanced button in inputListOfValues search dialog
    This does not have complete solution, but might give you some lead.

  • How to hide exit button on overview view of adress iview.

    Hello Gurus,
    Can anybody suggest me how to hide the exit button on overview page of address iview?
    Thanks,
    Sha

    Hi
    1) If you want the exit button to be hided u can use the following code in doModify as we know this doModify will be called each time the action is performed so when we use this code exit button will be hided all the time.
    Button btn_ui= (button) view.getElement("Button_ID");
    btn_ui.setVisible(WDVisibility.NONE);
    2) if you want to hide only on specific time then better to use the value attribute of type com.sap.ide.webdynpro.uielementdefinitions.Visibility  then bind this to exit button's property--> visibility and in your code wherever required set the visibility.
    Ex: value attribute name : va_Exit_Visible
          type : com.sap.ide.webdynpro.uielementdefinitions.Visibility
    wdContext.currentContextElement().setVa_Exit_Visible(WDVisibility.NONE);
    Regards
    Prasad.

  • How to hide default buttons on WD selection screen

    Hi Experts,
    Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
    Please let me know how can I achieve this..
    Thanks in advance !
    Anand

    By selection screen do you mean the select-options reusable component?  If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->lv_wd_select_options =
           wd_this->wd_cpifc_select_options( ).
    * init the select screen
      wd_this->lv_sel_handler =
           wd_this->lv_wd_select_options->init_selection_screen( ).
      wd_this->lv_sel_handler->set_global_options(
        EXPORTING
    *      i_display_btn_cancel  = ABAP_TRUE    " Displays "Cancel" Button
    *      i_display_btn_check   = ABAP_TRUE    " Displays "Check" Button
    *      i_display_btn_reset   = ABAP_TRUE    " Displays "Reset" Button
          i_display_btn_execute = abap_false    " Displays "Apply" Button

  • How to hide  gui buttons in selection screen

    In Selection screen how to hide buttons like back, exit,cancel buttons.
    can any  one help.

    Hi,
    Create a new GUI Status for your program.. put whatever button you require for it..
    In the AT SELECTION-SCREEN OUTPUT event..
    SET pf-status xxx.
    Regards,
    Anand

  • How to hide reset button in af-query panel in ADF

    Hello All,
    i am using Jdeveloper version- 11.1.2.0.38.60.17 ,i am facing problem with hiding reset button in "af-Query panel".
    kindly suggest me how to hide it. it's urgent.
    Thanks & Regards
    AbhijeetPS
    Edited by: 967068 on Oct 23, 2012 12:39 PM

    Hello All
    I have solved this problem.
    Go to Query panel properties inspector and set Display mode = simple
    and drag an af- command button outside of the query panel.
    <af:commandButton text="Search" id="cb6" actionListener="#{bindings.Execute.execute}"/>
    Thanks
    AbhijeetPS
    Edited by: AbhijeetPS on Oct 23, 2012 6:38 PM

  • How to hide refresh button in crviewer?

    Hi,
      I want to hide refresh button when view the crystal report in webi, but don't know how to do that
      Pls give me some advice,thanks~

    Hi Julian,
      I tried, but the fresh button is still there. Just when click this button,it says you have no right to refresh the report.
      i guess if we want to hide the refresh button,we may edit the viewer.js in Crystal reports web application folder,but not sure and don't know how to do that, pls help me~

  • How to hide 'Search' button from Search GUIBB?

    Hi All,
    I know we can configure search GUIBB to hide 'Search' button and 'Clear' button. But I have to dynamically control this property. Is there any solution to implement it?
    Thanks,

    As always, you are such a reliable source of help! :-)
    That robots.txt you mentioned...do what with that?  I mean, how does that tell it "dont index the images"? For that matter, there are tons of pages on the server I don't want being indexed yet either because they are half baked for later development.
    Thanks!
    Create the file, and upload it to the root directory.  It's as simple as that.  But you'll have to read the details on the google hits to see the exact syntax of the exclusions.
    Now - here's why this is happening....
    Somewhere, google has found a link to this URL -
    http://bluehippotravel.com/photos/destinations/TH/
    The bluehippotravel host has NOT disabled directory browsing.  When you browse to that URL, instead of getting a FORBIDDEN message like you should, you get a page listing the contents of that directory.  Google is indexing that page.  Ask your host to turn off directory browsing for that folder.

  • How to hide 'layout button' on ALV toolbar

    Hi,
    I have an ALV and it has standard toolbar, now i want to hide 'Layout button' from the toolbar based on specific condition e.g when flag = 1.
    How to do that.
    Thanks,

    If you are using the REUSE function, you can use the "EXCLUDING" parameter, and pass the FCODE for "Change Layout" to this table.  This will remove the icon from the toolbar.  Here is an example.
    REPORT rich_0001 .
    * Global ALV Data Declarations
    TYPE-POOLS: slis.
    * Internal Tables
    DATA: BEGIN OF ialv OCCURS 0,
          test1(10) TYPE c,
          test2(10) TYPE c,
          END OF ialv.
    DATA: xfc TYPE slis_fieldcat_alv.
    DATA: ifc  TYPE slis_t_fieldcat_alv.
    DATA: iexcluding TYPE  slis_t_extab.
    DATA: xexcluding LIKE LINE OF iexcluding.
    PARAMETERS: p_hide TYPE c DEFAULT 'X'.
    START-OF-SELECTION.
      REFRESH iexcluding.
    * If the user wants to hide the change layout icon, then add to IEXCUDING
      IF p_hide = 'X'.
        xexcluding-fcode = '&OL0'.
        APPEND xexcluding TO iexcluding.
      ENDIF.
      REFRESH ifc.
      xfc-reptext_ddic = 'Test1'.
      xfc-fieldname    = 'TEST1'.
      xfc-outputlen    = '10'.
      APPEND xfc TO ifc.
      xfc-reptext_ddic = 'Test2'.
      xfc-fieldname    = 'TEST2'.
      xfc-outputlen    = '10'.
      APPEND xfc TO ifc.
    * Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_excluding = iexcluding
          it_fieldcat  = ifc
        TABLES
          t_outtab     = ialv.
    Regards,
    Rich Heilman

  • How to hide a button...

    hi,
    i am using follwing code for creating a button in a jsp page
    <html:submit property="action"><bean:message key = "cra.save"/></html:submit> ...Now i have two button & i want to disable /hide another button
    untill the first button is clicked. when the first button is clicked i want afterthat second button should enable.
    i dont able to understand how to do that in jdeveloper..can anyone please suggest me anything...its very much urgent..

    Have a boolean flag in the bean.. and refer it in the disabled section of the commandButton2
    <af:commandButton id="cb1" partialSubmit="true" actionListener="#{Bean.action}">
    <af:commandButton id="cb2" disabled="#{Bean.value}" >
    in the bean have the code as
    private boolean value; //have getter and setter
    public void action(ActionEvent actionEvent){
    setValue(false); // call setter of value. and set false

  • How to hide 'SAVE' button in adobe form layout

    Hi  Friends,
    I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
    Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
    Thanks and Regards,
    Subeesh Kannottil

    Hi Subeesh,
    Are you talking about restricting the User from Saving the Adobe Form Output. 
    Regards,
    Sivanand Ala

  • How can hide the buttons based on condition

    Dear all
    I have to hide the button based on condition
    When I open the third page directly I want to hide that button
    When I open the third page via first and second page I need to visible that button
    I pass spell parameter from first to second and second to third
    In third page I get the value using pagecontext
    I write the code in third page co
    If I go directly third page it is null
    If I go to third page via first the value is Y
    If(“Y”.equals(pmode))
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(!btn=null)
    btn.setrendered(true);
    else
    btn.setrendered(false);
    but the button is not hiding
    Regards
    Sreekanth

    Hi Srikanth,
    I have modified ur method:
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(btn !=null)
         If(“Y”.equals(pmode))
         btn.setrendered(true);
         else
              btn.setrendered(false);
    Thanks,
    'Kumar
    Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM

  • How to hide sort buttons in BEx Web?

    Hi,
    I've got an input-ready query with hierarchy on lead column and key figures on data columns. I'd like to hide sort buttons in column headers to decrease the space required and make the screen simpler. Any possibilities to get rid of these, in this case useless, arrows?
    Thanks!
    Aki

    Hi,
    Create a new GUI Status for your program.. put whatever button you require for it..
    In the AT SELECTION-SCREEN OUTPUT event..
    SET pf-status xxx.
    Regards,
    Anand

  • How to hide the buttons based on some conditions

    Dear all
    Good morning
    i have three pages
    when ever user directly go to third page i want to hide the button "backtofirstpage"//button name
    when user go to third page via first page i mean first page i want to visible the button "backtofirstpage"/button name
    what is the procedure
    at least hiding is not posible at least disable/enable
    Regards
    Sreekanth

    Hi,
    In the if condtion read the value of parameter [[You need to send it from first page]] and get it in process Request Method of controller of third Page and based upon it set the render property of that button & in the else condition set the render property to false.
    You need to create a PVO & also create a Boolean attribute.
    Set the render property in Property window like ${oa.xxPVO1.setRender} -- ${oa.viewInstanceName.viewAttributeName}.
    Read more in dev guide & search through the forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to hide some buttons like CREATE PURCHASE ORDER, COPY, EDIT from POWL?

    In SRM 7 ECS we need to hide some buttons like CREATE PURCHASE ORDER, COPY, EDIT from POWL"s. We can do some manipulation via security but we need to make a few buttons invisible without security. Appreciate any advice. Thanks.

    Hi Ashwanin
    To make read only
    Below are the steps to Hide the buttons in POWL table
    1. if you want to Gray out the Buttons
        IMG > SRM SERVER> Cross Application Basic Settings --> Extensions and Field Control. There you will find a node to control   Actions. based on the object type choose your option and make it as read only
    To Make invisible
    1.If you want to  make invisible  the button .
    IMG > SRM SERVER> Cross Application Basic Settings --> Powl and Advance Search - > Adjust powl layout ,search criteria and push button (OR) t-code :   /SAPSRM/POWL_CUST
    2.choose the POWL type for the POWl table
    3.click on Action node , you will find all the acction assigned for the POWL table ,delete the entry which you want to make invsible and save it
    4 .Now run the report POWL_D01 and provide powl type in the selection criteria and deleate the catche quries
    Regards
    chinnaiya P
    Edited by: chinnaiya pandiyan on Jun 27, 2011 3:12 PM

Maybe you are looking for

  • Formula - Row - Formatting Issue - Please Help

    Hi, I am currently writting a report in Business Objects (Web Intelligence Document) to reflect Incentives gained by our call centre staff. I have written the report and all the data is correct and it gives me the info i need, however for cosmetics r

  • Error : Annual budget exceeded (FMAVC005)

    Dear guru, I want to create PR (ME51N), the net total amount is 50.000. But the error message shows : Annual budget exceeded by 11.812.000 IDR (FM PB Availability Control) for document item 00010 Message no. FMAVC005 Diagnosis The annual budget is ex

  • HP Photosmart R507 Digital Camera driver for windows7

    i want driver for HP Photosmart R507 Digital Camera  for windows7. i have dic driver only fro xp windows

  • Static vs dynamic CAM entries

    Hi, I am trying to understand the appearance of static CAM entries on a CatOS switch when an IP phone + user PC is connected. As expected I see the end host(PC), plus IP phone MAC in the CAM table as a dynamic entry. But I also see a static CAM entry

  • Clearing only a few fields in the selection-screen

    Hi Folks, I am having the following fields in the selection screen. werks. matnr quantity filename like rlgrap-file. First time the user enters some values and executes it and comes back to the selection-screen.At this point I want <b>only matnr and