Button.enabled = false   (but still clickable?!)

Hello Dear Forum,
Got a button (imported png defined as a button in the library).
The button is dragged onto the stage, given an instance name "btn".
Clicking the button fires an eventListener which is doing all the right things, except...
btn.enabled = false;
...only changes the cursor from a pointing finger to an arrow. What?! It is still clickable.
My intention is to disable the button so it cannot be clicked. But it can still be clicked. Not good.
QUESTION: How do I disable a button and prevent it from being clicked?
Thanks for your support,
///johan
REASON: I am temporarily disabling the button so that it cannot be clicked multiple times while loading other stuff. Makes sense.

To disable the button (a homegrown SimpleButton) use its mouseEnabled property.  I think enabled only applies to Button components in AS3.

Similar Messages

  • My ipod classic has frozen. Have tried pressing menu/centre button and resetting, but still frozen. Can anyone help.

    My Ipod classic has frozen. Have tried pressing menu/centre button and resetting, but still won't work. Can anyone help please.

    Helen y s wrote:
    We have tried the usual restart a few times but with no success.
    You mean that you have put the iPod's Hold switch on, then off, and then press-and-held both the Menu and the Select (centre) buttons together for at least ten seconds.
    Have you made sure the iPod is charged?
    If you have tried the Restat procedure (above) three times, have you then tried connecting the iPod to your iTunes Library?

  • Hi ihave maintained the http connection to enable proxy but still?

    hi ihave maintained the http connection and also in sxmb_adm i have added the
    entriees for specific configuration to enable proxy but still i m getting the error
    ->no connection to the integration builder
    ->on going to the connection test
    i get the error SPROX_IFR_ADDRESS
    and unable to get the data exchange profile
    and in exchange profile i can see all the relavavt data w.r.to xi serer in connections section.
    ->do we also have to maintain anything relate to r3 in exchange profile

    ><i>do we also have to maintain anything relate to r3 in exchange profile</i>
    Not needed.
    Just follow Vijaya's blog on what needs to be done step by step and if still no success let us know what the error is
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Regards
    Bhavesh

  • User Mapping to R/3 - admin.pwdprotection=false but still pwd field appears

    <br />
    Hello All,<br />
    I am doing SSO using user mapping to R/3 system from Portal as the ids are different for Portal and R/3.<br />
    I can access a transaction iview from R/3 successfully using user mapping(in SSO) but the problem is everytime a user changes his R/3 password, the mapped password is to be changed in Portal.Otherwise, unable to access transaction iview.<br />
    1) I have changed the property ume.usermapping.admin.pwdprotection=false in configtool but still in User Admin > User mapping for system access , the password field is populated and while accessing the R/3, the password is being verified. I have seen in another system where the password field is not being asked after modifying the property to false, only id field is present. From the end user, under Personalize > User Profile > User Mapping for system, no systems are present as expected for mapping. Logon method in system is uidpw and mapping type is "Admin".<br />
    Versions - Portal is NW7.0 SP18 and ECC is .0 EhP3.<br />
    anybody faced the same problem? Is there a note to fix it?<br />
    2)Also, in the User Admin > User mapping for system access , in the dropdown I can see the system aliases I have created in systems but not in System admin> sys config > Ume config > under User Mapping , I do not find any reference system. <br />
    After first restart it was not there, after some time it has come, later it was coming as configured but invalid beside the system in braces in dropdown like abc(configured but invalid). Once I unselected, now it is no more available in dropdown.<br />
    3) I have used diagtool to identify the problem. In the ticket, how do I see the mapped user?<br />
    I am seeing only the following details.From the log - <br />
    The created ticket is: <br />
    [ [Ticket [initialized]<br />
      Ticket Version  = 0<br />
      Ticket Codepage =  (Encoding=1100)<br />
      User = 121444<br />
      Issuing System ID     = EPD  ( Portal name)<br />
      Issuing System Client = 000<br />
      Creation Time = 200905150649<br />
      Valid Time    = 8 h 0 min<br />
      Signature (length=261 bytes)<br />
      InfoUnit id=32, name=portal_user, content=portal:121444, length=16<br />
      InfoUnit id=136, name=authscheme, content=basicauthentication, length=19<br />
      InfoUnit id=1, length=9<br />
      InfoUnit id=2, length=3<br />
      InfoUnit id=3, length=3<br />
      InfoUnit id=4, length=12<br />
      InfoUnit id=5, length=4<br />
      InfoUnit id=10, length=9<br />
    ]. <br />
    Authentication stack: [ticket].<br />
    <br />
    Does this have an entry for mapped user of target R/3 system also?<br />
    If I am not finding the userid/pwd in ticket, how is SSO working? based on user mapping only?<br />
    Thanks,<br />
    Isvarya<br />

    Thanks Anja for the quick response.
    My primary objective is to use SSO with logon tickets to backend which is independent of user passwords.
    regarding 1)
    From the link -
    http://help.sap.com/saphelp_nw70/helpdata/EN/f8/3b514ca29011d5bdeb006094191908/frameset.htm
    Features
    ●      Either users or administrators can perform user mapping.
    ¡        Users must always enter a password to validate their mapped user ID.
    This password is not stored, but is used to confirm that the user is entering a user ID with which he or she has access to the ABAP-based system.
    ○       Administrators can enter a password to validate their entries.
    The UME property ume.usermapping.admin.pwdprotection defines whether or not the administrator must enter a password. By default the administrator must enter one.
    is also in the same lines.
    But as per the SAP library link, I do not find a reference system  because of problem 2 in the initial post.
    Also, I have a screenshot of user admin where the password field itself is not present. If you can share your email id, I will send the scrnshot without pwd and mine with password.
    2)I have seen this note. But, none of the 3 cases mentioned are applicable to me..user mapping is working just fine..Only reference system is not populated. 
    3) Becuase of 1, I was expecting to see mapped id alone or mapped id along with system name in logon tickets.
    Thanks for the response.

  • Startmode=false but still not auto-deploy

    Hi,
    I'm running Weblogic 7.0 SP2 on Solaris 9. I have set startmode=false in startWebLogic.sh
    but my applications are still not auto-deploy. My programmers have tried to modified
    a class without restarting the server, but the change does not take effect. They
    have tried on Windows platform and it auto-deploy. But it doesn't in Solaris platform.
    Is there some configurations that I missed? Please help. Tks.

    Location of JSP file -> /appl/bea/ngccs/mydomain/applications/DefaultWebApp/ngccs/test/test.jsp
    Location of class file -> /appl/bea/ngccs/mydomain/applications/DefaultWebApp/WEB-INF/classes/test/test.class
    I have set the startmode= and startmode=false which is in development mode.
    I then access from IE to point the URL to access test.jsp and the test.class.
    Then I modified test.class and uploaded again to the same class location and access
    from IE again. This time the changes is not displayed, the old class was being
    loaded instead of the new one.
    How to use the weblogic.Deployer, wldeploy, or the console to deploy?
    Rob Woollen <[email protected]> wrote:
    Richard wrote:
    What sort of info do you need? The server is 24X7 production but runningWeblogic
    in development because we have program updates once in few days anddon't want
    to restart the Weblogic each time. I have read the startmode=falsefor auto deploy
    so I tried to use it. The server is running on a single Weblogic instanceonly.
    As I said in my last post, the applications directory and auto-polling
    is for single-server development environments only. If you're in a
    production environmentm especially a 24x7 environment, you don't want
    this option. I don't even believe we support it for production.
    If you want to change the application while the server is running, use
    weblogic.Deployer, wldeploy, or the console.
    Can you explain to me exactly what type of application change you are
    doing?
    -- Rob
    Rob Woollen <[email protected]> wrote:
    First off, let me make it clear that the applications directory is
    meant
    for single-server development environments only. Once you move past
    that into production or testing scenarios, use weblogic.Deployer, the
    console, or the wldeploy ant task to deploy.
    I'd need more info to diagnose your issue. Does making the exact same
    change to the application work in your Windows environment?
    -- Rob
    Richard wrote:
    Hi,
    I'm running Weblogic 7.0 SP2 on Solaris 9. I have set startmode=falsein startWebLogic.sh
    but my applications are still not auto-deploy. My programmers havetried to modified
    a class without restarting the server, but the change does not takeeffect. They
    have tried on Windows platform and it auto-deploy. But it doesn't
    in
    Solaris platform.
    Is there some configurations that I missed? Please help. Tks.

  • [Bug][Tip]Time Machine "Select Disk" Button Greyed Out (But Still Operational)

    Recipe:
    1) Log in as a non-admin user which has Time Machine enabled
    2) Open Time Machine Preferences
    3) Unlock Settings and enter admin username and password
    4) Notice that the Select Disk icon is greyed out
    5) Click the Select Disk Icon anyway and change disks.
    I discovered this because I carry my Mini between home and work and have a backup drive in each location.  Time Machine is only able to remember one drive at a time (but it handles this setup just fine as long as you Select Disk when you get to a different drive).

    Recipe:
    1) Log in as a non-admin user which has Time Machine enabled
    2) Open Time Machine Preferences
    3) Unlock Settings and enter admin username and password
    4) Notice that the Select Disk icon is greyed out
    5) Click the Select Disk Icon anyway and change disks.
    I discovered this because I carry my Mini between home and work and have a backup drive in each location.  Time Machine is only able to remember one drive at a time (but it handles this setup just fine as long as you Select Disk when you get to a different drive).

  • Have followed all your instructions to enable cookies but still cannot sync

    I have followed all the various instructions on your support site and still cannot sync my Mozilla account. I have unlinked the machine in question and now am told that cookies are not enabled. I know that they are as I changed the settings to ask me every time and that is working. What do I do now?

    Hi romekm,
    Thank you for your question. What does this warning look like? Cookies do not need to be enabled in order to sync AFAIK.[[How do I create a screenshot of my problem?]]
    [[How to fix preferences that won't save]] is a good reference if the cookies are not saving.
    Please post back with your results.

  • Links in Faded div are invisible but still clickable

    I am using Dreamweaver CS3 with the Spry 1.6.1 updater
    installed. I have an AP Div that is initially hidden. Using
    Dreamweaver's Behaviors Panel to add Effects, I have successfully
    made that div fade in when a button is clicked. I then fade it away
    when I click a close button.
    My problem is that there are links in the div I faded away.
    Even though the div is now faded and invisible I can still click
    those invisible links! I would think that if the div has been faded
    and is invisible I should not be able to interact with it's
    contents. This happens in Safari Firefox and IE.
    While I am comfy with coding, Ideally I'd like an solution
    with little or no coding since I will be having others do this and
    they may not be comfortable with coding.
    Thanks in advance for any help,
    Dan

    While I thank you for the suggestion V1Fusion, the point of
    having Spry inside Dreamweaver is to not have to code. While I can
    personally code JavaScript, I teach Dreamweaver to people who don't
    know it, and frankly shouldn't have to since that is most of the
    point of using Dreamweaver! For instance the "Swap Image" behavior
    works right without anyone having to know how it works or the code
    works. This "Hide" effect should do the same. There should at least
    be an option in the dialog to add a display:none at the end. Such a
    little thing like this makes the effect pretty useless so it seems
    like a pretty important thing for Dreamweaver to have. Otherwise
    what's the point of having a half done feature that doesn't truly
    work?

  • TS1559 I have tried to access wifi from my 4s which has the greyed out wifi button as outlined but still no good. What else can I do

    I have a greyed out wifi button for wifi. I have tried to reset the network connections as suggested but this has failed. Any ideas?

    Make an appointment at any Apple store.

  • AutoReplyState is Enabled. But still OOF is not working on exchange 2013

    Hi All,
     We have exchange 2013 installed. How can I make our OOF (Out of Office) reply works?
    Thanks in advance.
    Jake

    Hi Sneff,
     Sorry, but I can't find anything on my event viewer that is "MSExchangeMailboxAssistants". Do i need to start the "Microsoft Account Sign-in Assistant" in services?
    Checking oof with
    https://testconnectivity.microsoft.com/. I got lots of "x". Please give some advice : 
    Exchange Web Services synchronization, notification, availability, and Automatic Replies.
    Not all tests of Exchange Web Services tasks completed.
    Additional Details
    Elapsed Time: 42852 ms.
    Test Steps
    The Microsoft Connectivity Analyzer is attempting to test Autodiscover for blank.com.ph.
    Testing Autodiscover failed.
    Additional Details
    Elapsed Time: 42852 ms.
    Test Steps
    Attempting each method of contacting the Autodiscover service.
    The Autodiscover service couldn't be contacted successfully by any method.
    Additional Details
    Elapsed Time: 42852 ms.
    Test Steps
    Attempting to test potential Autodiscover URL https://blank.com.ph:443/Autodiscover/Autodiscover.xml
    Testing of this potential Autodiscover URL failed.
    Additional Details
    Test Steps
    Attempting to test potential Autodiscover URL https://autodiscover.blank.com.ph:443/Autodiscover/Autodiscover.xml
    Testing of this potential Autodiscover URL failed.
    Additional Details
    Elapsed Time: 21299 ms.
    Test Steps
    Attempting to resolve the host name autodiscover.blank.com.ph in DNS.
    The host name resolved successfully.
    Additional Details
    Testing TCP port 443 on host autodiscover.blank.com.ph to ensure it's listening and open.
    The specified port is either blocked, not listening, or not producing the expected response.
     <label for="testSelectWizard_ctl12_ctl06_ctl00_ctl00_ctl01_ctl01_tmmArrow">Tell
    me more about this issue and how to resolve it</label>
    Additional Details
    Attempting to contact the Autodiscover service using the HTTP redirect method.
    The attempt to contact Autodiscover using the HTTP Redirect method failed.
    Additional Details
    Test Steps
    Attempting to contact the Autodiscover service using the DNS SRV redirect method.
    The Microsoft Connectivity Analyzer failed to contact the Autodiscover service using the DNS SRV redirect method.
    Additional Details
    Test Steps
    Checking if there is an autodiscover CNAME record in DNS for your domain 'blank.com.ph' for Office 365.
    Failed to validate autodiscover CNAME record in DNS. If your mailbox isn't in Office 365, you can ignore this warning.
     <label for="testSelectWizard_ctl12_ctl06_ctl00_ctl00_ctl04_tmmArrow">Tell
    me more about this issue and how to resolve it</label>
    Additional Details
    There is no Autodiscover CNAME record for your domain 'blank.com.ph'.
    Elapsed Time: 24 ms.
    Thanks
    Jake

  • Iphone 4 Verizon enabled IMessage but still getting charged as texts

    I'm an Iphone 4 Verizon user; I have IMessage "ON"; send as SMS "OFF". I message with another user who has IMESSAGE "ON". The message screen is blue, not green. Yet I'm still getting charged towards texts by Verizon. Does this have anything to do with being signed into apple at all times? Can anyone figure this out? Please help me, thank you.
    bayridgeguy

    Has nothing to do with signing on with Apple. If this is happening, I suggest as razmee209 did and contact Verizon. Have you tried turning off cellular or going to Airplane mode and turning wifi back on and sending. Do you  find a charge then? The charging of SMS/MMS is a carrier function, so I would believe they would need to investigate/correct.
    I do remember reading sometime in the past of Verizon having a issue with a charge such as this. Try searching the forum and see if you can find a similar post.

  • Downloading app seems to have crashed ,now have striped screen and wont turn off, tried the 2 button10sec trick but still nothing dturn off, tried the 2 button 10secill not turn off tried the 10sec two button trick still not working any suggestions please

    while downloading apps seems to have crashed ,now have striped screen and wont turn off, treid the 2 button 10sec trick but still not responding any suggestions please ?

    Try here:
    iOS: Not responding or does not turn on
    If not successful, let the battery fully drain. Then charge for an hour and try again.

  • My itouch is frozen on the black screen with the apple icon, I've done the whole reset holding the power and home button together but still won't work. Can someone please help!?

    So I've done the whole hold the power and home button, it resets but still stays frozen on the black screen with the apple icon

    Did you try to reset by holding the sleep and home button until the Apple logo comes back again?
    Does it work with headphones plugged in? If yes, did you try to play music in headphone mode, then unplug during playback and start playing music again after that?
    If you toggle the volume, can you see the slider moving up or down?

  • How make a button enable property "true" while i am clicking a row from datagrid in mxml flex4 app

    hi friends,
    i am new to flex, i am doing flex4 web application with mxml tags.
    i have struck in this place,please give some idea.
    i have one data grid with 5 rows and 4columns,and also i am having one button (property enable is false).
    while i am click a particular row from datagrid that time the button property enbale should be change to true.
    where i have to write code.
    any suggession or snippet code,
    Thanks in advance.
    B.venkatesan.

    Hi,
    You can take help of following code :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var Arr:ArrayCollection = new ArrayCollection([{a:"AAA",b:"BBB"} , {a:"111" , b:"222"}]);
    public function enable():void{
    Btn.enabled=true;
    ]]>
    </fx:Script>
    <mx:DataGrid x="91" y="36" dataProvider="{Arr}" click="enable()">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1" dataField="a"/>
    <mx:DataGridColumn headerText="Column 2" dataField="b"/>
    </mx:columns>
    </mx:DataGrid>
    <s:Button x="210" y="237" id="Btn" label="Button" enabled="false"/>
    </s:Application>
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • I have apple iPhone 4S upgraded to iOS 6.0.1 and everything was working fine suddenly my Wifi was not connecting and found the wifi on/off button is greyed out and to enable it I tried all resets but still my problem have not solved, still wifi is off

    I have apple iPhone 4S upgraded to iOS 6.0.1 and everything was working fine suddenly my Wifi was not connecting and found the wifi on/off button is greyed out and to enable it I tried all resets but still my problem have not solved, still wifi is off

    Same here.... No fix. Replacing is the option apparently and if you're out of warranty, you're SOL. That was as per the "Genius" at Apple.

Maybe you are looking for