Button hit state not working

Hi, I made a few buttons for my .fla and all the states are working but the hit state.
So just to see what the problem was I made a new button, which is only text at each stage, so for up i wrote up, down down etc,
all the states work but hit, what gives???
hit is after someone clicks it it should be at the hit state correct?

Nope. Hit is the shape that will trigger a rollover/click area.
Normally the hit state is determined by the artwork in the up state and then the over state once you've rolled over, but sometimes you need to override that with an area different area. That is the hit state. But you don't need to put anything there.
Test it out. Make a circle on the other states and then put a larger square in the hit. Then check out how it works.

Similar Messages

  • Simple Button Hit Zone not working

    I am somewhat new to Flash CS4 andt am having a problem making simple buttons in Flash CS4 on a Macintosh: I have made a few buttons with a graphic and can go into them and successfully create the Up, Over and Down stages of the graphic. Then when I create a new box for the hit state (which is larger than the graphic and I have deleted the graphic itself from the hit state) it doesn't want to appear correctly when I test the movie. When I test the movie, the hit state is correct everywhere around the graphic (to the bounds of my hit state box), but is not active where the graphic is. When I go under the Control menu, down to Enable Simple Buttons, the hit zone looks great right in my Flash file, but when I preview it or publish it and look it on different browsers (PC and Mac), I don't get my pointer right over the actual graphic, but get it everywhere around the graphic to the boundaries of my hit box. Why can't I get the actual graphic to be a hot spot in this situation? I have tried leaving the graphic in the hit timeline, and tried putting both the larger box and the graphic in the hit timeline, and still can't get them to respond correctly with the pointer in the browser window. Thank you....

    Well, since the graphic itself doesn't activate my pointer in a web browser, I thought maybe I needed to add both the box and the graphic itself to the hit state. That's what has me puzzled - the box that I use for the hit zone is "active" everywhere but where the actual graphic is...

  • Link to frame in button rollover state not working..

    Hi guys,
    What I use: Flash CS5 & Actionscript 3
    So I had my buttons working just fine and linking to a frame. But after adding a rollover state in which my button has grown in size it no longer links.
    Does anyone know how to get my buttons linking in their rollover state?

    var someObject:MovieClip;  // this is declared - only
    var someObjectMovieClip = new MovieClip(); // this is declared and instantiated
    Make sure your code uses aghains and not instancename like your code shows. 
    I don't think you understand the third and fifth items I listed either.  The third is saying that the code is not in the same frame as the item it is trying to target.  The fifth has to do with objects in consecutive frames, not linking.
    If you followed what I mentioned in the last sentence you should have a line number indicated in the error message that will tell you which line is causing the problem.  Whatever line that is, the object doesn't exist as far as the code sees it.  So if it was the line...
        instancename.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_28);
    I can guarantee you that there is no object named instancename in the frame where you have that code since it is the only object targeted in that line of code.

  • Button "Over" State Not Working Within Visible MovieClip

    Hi Folks,
    My button states aren't working right, and I'm pulling my hair out:
    http://www.miklas.org/test/test.htm
    The desired behavior is under the "Design..."  button--notice how when you mouseover the "Our Philosophy" link it turns blue? Why isn't  this happening for the "What We Can Do For You" and "Our Process" buttons in the other movieclips?
    The document is structured as follows:
    MovieClip 1: Design: Your Silent Salesperson
    ---Text
    ---Images
    ---Button: Our Philosophy
    MovieClip 2: Who Owns Your Brand
    ---Text
    ---Images
    ---Button: What We Can Do For You
    MovieClip 3: What's Your Brand's Persona
    ---Text
    ---Images:
    ---Button: Our Process
    DETAILED EXPLANATION:
    I have three separate movie clips with a bunch of objects. Using AS3,  I  tween their alpha value from 0 to 1 to make them visible depending on a  user mouseover. As part of each movieclip I have a button. It is text  with an underline; made to look like a hyperlink. When the user mouses  over the text, I want it to change color from orange to blue. This works  on the first movieclip, but doesn't on the second and third! What's  weird is that if I cut-and-paste the button from the second or third  movieclip to the first, the over state works fine. If I set Control  -> Enable Simple Buttons, the over state works fine. But when I  export it to .swf, it doesn't work!?
    tyvm!

    OK I finally got it! My layers were indeed out of whack--the entire problem was solved by the"setChildIndex" function.
    Basically, when the user mouses over the buttons, I fade in the new clip, and set the depth above the other movie clips. Here's the code:
    buttons_movieClip.whyDesign_button.addEventListener(
      MouseEvent.MOUSE_OVER,
      function(evt:MouseEvent):void
          if (active != whyDesign_movieClip)
            fade(whyDesign_movieClip);
            setChildIndex(whyDesign_movieClip,3);
            setChildIndex(whoOwns_movieClip,2);
            setChildIndex(persona_movieClip,1);
    There is a black background at depth 0. The following forum post helped a lot:
    http://www.smithmediafusion.com/blog/?p=435
    tyvm!

  • My speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    my speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    Hello. I sent my WRT1900AC V1 to Linksys four days ago (Monday) via UPS with a RMA. Linksys paid the shipping and everything. The router is still in route, and it should arrive to their offices tomorrow. Once they receive the WRT1900 AC V1, they are going to send me an EA8500 as a replacement. But I have been reading the comments about the EA8500 here in the forum and it seems to have the same problems. I guess the firmware is extremely flawed in both routers (maybe it is almost the same code?). Anyway, I will try the EA8500 and I hope it works. I bought a temporary router from Walmart and I paid $35 for it. It is a Belink N600 DB. I can't believe that a $35 router is working a lot, lot, lot better than my previous $250 WRT1900AC router. Unbelievable. If the EA8500 doesn't work, I'm going to try and get my money back from Linksys, or contact The Consumerist or someone to get my money back and get a Nighthawk instead.

  • HT4623 iOS 6.1 no longer available because you are no longer connected to the internet- this is what my iphone 4 shows. iv tried switching off again and again, closing apps by double tapping the home button but still not working. please help.

    this is what my iphone 4 shows. iv tried switching off again and again, closing apps by double tapping the home button but still not working. please help.
    is there any other method to download ios 6.1.2.
    my phone is not being recognized by itunes on my new windows 8. neither its working on touch copy.
    kindly help.
    thanks

    well in thatcase, i need another help .
    thanks for your instant reply.
    i have currently bought a new laptop (windows 8) and my iphone is not being recognized by itunes.
    because i have no backup on my previous laptop, i downloaded touchcopy but even touch copy is not recognizing my iphone.

  • Why isn't my back button in Safari not working? I am constantly resetting Safari.

    Why isn't my back button in Safari not working? I am constantly resetting Safari.

    Cheryl...
    Go to ~/Library/Caches/com.apple.Safari
    Move the Cache.db (or ApplicationCache.db) file from the com.apple. Safari folder to the Trash.
    Restart your Mac. Launch Safari. Try the back button.
    ~ (Tilde) character represents the Home folder.

  • What to do now when my iPad won't turn on after I turn it off. It shows only the apple logo. I am sure it has above 70% charge as when I sync my iPad it shows necessary detail in iTunes. I have tried, HOME & POWER button, but did not work.

    What to do now when my iPad won't turn on after I turn it off. It shows only the apple logo. I am sure it has above 70% charge as when I sync my iPad it shows necessary detail in iTunes. I have tried, HOME & POWER button, but did not work.

    First try a Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least Ten seconds... (But can take Longer)... until the Apple logo appears. Release the Buttons
    If no joy... Try a Restore...
    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    3: If Unable to Restore, try using the Steps in this article to force the device into Recovery Mode.
    Note on Recovery Mode.
    You may need to try this More than Once... Be sure to Follow ALL the Steps...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Disabling Radio Button Conditionally is not working Well

    Hi friends,
    I have three radio buttons
    <li>self
    <li>New Hire
    <li>On Behalf of
    I will be showing this radio button conditionally according to the user who logs into the application.
    Assume, suppose if a person 'A' enters into the application means he will be shown only these radio button options ---NH---,----OB----,----Self-----
    Suppose, if a person 'B' enters into the application means he will be shown only these radio button options ----NH----,----Self---
    If a person 'C' enters into the application means he will be shown only these radio button options ---Self---
    I have restricted those radio buttons according to the users who enter into the application using their roles.
    But my challenge here is once the user logged in and if he select anyone of the radio button means,
    Example if he selects----NH---means, then ---OB----and -----Self---radio button has to disable and if he selects ---OB----means then ----NH-----and ---Self---has to
    disable(vice versa).
    I have also achieved the same using the DA.
    With true action as: javascript Expression i have given the following codings( i have written the below DA for three cases, if the request_class_code is equal to
    (NH,OB,S)
    var enabled=$v('P22_REQUEST_CLASS_CODE');
    if (!$u_SubString(enabled,'S')) $('#P22_REQUEST_CLASS_CODE_2').attr("disabled","disabled");
    if (!$u_SubString(enabled,'NH')) $('#P22_REQUEST_CLASS_CODE_0').attr("disabled","disabled");
    if (!$u_SubString(enabled,'OB')) $('#P22_REQUEST_CLASS_CODE_1').attr("disabled","disabled"); The above DA is working great only for the user who has the option of viewing three radio buttons in my form(i.e)(NH,OB,S).
    For the user who has the option of viewing two or one radio button, it is not working properly(i.e)(NH,S) or(OB,S) or(S).
    Why it is not working for the user with two options or with one option radio button means, the source of that radio button property is changing. Since i have taken
    the source of my radio button in my DA only when the three options are present.
    How i can solve this issue for the user who is having this two radio option or one radio option.
    Hope you understood clearly about the problem.
    Brgds,
    Mini

    Hi,
    If I did understand what you like have this might work
    var lVal = $v('P22_REQUEST_CLASS_CODE');
    $('#P22_REQUEST_CLASS_CODE input:not([value="' + lVal + '"])').attr("disabled","disabled");Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME

  • Select statement not working

    hi to all,
    I am trying to write use inner joining . here is code
    DATA:tabname LIKE dd02L-tabname,
         table_disc LIKE dd02t-ddtext.
      SELECT  dd02ltabname dd02tddtext INTO (tabname,table_disc)
        FROM dd02l INNER JOIN dd02t on dd02ltabname = dd02ttabname
              WHERE dd02tddlanguage = 'E' AND dd02ltabclass = 'TRANSP'
                                AND dd02L~tabname = 'ZANKI*'.
        endselect.
          write : tabname.
    I also checked in tables dd02t and dd02l for the table zanki* and data available in both table . but here select statement not working .do u have any idea about this. thank you

    Hi,
    I executed the ur inner join conditin by commenting 'z*' it's working fine.
    I think  where condition is not getting satisfied so u r not getting any data.
    Please conform in where condition you need * 'AND'* or OR
    I change decalration as below.
    DATA:tabname    type TABNAME,
          table_disc type AS4TEXT.
    SELECT dd02l~tabname
           dd02t~ddtext  INTO (tabname, table_disc)
    FROM dd02l  INNER JOIN dd02t on dd02l~tabname = dd02t~tabname
    WHERE dd02t~ddlanguage = 'E' AND
          dd02l~tabclass = 'TRANSP'AND
        dd02L~tabname = 'ZANKI*'.
    endselect.
    write : tabname.
    Regards,
    Pravin

  • Satellite M70: Control button keys are not working

    I currently reformatted my M70 to WinXp Pro Sp2, downloaded all related TOSHIBA drivers and related programs [ie. Toshiba control button driver / program] and system is running normal. However, CONTROL BUTTON keys are not working, was working fine with XP Home edition and Win Media but when I called Toshiba Support they couldn't help me because I had upgraded to Xp Pro. My Question is...Is there a fix or a solution to this issue and where can I download or find this fix.
    Thanks
    Emm

    Hey Folks
    Thanks for the advice, however, I did download the control driver and the controls program for the M70 model AND installed them in that order. The Controls Driver installs correctly but unfortunately, when installing the Controls Program, I get a message that the program will not install because it's not the right version for my M70-CL3 [PSM73C]. Not sure what to do here. I would think that everything should work properly seeing as taking the step up to XPPro SP2 isn't that far of a stretch.

  • I am about to buy and iphone 4, its second hand and is in amazing condition. The only problem is that the 'wi-fi' button doesn't not work. I tried to click on it but nothing responds. Can this be fixed? Should i still purchase it?

    I am about to buy and iphone 4, its second hand and is in amazing condition. The only problem is that the 'wi-fi' button doesn't not work. I tried to click on it but nothing responds. Can this be fixed? Should i still purchase it?

    while you are with the person selling it to you, ask if you can do a complete restore of the software settings->general->reset->reset all
    reboot the phone to factory settings and see if that fixes the problem.  if not, i wouldn't buy it unless they are selling it to you for less than $50.  wifi is crucial for keeping data low and using features like facetime

  • Hi. The buttons and wheel of my iPod 4th generation do not work. The hold button resets the iPod, and the shuffle shake works. The music plays by shuffling but I can't access albums etc due to the buttons and wheel not working.

    Hi. The buttons and wheel of my iPod 4th generation do not work. The hold button resets the iPod, and the shuffle shake works. The music plays by shuffling but I can't access albums etc due to the buttons and wheel not working.

    Did you restore from backup?
    Next would be to restore to factory settings/new iPod since maybe you have some corruption in the backup

  • Hi all, Since I updated to Mavericks I am having trouble with Safari showing all the buttons/clickable options, but they are gray and will not work. Specifically, the Trash Can/Delete and the "Move to" folder button simply do not work. Any ideas?

    Hi all, Since I updated to Mavericks I am having trouble with Safari showing all the buttons/clickable options, but they are gray and will not work. Specifically, the Trash Can/Delete and the "Move to" folder button simply do not work. Any ideas?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • I updated my iPhone 4S to the new IOS 6 I like it but the problem I found the Wifi button it's not working any more it looks hidden , so what I should do to solve this issue ASAP

    I updated my iPhone 4S to the new IOS 6 I like it but the problem I found the Wifi button it's not working any more it looks hidden , so what I should do to solve this issue ASAP

    Tap Settings App > General > Reset > Reset Network Settings. See if fixed. If not, Restore Firmware with iTunes on computer. See if fixed. If not, all iPhone 4S have Warranty, make Genius reservation and take iPhone to Apple for resolution.

Maybe you are looking for

  • FM Clearing of a down payment years later

    Good morning, Situation: - We create a downpayment of a PO in year X. - Due to local legislation, expenses budget lines can be carry forward 1 year. - We received the invoice in year X+5 and then I try to do the clearing with the downpayment. How sho

  • How to create download procedure?

    I upload the zip file into the blob column, but I want to provide the url for the users to download the zipfile. I don't want to use intermedia and web agent. What should I do?

  • Eos isn't downloading on my new imac

    So....I just bought the 27 inch iMac with OSX 10.8.3 and want to set up the Canon EOS Utilities program to download photos from my Canon 5D to my iMac and the software, straight from the CD, downloads properly, but when I connect the camera, it opens

  • Problem in Inv O/P Condn Rec--"Debit/Credit Key Combination not appearing"

    Hi,   I have done the following settings for Inventory Mgmt:Output determination:   Print control settings as follows:   1. Defined Print items for each output type (eg. A,B,C etc.)   2. Defined Version Print Indicator = 3 (Collective Slip) for MIGO

  • PM Order adding more components

    Hello ALL for example:- (1) i created one PM order and created two MM in component tab so I get one Purchase request  respectively item 01 and 02 . Now the Purchase request has been released and POs are created and did good receipt too. (2) now later