Behavior of the status button

Hi all

I'm just starting with Flash Catalyst and going through the tutorials. However, I came across a topic that, for some reason, I can't solve. Hope you can help guys:

As I was goig across one of the getting started tutorials present on this site (http://www.adobe.com/devnet/flashcatalyst/articles/get_started_with_flash_catalyst.html), I got in trouble for the behavior and appearance of my 3 navigation buttons similar to those of the tutoral. In this regard, I have two questions:

-Is it possible to have the 'over' or 'down' state remain active once a button is selected, even after the mouse is so more on or down on this button? I have tried several things but no luck...

-For the above tutorial, I noticed when looking at the final design ("main.html", how it should look and behave), the first box has already been activated, and don't react to the mouse first click. Then, when a button is selected, it does not give an answer on the mouse down after the initial click (as for me, as it should be). However, when clicking on a different button, then go back and click on the first button, it gives a mouse to the bottom of the answer. But only once. To me, it seems that there are two 'modes', a button can be in: startup and a mode once that a button has been selected. Is this true, and how I can get the same result as the tutorial?

Hope this is clear. Thanks a lot for those who can help, much appreciated.

See you soon,.

Tom

Hi Tom,

-Is it possible to have the 'over' or 'down' State remain active once a button is selected, so even after the mouse is more on or down on this button? I have tried several things but no luck...

-For the above tutorial, I noticed when looking at the final design ("main.html", how it should look & behave), the first box has already been activated, and don't react to the mouse first click. Then, when a button is selected, it does not give an answer on the mouse down after the initial click (as for me, as it should be). However, when clicking on a different button, then go back and click on the first button, it gives a mouse to the bottom of the answer. But only once. To me, it seems that there are two 'modes', a button can be in: startup and a mode once that a button has been selected. Is this true, and how I can get the same result as the tutorial?

If you disable the property of your button "Enabled" in the Panel properties (screenshot below), the button displays as "disabled".  You can change the Enabled property a button from one State to the other.

You can change the appearance of the disabled state the button has to be displayed when you wish to by double clicking on the button component.   The high, the low and people with disabilities shows will appear.  That's how I realized the behavior of the button in the tutorial getting started.

Let me know if you need additional information.

Best,

Tanya

Tags: Flash Catalyst

Similar Questions

  • Help with the status button widget – I want the button to be transparent, but not the text!

    Basically I have a few images which passed hovered, I you want to lighten and text to appear (it's for a portfolio, so I want the title of the project and a very brief description appear when each image is hovered over). To do this, I had to use the status button widget and set its real part of white button, opacity of 50%, while the image lightens when hovered over. However when I do this the text reduced to an opacity of 50%, but when I select the bit of the text itself, he always says 100% opacity. I need the text to be 100% opacity and non-transparent so it can be easily read.

    Looks like you apply opacity to all button instead of simply filling. When you set the opacity? You should be setting the opacity of the background of the button by using the opacity of fill not the opacity of the effects...

  • The user interface related problem: cannot add the status buttons

    Hello

    I'm developing a screen where I need the header and status with controls like buttons and the EditFields. Please take a look at this code

    editField = new EditField();
    
          updateButton = new ButtonField("Update");
    
           cancelButton = new ButtonField("Cancel");
    
          /**        * set up Status manager       */       VerticalFieldManager statusVerManager = new VerticalFieldManager();       HorizontalFieldManager statusManager = new HorizontalFieldManager();
    
            /**        * Add fields in status manager        */       statusManager.add(editField);     statusManager.add(updateButton);      statusManager.add(cancelButton);
    
            statusVerManager.add(new SeparatorField());       statusVerManager.add(statusManager);      /**        * Set status as status manager        */       setStatus(statusVerManager);
    

    Here I can see my edit of the status field but may not see a Cancle and update buttons.

    Previously, I have tried with subLayout() for both the Manager but could not display buttons.

    Waiting for your comments on my code. Atleast help me understand what it is wrong.

    Thanks in advance people.

    Hello

    Solved the problem myself.

    Here's the summary I've done.

    1 removedStatusVerManager. In fact, it has been used only to a separator above the horizontal management of State.

    2 called sublayout inside the statusManager and delimited the height and width.

    3. called setLayOutChild() to do my fiedl edit fixed width and height.

    (I had followed procedure until 3 before I had done new is in step 4)

    4. calls the setPositionChild() method. In fact when I throw a child I have defined his position and the position of all the children who will be added in the same manager. So also set the position of other controls of BROTHER with her.

    5. Add the controls in the Manager.

    He spent setStatus. And I am able to make the desired screen.

    Thank you @ekansh for your answers.

  • How set "selected the status button?

    Hi all

    I'm working on animations of e-learning. I've always used Flash (when it was called this way) as a designer, timeline editing because I am a monkey with the code. Now I use Animate, but my knowledge of code to ZERO.

    Unfortunately for me, I need to insert an interactivity in my file but I don't know how.

    Details here:

    the file begins with a bar at the bottom with two buttons (menu). You must press one of them to start one of the two animation.

    I used the old gotoAndStop solution in the first picture and it was generated by Animate in:

    This.button_lati.addEventListener ("click", fl_ClickToGoToAndPlayFromFrame_2.bind (this));

    function fl_ClickToGoToAndPlayFromFrame_2()

    {

    this.gotoAndPlay (70);

    }

    This.button_poligoni.addEventListener ("click", fl_ClickToGoToAndPlayFromFrame_3.bind (this));

    function fl_ClickToGoToAndPlayFromFrame_3()

    {

    this.gotoAndPlay (610);

    }

    The system works but when an animation starts, there is no feedback "selected the status" of the key pressed. How can I put it?

    I used the symbol button create that, and so I set graphically the State, but I don't know that I can call through code.

    Thank you

    I guess you want a sort of culmination on the most recently clicked on button, which is not in most of button widgets with which I am familiar standard features.

    Just manually create an object to highlight and put it around each button, and then turn them on and off to each button event handler by defining their .visible property.

  • After Windows Update, is now silent erratic speaker (flickers power button) and sometimes erratic behavior of the mouse

    I noticed a few days after the restart after an update of Windows (a few weeks of updates at the same time evidence) on my old laptop Dell M60 when I hit the mute button would begin just flashing power continuously, but there is ore that turned off.  I restarted and it has always given this behavior, so I turned off the laptop and decided to watch it later.  Today, I had a friend send me an email on their desktop PC indicating that they have the same problem.

    Does anyone else know this? Identified/fixed?

    Hello

    Download the latest sound/audio driver and if not more recent re - install the same. Please use the instruction manual
    as we explain.

    Control Panel - device - SOUNDS - look for HD Audio Manager - Mine said RealTek High Definition Audio

    Make sure you write down the description and model double click top - tab drivers - write version. Now
    Click on update drivers who cannot do anything like MS is far behind the certification of drivers. Then RIGHT
    CLICK above and UNINSTALL - REBOOT - this will rebuild the driver stack.

    1. go to the system manufacturer's website and search for the driver the newest download - SAVE - will click with the button straight on and RUN AS ADMIN
    (This is your rescue.) REBOOT after each installation of driver.

    NOTE: Driver Sound often rollback so check the version after installation and reboot to see if the version you
    installed is there, if not repeat - restart until it is. It may take several tries depending on the recommitments how he
    the fact.

    Then do the same for the site of the manufacturer of the device.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • The substitution of the previous button behavior

    I develop my widget on BlackBerry WebWorks plug-in for Eclipse v2.5.1. I use only one HTML file for all my screens.

    Right now "back" button out of the application itself. I tried to check/uncheck "Override the default behavior of button"return"to exit the application" option but no luck.

    And I want to disable the previous button on the home screen but did not find any document to change its behavior.

    Let me know that you need more information

    Help, please.

    Thank you.

    Take a look at the event of onHardwareKey() that you can intercept to be able to make the back button to do what you want

    http://www.BlackBerry.com/developers/docs/widgetapi/BlackBerry.System.event.html

  • Hello, I have Wacom product code in Exchange for buying one. On the CC here there is a button that says "Download" (and not "download trial"), so it seems for the status. But when I press it it says download started, but in fact it didn't.

    Hello, I have Wacom product code in Exchange for buying one. On the CC here there is a button that says "Download" (and not "download trial"), so it seems for the status. But when I press it it says download started, but in fact it didn't. What seems to be the problem?

    Hi Lex % 20Draijer,

    You can try the same thing using a different browser.

    or you can download Creative Cloud via https://www.adobe.com/creativecloud/desktop-app.html

    You can also see help document https://helpx.adobe.com/creative-cloud/help/manage-apps-services-desktop.html

    Hope this will help.

  • Override the default behavior of the button Delete of list manager

    Hello

    Everyone please help. I'm trying to override the default behavior of the button Delete of list manager. The first thing, I want to restrict users to select only one option from the list to delete; meaning don't allow multiple options for users to remember. Before removing the selected option in the list; I want to perform a Javascript/AJAX validation on the database to check if the user has permissions to remove the option from the list. If the user has privileges simple delete option selected in the list. If the user does not have privileges and then draw the attention of the user with a message "not authorized...!  and this should occur when the user selects the option in the list to the list manager, and then click Remove from the list manager.

    Remove list manager of the shutter release button of the function 'deleteListElement ($x ('P3_LM_USES'))' on the onclick event. P3_LM_USES is my element of list manager in a form.

    I use the version of Oracle APEX 4.0.2 and Oracle 11 g R2 database.

    I was able to substitute the Add button functionality using the JS function below list manager and perform validation on database by using the method of ajax on request.

    {code}

    < script type = "text/javascript" >

    <!--

    This replaces the default manager of Apex lists which removes embedded spaces from the last item when it is added to the text box

    appendToList function (value, toList)

    {

    First of all, get rid of all spaces

    trimmedValue = value;

    var ajaxRequest = new htmldb_Get (null, & APP_ID, 'APPLICATION_PROCESS = VALIDATE_ADD_USE', 0);

    ajaxRequest.addParam('x01',trimmedValue);

    var ajaxResult = ajaxRequest.get ();

    Alert (ajaxResult);

    If (ajaxResult == 1)

    {

    Alert ('after alert ajaxResult');

    Then, divide the string separated by commas in a table

    valueArray = trimmedValue.split(",");

    for (i = 0; i < valueArray.length; i ++)

    {

    If (valueArray [i]! = ' ')

    {

    found = false;

    for (j = 0; j < toList.length; j ++)

    {

    If (toList.options [j] .value is [i] valueArray)

    found = true;

    }

    If (found == false)

    toList.options [toList.length] = new Option ([i] valueArray, [i] valueArray);

    }

    }

    }

    on the other

    {

    Alert ("you cannot add it" "+ theValue +'".) Please contact the administrator of the application. ") ;

    }

    }

    ->

    < /script >

    {code}

    I have this above function JS in a section of text of element the element of P3_LM_USES list manager post. Please help me with your suggestions for the button Delete.

    Thank you

    Orton

    Hello

    I was able to solve the problem by replacing the default functionality of the list manager delete button using a JS/AJAX process. FYI, here's the JS function.

    {code}

    function deleteListElement (toList)

    {

    Alert ("Hello in function");

    var x = $x ('P3_LM_USES');

    for (var i = 0; i)< x.options.length;="">

    {

    If (x.options [i] .selected is true)

    {

    Alert (x.options [i] .value);

    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=VALIDATE_REMOVE_USE',0);

    ajaxRequest.addParam('x02',x.options[i].value);

    var ajaxResult = ajaxRequest.get ();

    If (ajaxResult == 1)

    {

    var y = x.remove (i);

    alert (y + 'removed');

    }

    on the other

    {

    Alert ("you can't remove this" ' + x.options [i] .value +' "item in the list.) Please contact the database administrator.') ;

    }

    }

    }

    }

    {code}

    Thank you

    Orton

  • Behavior of the button when you press ENTER key

    I want to run that by the forum to see if someone else can confirm.
    On a PC when a button has the focus, pressing the Enter key performs the button's onAction
    On a Mac hit the Enter key in the same conditions does nothing.

    The behavior is the same? Can others recreate the issue?

    I don't mind opening a ticket, I just want to see if it is a 'feature' first

    planned on a MAC user behavior

    I had a Mac yesterday.

    OS X 8 buttons are triggered when they are targeted and you press space on them - for the JavaFX applications and similar system.

    The focus by default system behavior is that only text boxes and lists getting focus - buttons not developed at all. Enter fire, by default the button regardless of whether it is focused or not - for example OK for a message dialog box or open a file dialog box. Enter sometimes run another action (such as an editable name - similar to a slow double click icon in Windows). ESC performs a function cancel - for example, to get rid of a pop-up window which may or not have a cancel into it button. Symbol alt + f to open a file menu do not appear to work at all for the applications of the system as Safari - I didn't try for JavaFX. To access a menu item, you can press ctrl + fn + F2, then navigate around a keyboard with the arrow keys or by typing the first letter of a menu item, then press SPACEBAR to activate the menu to get a drop down, then navigate with the keyboard even more and finally press the SPACEBAR to activate the desired menu item. Virtually every element of menu in Safari seems to have a combination of the accelerator of the command key + another key, so maybe it's the way things are to do in the land of Mac. None of the standard system applications seem to have all applied to the button symbol.

    If you go to System Preferences | Keyboard | Keyboard shortcuts there is an option that says access to the full keyboard: all controls. This button can also be activated at any time in the system using ctrl + fn + f7 combination. Once the option is enabled, you can tab to a button for the focus. JavaFX does not respect this setting, you can tab to buttons and others not on the list and the controls of textfield in a JavaFX application at any time, regardless of the value of the full keyboard access.

  • Behavior of the button in Captivate 6

    I have two buttons on a slide.

    By clicking on the first open a PDF (quick reference Guide).  By clicking on this button is optional, and the button should be available all the time the slide is displayed.

    By clicking on the button of the second pass to the next slide.

    Problem: when you click on the first button, the PDF file opens, but the slide advances also. I don't want the slide advance when this button is clicked. The behavior should be that the user can click the button at any time while the slide appears on the screen to view the PDF file, but the only way to advance to the slide must be clicking on the Next button.

    Any ideas? Thanks in advance!

    Hello

    Normal behavior of a button to release the read head when an action is performed. I have two solutions:

    Do not open the pdf in the current window, but another option and uncheck project continue. This is only available for this type of action:

    Second solution which is valid for all types of actions, not just to open a PDF file is to replace the single action by an advanced standard of action:

    http://blog.lilybiri.com/why-choose-standard-over-simple-action

    Or if you prefer a video: http://www.youtube.com/watch?v=M3nKi-DB6Fw

    Lilybiri

  • change the status of the button in the menu tree

    Well I got a menu tree that contain about 15 and under each about 3 or 4 sub

    the problem is when I press one of the sub it should confer a specific status

    and when I press the button of anthers of anywhere, the 1st button should B initialized as it was

    I did var to devote that I pressed JST

    var num

    subject of the var

    + num1

    -Topic1

    -topic2

    + num2

    -Topic1

    -topic2

    and the code that I put on the buttons

    on (release) {}

    if {(_root.topic <> 2)}

    gotoAndStop (3);

    trace (["topic" + _parent.topic])

    _parent. ["m"+ _parent.num]. ["topic"+ _parent.topic "] .gotoAndStop (1);

    _parent. Num = 1;

    _parent.topic = 1;

    }

    but the ths line of code seems to have this problem

    _parent. ["m"+ _parent.num]. ["topic"+ _parent.topic "] .gotoAndStop (1);

    can someone help?

    thnx

    I can't follow your explanation or what you're trying to do, but that line has errors.  You use no points before the media...

    _parent. ["m"+ _parent.num]. ["topic"+ _parent.topic "] .gotoAndStop (1);

    _parent ["m" + _parent.num] ["topic" + _parent.topic] .gotoAndStop (1);

  • Delete record behavior does not wait for the "submit" button

    I have master / detail pages as a whole.  Of all the detail, there are links to delete or update a record.  When I click the link to delete the folder, it goes to the confirmation page with the correct record.  Now, when I add the behavior delete record server and a button "submit", it is what is happening.  As soon as I click on the link to access the Delete Confirm page, deletes the record and the page redirects to the page that I put in the server behavior.  It does not display the confirmation page and does not wait for me to hit the button confirm.  The page runs and removes the page from the database.

    How can I get to wait until I hit the submit button?

    You must surround your request deletion with an "If" statement seeking a confirmation variable, then when the user clicks the confirmation link, you can pass the necessary variable and the ID of the record that the delete request is pregnant.

    As an alternative, you can use a JS alert fuction to ask if they are sure they want to delete the folder, and then delet allwo runs after confirmation to the user. To do this, you can use code like this...


    onclick = "return ('are you SURE you want to DELETE this record? confirm")">

    --
    Lawrence * Adobe Community Expert *.
    www.Cartweaver.com
    All Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • Strange behavior on the button with immediate delete = true

    Hi, I use JDev11.1.1.2

    I dragged a view object as an editable on the page form. I added the navigation + delete/create the buttons.
    As I see all buttons delete should be immediate = true, because I want the user to be able to delete the current line, despite validation errors (or maybe it's feasible otherwise?)

    But now when I press the button Delete, only readonly fields are updated with the next record in the iterator, but the input fields are not updated (they stay with the values of the row to delete).
    If I disable = true for an inputField value, then it is updated with the value of the following line.
    I tried with partialTriggers on the inputFields for the delete button - but no luck!

    Why I get this behavior different on inputFields and outputText when remove button is immediate = true?
    And how to deal with this problem?

    Thank you!

    http://blogs.Oracle.com/smuenchadf/examples/

    #78 can be pretty close to what you need you get, and it is a concrete example of downloadable. I haven't checked out, but Steve Muench is head of a chef here.

    Also look at the list of other available sites with documented examples of code at the top of this page.

  • change in behavior of the button home and end

    Hello
    I have a problem with the behavior of the home, end, PG. PREC, PG. next and arrow keys. After that I have upgraded to version 6, they do not work as expected.
    I disabled each extension and the behavior is always the same...

    They work as intended in IE8.

    I hope someone has a solution.

    Make sure that NUMLOCK is not engaged, as the keys Home, End, PgUp and PgDn are often superimposed on the numeric keypad. There should be fire of keyboard for Numlock.

    Press F7 to activate the navigation with the keyboard on or off, you want it out. Test after changing.

    To reduce the problems of caret navigation, see

    http://dmcritchie.MVPs.org/Firefox/Firefox-problems.htm#caret
  • Get the status of a Department in a popup by using a radio button

    I have a use case. A page with a button. The user clicks on this button, and then a pop-up window will appear showing the table of departments. The user will choose the desired radio button. After that, the popup closes and the list of employees should appear in the page.

    I wrote a method in the property valuechangeevent of the option button (autosubmit is also set to true), but still I'm not able to get the current line. I need actually value departmentid.

    Can someone guide me?

        public void onClickRadio(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            System.out.println("onClickRadio Begins");
            hidePopup("p1");
            DCBindingContainer bc =
                (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding iter =
                bc.findIteratorBinding("DepartmentsView1Iterator");
            Row row = iter.getCurrentRow();
            Number departmentId = (Number)row.getAttribute("DepartmentId");
            System.out.println("departmentId: " + departmentId);
            OperationBinding method =
                (OperationBinding)bc.get("displayEmployeeTable");
            method.getParamsMap().put("departmentId", departmentId);
            method.execute();
            AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
            System.out.println("onClickRadio Ends");
        }
    JDev 11.1.1.6

    You can try with autoSubmit = true on selectBooleanRadio?
    Also set the group to a text attribute in your selectBooleanRadio.

    Of tagdoc -.

    in all cases, you must set the group attribute.

    http://docs.Oracle.com/CD/E23549_01/apirefs.1111/e12419/tagdoc/af_selectBooleanRadio.html

    Published by: Sudipto detrilles on May 21, 2013 03:52

Maybe you are looking for

  • A message Windows - no disk Exception Processing Message c0000013 parameters 75b6bf9c 4 75b6bf9c

    Hello How to solve the problem of my computer with this message Windows - no disk Exception Processing Message c0000013 parameters 75b6bf9c 4 75b6bf9c. It appears everytimes I start running my computer.After a few minutes work on my pc that these mes

  • screen size changed

    When looking at facebook of the smaller screen size how to make it more great and I have a laptop hpenvy

  • Dose of picture does not fill the whole computer screen

    I tried to solve this problem for a while now. I have a Windows Vista and everything I seem to display on the monitor, does not fill the entire screen more. There are these twoblack bars going down on each side, vertically. The entire vacancies, comp

  • BlackBerry latest os of the q5 Q5 model?

    I just took delivery of a new set of hand Q5 His version of operating system is 10.1.0.23009 Before I seek help with the problems I have is that the most recent version? If not where to download the correct version? Thank you all

  • Smartphones icon missing App World for blackBerry

    Hello After you install OS6 on my Blackberry 9300 the Blackberry App World icon disappeared. App World is installed in the list of applications, but the icon does not appear on the homescreen even after the command show everything. Can anyone help. H