Button enabled problems

Hello,
I am building a image gallery and i have a prev and next
button that need to disable and a close button needs to be enabled
when its open. So i have the close button under the next button and
am using the following:
function galleriesOpener(){
if (nav._y== 457){
new Tween(nav, "_y", Regular.easeOut, nav._y, 27, 10,
false);
nav.thumbnails_btn.enabled = false;
nav.prev_btn.enabled = false;
nav.next_btn.enabled = false;
nav.close_btn.enabled = true;
new Tween(nav.thumbnails_mc, "_alpha", Regular.easeOut,
nav.thumbnails_mc._alpha, 0, 10, false);
new Tween(nav.prev_mc, "_alpha", Regular.easeOut,
nav.prev_mc._alpha, 0, 10, false);
new Tween(nav.next_mc, "_alpha", Regular.easeOut,
nav.next_mc._alpha, 0, 10, false);
new Tween(nav.close_mc, "_alpha", Regular.easeOut,
nav.close_mc._alpha, 100, 10, false);
} else if (nav._y== 27) {
new Tween(nav, "_y", Regular.easeOut, nav._y, 457, 10,
false);
nav.thumbnails_btn.enabled = true;
nav.prev_btn.enabled = true;
nav.next_btn.enabled = true;
nav.close_btn.enabled = false;
new Tween(nav.thumbnails_mc, "_alpha", Regular.easeOut,
nav.thumbnails_mc._alpha, 100, 10, false);
new Tween(nav.prev_mc, "_alpha", Regular.easeOut,
nav.prev_mc._alpha, 100, 10, false);
new Tween(nav.next_mc, "_alpha", Regular.easeOut,
nav.next_mc._alpha, 100, 10, false);
new Tween(nav.close_mc, "_alpha", Regular.easeOut,
nav.close_mc._alpha, 0, 10, false);
The problem is the disabled button is preventing my rollover
to work on the button underneath it, so i am wondering how i can
make the next button completely disabled.
thanks

for the time being i have added:
nav.next_btn._y = 2000;
this way works but isnt very clean, but works... still
looking for the proper way to go about this.
thanks!!

Similar Messages

  • IOS 6.1.3 WIFI button disable problem on iPhone4S - It is definitely a BUG

    Hi Apple Fans
    I have a full house of Apple products from iPhone -> iPAD -> iPod -> Mac -> AirPort, and I am suffering from WIFI button disable problem after upgrade to iOS 6.1.3, without any clue after calling Apple Support, factory reset and reload iPhone for more than 10 times.  I also try all tips on Apple Support Communicties except put it into a freezer, still no any luck.  Apple Support suggests that my iPhone may be factly!
    Tonight, I can get my WIFI back in below sequence:
    1. Switch to English language from Chinese
    2. Turn Cellular Data Option to off
    3. Reset Network Setting
    After the phone reset, the WIFI row show 'Not Connected', and I can select my home WIFI (Airport Express) without trouble.  To prove my finding is workable to all case, can you try the same and update here if it works for you?
    Good Luck!
    PS: I always believe it is a BUG.

    Hi,
    I sympathise with you as my iPhone 4s is 7 months old and is also greyed out.  I tried everthing except the potentially stupid one of putting the iphone in a freezer!  I took the phone back to the vendor who sent it away and repaired it.  But alas after a month it is greyed out again.  I have again returned to the vendor and he will repair it again.  I asked him how and he told me it is a software conflict and he has to spend around 9 hours downloading a patch repair.  Apple are aware of this issue and I feel completely let down because they have not posted a fix on the net.  Presently I am living and working in Dubai, back in the UK I am sure my iPhone would have been exchanged for a new one.  I need my iPhone for my work and cannot afford to just buy a new one so I have been let down and despite for years being a supporter of Apple and their products I shall think twice before investing in any more Apple products.

  • Standard button image problem

    Hi,
    I've got a problem when I try to set Image to the button from standard components.. I can set it up, but than I didn't see the image in the browser.
    With the button from basic components there is everything working fine, unfortunately I need that component from standard.. any advice?
    thx.

    Hi,
    I've got a problem when I try to set Image to the button from standard
    components.. I can set it up, but than I didn't see the image in the browser.
    With the button from basic components there is everything working fine,
    unfortunately I need that component from standard.. any advice?
    thx.Standard button has problems with images due to a JSF issue. To work around the issue, remove leading / from the buttons image property and re-deploy. This should cause the standard button image to display correctly.
    Hope it helps,
    Lark

  • 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

  • Facing duplicate button press problem.

    Hi,
    I am a beginner to JSF technology. I am working on a project that uses JSF 1.1 specification. I am facing "*duplicate button press problem*". Most of the links and submit buttons do not respond. With a lot of search I found that this problem was fixed in JSF 1.2.
    I want to know whether upgrading to JSF 1.2 will work or not ? Also will it require code changes in existing code or simply upgrade will do?
    - Sax

    I'm not sure why you are focused on 1.1 vs 1.2 on this issue. For both versions you need the POST-REDIRECT-GET pattern, facilitated by the <redirect/> directive in the navigation rules.

  • Button enabled

    Hi all,
    I have to make at run time enabled or not a button... I have created an attribute in my context, the type is WDY_WB_PROPERTY_BUTTON and I have associated my button at this attribute, so in the method "WDDOINIT" I write this code:
    IF flag IS INITIAL.
        button-ENABLED = ' '.
      ELSE.
        button-ENABLED = 'X'.
      ENDIF.
      wd_context->set_attribute(
         name =  'BUTTON'
         value =  button ).
    ENDIF.
    but I don't see never my button, although flag =  'X'.... How can I do?

    bind the VALUE propery of ur button with context attribute of type WDY_BOOLEAN
    For making button enable/disable , we have to bind Enable property of button with an attribute of type wdy_boolean.
    There is no property of button by name value.

  • TS3274 If my iPad home button got problem?

    If my iPad home button have problem but my iPad still under warranty can i use the warranty to take service for my iPad?

    Yes the home button problem would be covered by the warranty as long as you didn't do something accidentally to cause the home button to fail. If it is a hardware failure - it will be covered under the warranty.
    Is the home button no longer working? Have you tried to calibrate the home button?
    Calibrate the home button
    1. Open a stock iOS app, such as Contacts
    2. Press & hold the sleep/wake button at the top of your device until the red slider control appears.
    3. Immediately release the sleep/wake button and press & hold the home button. Hold until the red slider disappears.

  • IPhone 5 on off button having problem

    my iPhone 5 on off button having problem which sometimes i have to press several times, and sometimes i have to press it hard. Did anyone having the same problem here? beacause i just use for 5 months

    Take a Visit to an Apple Store or AASP (Authorized Apple Service Provider) and have the Device evaluated...
    Be sure to make an appointment first...

  • Save button enabled in MAX, but no changes to apply

    Hello,
    I have a situation with a number of my RT targets.  When I open an RT target in MAX, the Save button (and Revert button) are enabled as if there are settings to be applied to the unit.  I've gone through the process of pressing the save button and rebooting multiple times, and it still come back online in MAX as though there are settings to be saved on it.  I've also tried the Revert button with the same results.
    Please see the attached screen shot.  This was taken imediately after a RIO reboot, and launching MAX right after the unit came online.
    I have remotely installed software to the RIOs, and needed to set a password on some of the units recently.  But since then I've been able to verify that the software is infact installed and the passwords are infact set.  And some of these units have had restarts to be able to apply these setting many times.
    So my question is, what could be causing MAX to think that there are setting to be saved to the RIO yet?  Thanks in advance for any help.
    Attachments:
    RIO Save Revert.JPG ‏164 KB

    I had not, prior to your message, Richard.  So I did go through that process, but it did not correct the issue.  It seems to me, this issue resides on the RIO, not on the host computer.  I say this because I've had my colleagues access the RIO from their computers and see the exact same issue.
    It does appear we have a fix though.  We have installed software, where the RIO reboots into install mode and completes the installation, the reboots again into normal mode.  After this point, the problem has not reappeared.  The RIOs have gone through numerous reboots, but this is the first time since the problem arose where we booted them into install (or safe) mode. 
    For any future viewers, I will do a test soon to see if simply booting in safe mode will fix it.  But installing additional software does, and luckily we need to for our project.

  • Radio Button , enabled

    Hi All,
    I have some problem with the radio button concept
    i will tell u what i did so that u can help me out ,
    I have an emp table , which has deptno, two radio buttons(name of radio button : Enter Directly", "Enter thro Database",), name , salry , the deptno is an lov and the there are two radio buttons which has the yes or no , so that the user can enter the details and the condition is such,
    when the lov button is pressed , it will populate the dept no such as ,"10","20","30"etc...
    when the deptno "10" is selected, both the radio buttons gets enabled , so that the user can choose the mode of entering , if the user selects the mode as enter thro Database , then the fields name and salry should be disabled, whereas when the user select the the vive versa radio button it should enable both the fiields , so that the user can enter via this form it self
    when the dept 20 is selected the first radio button gets diabled
    i have tried many steps , but could not do what i need , excatly
    plz do tell me how can i solve this
    can any one send me a sample code , so that i can undersatnd wat is to be done
    eagerly waiting for u r reply
    Bye

    Hi Raja ,
    Sending u the code ...
    DECLARE
    CURSOR C1 IS
    SELECT DEPTNO
    FROM DEPT
    WHERE DEPTNO = :DEPTNO;
    V_DEPTNO DEPT.DEPTNO%TYPE;
    BEGIN
    IF :DEPT IN (10) AND :MODE = 2 THEN
    Set_Radio_Button_Property('MODE','M_MANUAL',VISIBLE,PROPERTY_TRUE);
    Set_Radio_Button_Property('MODE','M_AUTOMATIC',VISIBLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('NAME',VISIBLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('SEX',VISIBLE,PROPERTY_TRUE);
    Set_Radio_Button_Property('MODE','M_MANUAL',ENABLED,PROPERTY_TRUE); Set_Radio_Button_Property('MODE','M_AUTOMATIC',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('NAME',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('SEX',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('NAME',NAVIGABLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('SEX',NAVIGABLE,PROPERTY_TRUE);
    ELSIF :EFNG_FORM_TYPE IN (10) AND :MODE = 1 THEN
    SET_ITEM_PROPERTY('NAME',ENABLED,PROPERTY_FALSE);
    SET_ITEM_PROPERTY('SEX',ENABLED,PROPERTY_FALSE);
    ELSIF :EFNG_FORM_TYPE IN (20,30) THEN
         : MODE := 2;
    Set_Radio_Button_Property(‘MODE','M_MANUAL',VISIBLE,PROPERTY_TRUE);
    Set_Radio_Button_Property(‘MODE','M_AUTOMATIC',VISIBLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY(‘NAME’,VISIBLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY(SEX',VISIBLE,PROPERTY_TRUE);
    Set_Radio_Button_Property(MODE','M_MANUAL',ENABLED,PROPERTY_FALSE); Set_Radio_Button_Property(MODE','M_AUTOMATIC',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY(‘NAME',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('SEX',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY(‘NAME’,NAVIGABLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY('SEX',NAVIGABLE,PROPERTY_TRUE);
    END IF ;
    IF C1%ISOPEN THEN
         CLOSE C1;
         END IF;
         OPEN C1;
         FETCH C1 INTO V_DEPTNO;
         IF C1%NOTFOUND THEN
         CLOSE C1;
              END IF;
         CLOSE C1;
    END;

  • Safari + Parental Controls Enabled = Problem

    Not sure whether to post this in Safari or Snow Leopard. Just wondering if anyone has run into the infamous (for me at least) Parental Controls bug that was present in 10.5 and now it seems it's found a way into 10.6.2. I tried to checkout today at the Apple Store online and also at Wal-Mart to get a black friday deal, neither of the processes would go past the "Check Out Now" button where you would enter your address information. I switched to my Guest user account and magically it worked. Remembering that i could not connect to the iTunes store in 10.5 with parental controls enabled i tried disabling the parental controls for my user and voila! It works. Has anyone else come across this? Nothing big just annoying to have to switch users.
    Additional info: I only use it so i won't delete dock icons no internet access is limited and nothing else is set except for cannot change password. I tried it with FireFox (don't use it regularly just downloaded it) and got the same result, would not go past to the checkout.
    Thanks!
    Richard

    K T wrote:
    This one?
    http://forums.macosxhints.com/showthread.php?t=84368
    It's a similar problem
    The problem in 10.5 was discussed here also:
    http://discussions.apple.com/thread.jspa?threadID=1512896
    It's not a big deal, just a bit frustrating, i do order online a lot.
    Since you went to the trouble to ask here, I'd think that not being able to use some of the sites you mentioned would be more important - do you need instructions on how to initiate/replace dock icons?
    Haha! No, i've been using Mac OS X long enough i know how it works.

  • New MBA Gen 2 track pad button click problems

    Anyone else seen this: the new MBA trackpad button must be clicked firmly and almost directly in the center or it misses clicks. The previous gen MBA was not like this.
    Or is it just my unit?

    Hi Edmund,
    I received my MBA Gen 2 (1.86 GHz, 128 Gb SSD) last Friday (here in Japan) and over the course of the evening and early on into the next morning, I clearly noticed that sometimes (5 to 10%) when clicking the actually clicker button (that thin tab which is mechanical clicker and not the trackpad clicker which can be enabled through the sys prefs), it did not respond.
    This MBA Gen 2 is replacing a 5 yr old 12 inch Powerbook. Switching from the powerbook to the mba, I can clearly tell that the clicker on my MBA is a bit dodgy. In my case, the weakness seems to be to the right of center of the clicker. But then again, I'm always clicking in that area anyways, not sure if it's any better on the left or center. If I click really hard, there's no problem, but if you click lightly, it just doesn't always react, even though it has definitely "clicked".
    I called Apple Japan last Saturday and explained that this had been a problem "out of the box". Without any quibbles, they informed me that a new MBA would be ordered for me and that when it arrived, I would just have exchange the old one for the new. Only problem is, they said the delivery times are now around 2 to 3 weeks. Still, I'd rather try to get one that doesn't have this problem than not.
    As they say, misery loves company, so hope this helps.
    Regards,
    PHB

  • Simple button background problem

    Good day,
    I'm new to flex and MXML. I've gone through the initial difficulties of getting familiar with the IDE and programming language. Now that this is done, I'm really starting to enjoy it.
    I'm currently facing what is probably a basic problem. I've created an MXML Button component. When I instanciate it somewhere in another component, it comes up with a weird square background under my button, like this :
    My button is a single line component, like this :
    <s:Button label="Measure" skinClass="skins.MeasureDistanceSkin" width="70" height="25" click="OnClick(event);" creationComplete="Init(event);" />
    My button instanciation line looks like this :
    <MeasureButton map="{map}" left="110" top="42" width="80" height="33" id="MyButton" />
    Can anyone give me a hand with this?
    Thanks,
    Bruno

    You couldn't have made trillions of buttons that work using that code in AS3.  It would have to be something more like the following to work in AS3...
    stop();
    btn_page2.addEventListener(MouseEvent.CLICK, gotoPage2);
    function gotoPage2(e:MouseEvent):void {
         gotoAndPlay(99);
    Switched places in the btn_page2 line and changed Void (AS2) to void (AS3)

  • SAVE & PRINT Button Enable for Graph Report

    Hi All,
    I have developed a report for displaying a graphical hierarchy.But the 'SAVE" & 'PRINT'  button is in disable mode.
    I am using the 'GRAPH_HIERARCHY' function module for displaying the graph.
    Could anyone please suggest me how to enable the 'SAVE' & 'PRINT' button.
    Thanks in advance.
    Best Regards
    Sathish

    Hi Sathish,
    You can create your own PF-Status by copying it from the standard PF-Status of the output list. Then you include the print & save button.
    To get the GUI status of the output list follow menu path SYSTEM => STATUS to get the GUI status & its program.
    Go to SE41(Menu Painter) => enter the Standard Program & status name & click on copy button to copy these to a Z one & then finally use it in your program using SET PF-STATUS statement.
    Please close the thread if it solves your query.
    Regards
    Abhii

  • I could not open iPhoto on my mac pro ...clicking on it report generates with just ok button enable

    i could not open iPhoto application tried to uninstall and install it again still same problem....
    Error message comes up like this :
    Process:               iPhoto [1365]
    Path:                  /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:            com.apple.iPhoto
    Version:               ???
    Build Info:            iPhotoProject-910029000000000~1
    App Item ID:           408981381
    App External ID:       729712666
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           iPhoto [1365]
    User ID:               501
    Date/Time:             2015-01-04 15:09:44.980 +1100
    OS Version:            Mac OS X 10.10.1 (14B25)
    Report Version:        11
    Anonymous UUID:        3D91453B-A9AC-9C65-61B6-B0E5F96324D5
    Time Awake Since Boot: 4600 seconds
    Crashed Thread:        0
    Exception Type:        EXC_BREAKPOINT (SIGTRAP)
    Exception Codes:       0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found
    Binary Images:
        0x7fff6625c000 -     0x7fff66292837  dyld (353.2.1) <4696A982-1500-34EC-9777-1EF7A03E2659> /usr/lib/dyld
    Model: MacBookPro11,1, BootROM MBP111.0138.B11, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 2.16f68
    Graphics: Intel Iris, Intel Iris, Built-In
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.15.124.12.10)
    Bluetooth: Version 4.3.1f2 15015, 3 services, 19 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM0256F, 251 GB
    USB Device: Internal Memory Card Reader
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
    please help me out.....!!!!!!

    Thanks LarryHN for replying me I tried that as well but finally I got the solution, I have by mistake deleted one of the iTunes library framework file while removing the virus.
    Following steps are done by me to solve the problem:
    1) I have removed the iPhoto by dragging it into the trash from applications
    2) I have empty the trash
    3) I have shutdown the laptop
    4) while starting it back, press and hold the command and r button until the apple symbol goes off , after which you can select the reinstall OS option -> that will rebuilt your OS if something has been removed without removing your files or data.
    5) after completion, install the iPhotos from app store
    Now, its working perfectly

Maybe you are looking for