Help with Enabled Buttons

I am looking for a way to enable/disable all buttons in a
swf. I found this searching here but I don't understand it, and am
looking for some of the many ways, as mentioned.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=288&threadid =1240137&highlight_key=y&keyword1=enabled
I am messing with having things load in what I call "windows"
and when you close a window, basically it just collapses the .swf.
The problem I have is that the cursor reacts to roll overs and I
can still rollover buttons in the swf even though its collapsed. To
see this prob go to:
www.custom-differentials.com
and open the gallery, then drag the gallery to the middle of
the screen, close the gallery, then move the mouse around the
outside of the "title bar" and watch the mouse change colors even
though there is nothing there. I put a trace in the rollover
handlers so I know which buttons are causing this. I just would
like a broad sweep disable all buttons while the window is closed.
Thanks in advance for any help.

OK, I lied to you. I meant to say I was setting the _height
value of the swf to .1, not the y value. Any way the lie is that I
was actually setting it to 0, which is what was causing my problem.
I changed the resize value to .1 and the problem dissapeared. I am
going to try out your suggestion though, for s&g. Thank you for
the help.
I am not gonna mark this answered cuz I am curious on the
original question. Before your suggestion and me stumbling onto my
own stupidity, I was trying out an array that stored button names
and I would cycle through them enabling and diabling as I opened
and closed. One thing I noticed was that my galleries contained 50+
pics and the latency in my push loop may have become a problem.
Thanks Again.

Similar Messages

  • Need help with a button

    Hello,
    I need help with a button. I created a button and set it up
    so that when you click and hold it, the button becomes lighter in
    color (I used Alpha). I want the button to stay this light color
    after i release the click. Right now it goes back to the normal
    color when I release the click. Can somone help we this?
    Thanks!

    rpofclt wrote:
    > Hello,
    >
    > I need help with a button. I created a button and set it
    up so that when you
    > click and hold it, the button becomes lighter in color
    (I used Alpha). I want
    > the button to stay this light color after i release the
    click. Right now it
    > goes back to the normal color when I release the click.
    Can somone help we
    > this?
    you can't use the button itself if you want to maintain the
    DOWN state after
    release as button automatically resets itself once the mouse
    lives the HIT zone.
    Use movie clip instead and on press simply send it to a frame
    where there
    is DOWN state like image.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Help with linking buttons to Scenes

    Hey,
    Rookie to Flash and AS3. Just needed some help with my buttons. Im making a flash program about pancakes (random I know). I have a "Mainmenu" scene and then a "Recipe" scene. I have a button on my mainmenu which takes me to the recipe page when I click it, the code behind the button is
    "stop();btn_recipe.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {
    gotoAndStop(1, "Recipe");
    Then when I arrive at my recipe page I have a button which will take me back to my MainMenu, the code behind that button is:
    "stop();btn_home.addEventListener(MouseEvent.MOUSE_DOWN, mouse5DownHandler);function mouse5DownHandler(event:MouseEvent):void {
    gotoAndPlay(1, "MainMenu");
    So I run my program and the first button works and takes me to recipe page but the button to get to the main menu does nothing, click it and no response or anything
    Please help

    First, hopefully having all your code mushed onto the same line is a copy/paste error, otherwise it should look like...
    stop();
    btn_recipe.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void {
         gotoAndStop(1, "Recipe");
    If the intention is to click the buttons to make them work, then you should use CLICK instead of MOUSE_DOWN.  MOUSE_DOWN can be a persistent state whereas CLICK involves releasing it afterwards.
    As for the code to get you back home, where is it located on the timeline?  Are you getting any error messages when you try to use it?
    One thing you should learn to use is the trace() function.  It is useful for troubleshooting.  You can use it now to see if your second button is talking to the function at all...
    stop();
    btn_home.addEventListener(MouseEvent.CLICK, mouse5DownHandler);
    function mouse5DownHandler(event:MouseEvent):void {
         trace("the button works okay");
         gotoAndPlay(1, "MainMenu");
    If you don't get that message in the output panel, you'll know the button is not properly coded to work.
    Most folks here will recommend you get away from using scenes in a design that includes navigation--they have a history of being problematic.  Instead of using scenes, divide the one main timeline up into sections or use movieclips for the sections and manage their visibility... or do a bit of both.

  • UWL - Help with Decision Buttons

    Hello SDNers,
    I'm customizing the UWL iView to show approval itens only, and their respective decision buttons.
    Everything looks ok, but when someone try to submit the decisions it shows the message:
    "reject wasn't correct"
    Where "reject" is the name I gave to the action.
    It also happens with the approval action.
    Below is the XML I've created.
    Does someone have a clue in what that message means, or what I've done wrong?
    Thanks in advance!!

    Hi There,
    Make sure that your decisionKeys are correct.  I have seen issues with this many times.  Log on to the backend system and call  SAP_WAPI_DECISION_READ or SWK_DECISION READ for a specific workitem  (You can get the details of the workitem id from the support information on the UWL - enable this and you can check this specific workitem)  The decision key is an internal value (typically a numeric value) corresponding to the selected decision used by the provider.
    You will need to ensure that you have x amount of decisions configured in the xml file, where x = the amount of decisions configured in the backend system.
    For additional help with this topic please see the userDecision Action Handler documentation:
    http://help.sap.com/saphelp_nw70/helpdata/en/7a/df014b037141ca9afc6433ed42b519/content.htm
    Beth Maben
    EP - Senior Support Consultant II
    AGS Primary Support
    Global Support Centre Ireland
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • I need help with a button animation!

    Hi,
    I hope someone can help with a simple-looking problem which
    nonetheless has me stumped!
    I have a feeling that I've missed something obvious.
    I've created a movie clip to act as a button (I've called it
    "abs_button") and placed it on the stage.
    My main movie has one frame.
    Within the "abs_button" movie clip there are 5 layers.
    Labels, actions, default button state, rollover state and rollout
    state.
    Technically, default button state, rollover state and rollout
    state could be on the same layer as they don't overlap, but I've
    given each animation its own layer for clarity.
    FRAME 01.
    Default button state is one frame with a graphic of the
    button. Just a label at the start ("abs_up") and a "stop();" action
    at the end.
    FRAME 02 to 31.
    Rollover state is a 30 frame animation. Label at start
    ("abs_over"), "stop()"; action at the end.
    FRAME 32 to 62.
    Rollout state is a 30 frame animation. Label at start
    ("abs_out"), "stop()"; action at the end.
    All animations were achieved with tweens.
    My initial "abs_button" code:
    on (release) {
    getURL("targetPage.htm", "_self");
    on (rollOver) {
    gotoAndPlay("abs_button", "abs_over");
    on (rollOut) {
    gotoAndPlay("abs_button", "abs_out");
    As it stands, the animation jumps to frame 1 of "abs_out" on
    rollout.
    I need the "abs_over" animation to always play through to the
    end, as the "abs_out" is "abs_over" in reverse (i.e. image grows
    large on rollover and shrinks again on rollout.
    I've tried for 2 days to solve this, but I clearly need help.
    My experiments with variables simply didn't work.
    I would be grateful if someone could tell me where I'm going
    wrong!
    Thanks,
    Andy

    use this:
    on (rollOver) {
    gotoAndPlay("abs_over");
    Since the code is attached directly to the movieclip, you
    don't have to
    identify the clip. A gotoAndPlay() function takes a frame
    number or a
    frame label name as its argument, never the name of the clip
    that
    contains the frame number or name.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412.243.9119

  • Little bit of help[ with a button.

    Good day all!
    I need help making a button. This is what I want to happen.
    I have a bunch of text, One of the words "merino" is bule as
    to say there is a link hear! And I want an image of the "merino" to
    come up, like a "ALT" box. Or have an image in the "ALT" box?
    I know how to do this in "Flash" i.e just drop in the image
    on the over state of the button event. Easy as pie! This is why I
    cant get to grips with Dreamweaver! I hate it!
    But I am willing to learn and maybe in time love???
    Thanks all!

    "satrop" <[email protected]> wrote in
    message
    news:f0o4t7$954$[email protected]..
    > Good day all!
    >
    > I need help making a button. This is what I want to
    happen.
    >
    > I have a bunch of text, One of the words "merino" is
    bule as to say there
    > is a
    > link hear! And I want an image of the "merino" to come
    up, like a "ALT"
    > box.
    >
    > I know how to do this in "Flash" i.e just drop in the
    image on the over
    > state
    > of the button event. Easy as pie! This is why I cant get
    to grips with
    > Dreamweaver! I hate it!
    >
    > But I am willing to learn and maybe in time love???
    HTML is a lot different from Flash! :-)
    I believe you could do this using DW's Show-Hide layer
    behavior - have
    mousing over the link trigger a layer with the image to
    appear. Someone else
    may have a better idea.
    Just FYI, having to mouse over a link in order to get more
    information about
    it isn't usually appreciated by users. You *might* want to
    re-think this
    plan..
    Patty Ayers | Adobe Community Expert
    www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • Help With Radio Buttons -- URGENT!!

    Hi i am new to using UI compents in flash.
    Basically i havnt a clue where to start.
    Just some simple action script will help and be much
    appreciated if someone can give me it.
    Basically i have a question to ask which requires radio
    buttons to answer the question.
    I have a question and the answers are A, B, C, D.
    I want:
    A to equal 1
    B to equal 2
    C to equal 3
    D to equal 4
    E to equal 5
    Would someone be able to tell me how to set up the radio
    button so that the value of the radio button is stored into an
    array called SCORE.
    i dont need a tutor for arrays, i can do them, i just need
    help with the radio buttons so a reference to an array would be
    enough, eg how to store the answer from the radio button in an
    array.
    Thank you

    Place the radio buttons on the stage and set their parameters
    to what you need. Make sure that for each group of radio buttons
    you give them the same group name. Then you could use something
    like this:
    var listenerObject:Object = new Object();
    var answerArr:Array = new Array();
    listenerObject.click = function(eventObj:Object) {
    answerArr.push(eventObj.target.selectedData);
    trace(answerArr);
    radioGroup.addEventListener("click", listenerObject);
    radioGroup refers to the group name for the buttons.
    eventObj.target will refer to the actual radio button
    clicked.
    Tim

  • Need help with encore buttons - highlights

    Hi All
    I am seeking help with Encode CS5. I have a project working fine except that I dont have highlights for buttons, at least I think thats what its called. So when the mouse or remote control navigates up/down toa button it changes colour.
    In the properties of my button, the highlight option is greyed out.
    How do I apply highlights ?
    many thanks
    Chris Anderson

    Hi Bill
    Thanks for your reply.
    Here are 2 screen prints. One from encore the other from photoshop.
    First time I have inserted images, and they seem a little small on this message - if you have any problems reading I could email to you.
    I have highlighted the first button - which is called 'Highlights' - same issue with all the other buttons.
    Do you have to use photoshop to add highlighting? or can you do this in encore - i dont have much experience with photoshop.
    Not sure how to check 'Color Set' ? can you tell me how to get that for you - same for transparency for states? - I havent experienced them or changed them as I dont know how to
    Yes it was duplicated - have left a message not to reply
    Thanks again
    Chris

  • Help with Social buttons ...

    Hi,
    I'm designing a muse site with social buttons that are created when you embed code from a site such as facebook, and others. They look like this on my site ...
    I would like to build a 'social' area on my site that looks like this instead ...
    So, to clarify when my user clicks on the 'f' in the lower of the two graphics above I'd like my website to behave as if the user had clicked on the 'f share' icon generated by the embedded html from facebook.
    How?
    Many Thanks!
    Gary

    Hi Gary
    This would be a customization with codes for share.
    You can use Share This and use the embed code for the same view that you have mentioned , which will allow users to share the page where you will insert the code.
    http://www.sharethis.com
    - Select Website
    - Select the layout
    - Generate the code
    Thanks,
    Sanjit

  • Urgent help with enabling a button.. Pls Help if possible

    Hi guys,
    I'm opening a popup window. After opening that window i'm disabling a button in the parent page which opened it.
    I have 2 buttons Submit and Cancel and 3 radio buttons in the child popup window. If the user selects a value and clicks submit or if the user clicks Cancel then i'm closing the child window and enabling that disabled button in the parent page.. (USING WINDOW.OPENER in the function)Everything is fine upto this point.. But what if the user clicks the close button(top right corner one) in the opened popup window..
    Is there any way where i can disable the close button in the popup window..Or any way to enable the button in the parent page when the popup window is closed through the close button.
    I would really appreciate any help from you guys..

    Yeah Im sure, closing the window by using close button will trigger onunload event.
    in popup's body put
    <body onunload=myFunction()>
    do ur stuffs inside myFunction()

  • Help with missing buttons

    Upgraded to version 32. I'm missing the 3 dot menu button, but do have hardware menu button. When I press on hardware menu, I do NOT have an option to go to tools. It doesn't look the picture they show when I searched for help. As a matter of fact, when pressing menu, it looks like the old version I had. did something not update properly, or could the new version not be compatible with HTC inspire? is appreciate any help thanks so much

    You need to reinstall Firefox from Play Store , Enable Sync first then wait for sync to finish synching then uninstall and reinstall
    Please note : uninstalling without sync enabled will cause to loss all your data including form data,passwords, usernames,history and bookmarks

  • Help with menu button and movie load

    Hello everyone....I am very new to flash and actionscripting
    and am self taught using mostly web research.
    I am building a site with a menu and a banner that is
    controlled by the menu (two swf files). I have managed to get them
    to communicate however, I am stuck at this point.
    When "bt_1" is hit I would like a "mv_1" to load in the
    banner.swf with is respected intro animation...this I figured out
    how to do...however now when "bt_2" is clicked I would like play
    the remainder of the animation of "mv_1" to unload the movie before
    "mv_2" loads with its respected enterance animation....this I would
    like to do for several buttons. The method I am using for my local
    connection is this....
    Sending script
    mySender = new LocalConnection();
    on (release) {
    \\ each button has a different param...1,2,3,4,5,6
    _root.mySender.send("menuconnect", "action", 1);
    \\ this is the best way I could figure out to disable the
    appropriate buttons..there might be a better way??
    home.enabled = false;
    couple.enabled = true;
    events.enabled = true;
    bridal.enabled = true;
    media.enabled = true;
    rsvp.enabled = true;
    Recieving script
    myReceiver = new LocalConnection();
    myReceiver.action = function(doThis) {
    if (doThis == 1)
    gotoAndPlay(2);
    if (doThis == 2)
    gotoAndPlay(3);
    //and so and soforth for all six buttons
    myReceiver.connect("menuconnect");
    If all this makes no sense I'm sorry...I tried my best...
    If some pro out there can understand what I'm trying to do
    and can help me I would greatly appreciate it....thank-you all
    sjs

    KGlad...I'm stuck again....:-(. I guess I'm not understanding
    this linkage thing well enought...
    if you don't mind tell me what you had in mind when you
    helped me with that code...this is my situation again....
    here is the actual website....www.beckyandsangeeth.com
    the menu on the left of course has the buttons and I want the
    animation pertaining to each button to load in the apparent banner
    region, (which I am still working on the indivual animations).
    I guess I'm not understanding where the movies are loaded and
    how they are linked...and so and soforth...thanks again
    Also I don't mean to be specifically speaking to
    kGlad...anyone out there I am open for ideas.
    thanks
    sjsamuel

  • Help with enabling TPM in Task Sequence for Dell Laptops

    Hi there,
    I would appreciate some advice on creating a task sequence for Win8.1 with TPM enabling for Dell laptops; I have BitLocker set up manually with a Group policy, but want to have TPM enabled in the task sequence. I have read older posts on sites such as windows
    noob, but can't see how to reference the CCTK and get TPM going for win8.1 in a SCCM2012 environment. 
    Obviously I haven't created this before so any help would be appreciated; I have noticed when I try to import my CCTK configurations into SCCM as it isn't a zip file I cannot do it.

    Luckily Dell wrote a whitepaper about that subject, see:
    http://en.community.dell.com/techcenter/extras/m/white_papers/20209083
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Help with Radio Buttons in Form

    Hi. I have inherited a website that has a simple form. I have
    been asked to edit the form adding 4 radio buttons to collect the
    consumer's satisfaction with the content of the website. I have
    added the radio buttons using Dreamweaver MX, however, they do not
    work as I expected them to. I was under the impression that radio
    buttons did not allow the user to select more than one option
    because when the user selected a different option, the first option
    was unselected. My form is currently allowing all four options to
    be selected at the same time. The code for the form is below. I
    have changed the @ in the email address of the form to prevent
    possible spam. Any help would be greatly appreciated.

    It looks like you need to change the name= to the same on
    each radio button, if they all have the same name then you can only
    check one. Then click the form in the behaviors panel and be sure
    the radio button name is inserting into the proper db
    column.

  • Need help with Submit button

    I'm needing a script that locks all of the fields once the submit button is pressed and it's emailed to someone else. Is that possible? Thanks in advance for your help.

    Right now I'm using javascript to submit the form. I'm using
         this.mailDoc({
         bUI: true,
         cTo: [email protected],
         cSubject: ""
    So I need to incorporate the script you gave me with this script that I'm already using?

Maybe you are looking for