Button with label Unicode

Hi everybody!
I want to creat an applet, and there's one button in it. I want to set its label with some Unicode chars. For example, I want to use Chinese chars as the label for this button. Does anybody can explain me how I can do it?
Thanks in advanced.

You should be able to just set the lable to whatever chinese character you want to use. Just create a string that holds those characters, and call Button's setLabel method.

Similar Messages

  • A button with more than one label... how?

    hi everyone!!
    i have a little problem... i have to create a button with 3 labels... and i've no idea about how... i tried to add labels to button but it's not permitted... plz tell me how to reach a result like this:
                  | label1                                              |
                  |                                                     |
                  |                       label2                        |
                  |                                                     |
                  |                                              label3 |
                  ------------------------------------------------------thx guys!!

    i must change labels often... so i don't think is a good solution to use an image or a piece of html... i'd love to use java simple components...
    thx anyway :)

  • Creating a button with a text label layer

    Hi guys.  Looking for any tips on how best to implement a button with a text label.  I initially created a rectangle object on a lower layer and with text in the upper layer via type tool.  When I group both objects and create the button the text is readable in my InDesign (document) computer screen but the minute I preview it on my iPad the button becomes unreadable and pixellated.  I tried various approaches by moving the text layer outside the button group does not display the text at all.  Has anyone run into this issue?  If so what is the best practice?  Thanks in advance.

    Thanks for the insight Neil.  Regarding my button design its nothing fancy.  Its a rectangle box on one layer and a text label on another layer inside the rectangle object.  What I'm trying to simulate is when the user taps on the button the click state will change colour to notify the user that they have activated an event and in this case a navto://...
    The way I've implemented it is the rectangle is coloured pink [Normal] and when tapped the light pink [Click] toggles between both colours BUT my text label disappears. 
    See the screen shots below.

  • Workflow and problems with labels

    Hello!
    I've been testing out some things in Edge and I've noticed a few things that I've been trying to find some documentation and information about, I would greatly appreciate any enlightenment on the following observations:
    Frame labels do not work for me - both with files created from scratch in Edge and ones made of existing HTML + CSS files. I tried the in app lesson on looping the counter and the 'Play from (loop)' doesn't work, I thought it might have been because of an error in the instructions telling users to play from a frame label that exists at the same point in the timeline where there is a 'stop' trigger but even offsetting the 'loop' label would not work. The final sample file works as intended when previewed.
    I tried a few tests with new files consisting of really basic stuff - one symbol with an 'on-click' > play from (go/start/in/one/etc) and another symbol simply animated on the x and y axis with an animation to the opacity with a stop trigger placed on the timeline and tested with the play from label placed both at the same time as the stop trigger and offset after the trigger - neither works it has no effect when clicked. (I know about what scripts to do on completion to get it to play from the start) Interestingly play from (milliseconds*) *0.125/1001/2000000 etc does work for me but this is not ideal as it is far more useful to be able to play from labels.
    Animating existing HTML - I've got a simple html page set up consisting of a container div with a number of other divs inside which I have been animating in Edge. The Edge file is set up so the container CSS overflow is hidden. Now can someone please clarify if the following method of workflow is a mistake on my part, limitation in HTML+DOM, bugs in edge or combination/none of those things?
    Workflow - bring in the html file to edge do simple animated opacity etc on the various elements start adding keyframes and labels etc - the label problems as above.  Now my intent is to have each of the div's in the container be clicked on and bring in the next one - in the same place in the viewport. I've noticed that when changing various elements visibility after tweaking animation to look good and then subsiquently setting on-off keyframes for visibility it would suddenly cause all elements lower in the DOM to move position and suddenly have what looked like keyframes for y axis position/transform? Is this bad practice to use the on-off visibility for elements? It meant that what should be a really simple and quick 10 second animation took about 3 hours to make, should we be not using the on-off keyframes for showing/hiding buttons that are in divs that sit on top of each other? Should i set up z-index values for all elements in the CSS files? (I saw a reference to you can assign z-index values in the 'elements' panel but I can only see 'arrange' - is this a different term for z-index?)
    I'm a long time user of flash, maya, after effects, digital fusion, combustion, and many other timeline based software tools - it is fairly intuitive to me picking up new systems but the issues with on-off visibility and keyframes below in the timeline really was a very frustrating workflow. I'm used to changing and editing the whole animation on the timeline seeing what works and doesn't - deleting layers, changing timings etc, i found this way of working really slow due to changes to elements position when ones above in the flow were turned on or off. Please do suggest what I should change in my approach to using edge as compared to other animation tools as it looked great on preview but I'm a bit frustrated in using the release. Is this a bug in my release?
    Where is the help and reference files for Edge? - is this screen shot it? -
    I can't find any info on basic definitions of the tools and options anywhere, and can't find much on anything to do with using edge in production with existing HTML documents, please send me some links if you have them. I've seen the edge javascript API thing but is there anything else?
    Cheers.
    Here is the approximate code of the page for reference - I actually got the file working in the end but using 'play from (miliseconds)' instead of play from (label) and much frustration slowly editing the timeline and elements visible/hidden status and redoing animation on elements below in the timeline to get them placed correctly.
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Master Document with base styles</title>
    <link href="css/master_styles.css" rel="stylesheet" type="text/css" />
    <!--<link href="css/ipadV.css" rel="stylesheet" media="only screen and (min-device-width:  768px) and (max-device-width: 1024px) and (orientation: portrait)" />
    <link href="css/ipadH.css" rel="stylesheet" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)" />
    <link href="css/iphoneV.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait)" />
    <link href="css/iphoneH.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape)" /> (Commented out for testing on desktop)-->
    <link rel="stylesheet" media="only screen and (min-width: 320px) and (max-width: 480px)" href="css/mobile.css" />
    <link rel="stylesheet" media="only screen and (min-width: 768px) and (max-width: 1024px)" href="css/tablet.css" />
    <link href="css/desktop.css" rel="stylesheet" media="only screen and (min-width: 1025px) and (max-width: 3000px)" />
    <style type="text/css">
    <!--
    a:visited {
        color: #00FF00;
    a:hover {
        color: #FF0000;
    a:active {
        color: #0033FF;
    -->
    </style>
    </head>
    <body>
    <div id="container">
             <!-- start Level 1-->
                <div id="mainContent">
                    <div id="mainlogo">
                    </div>
                </div>
                <div id="firstButton">
                      <div id="Abutton1">
                      <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                     </div>
                </div>
                <div id="transition1">
                       <p>Wipe transition 1</p>
                </div>
                <div id="secondButton">
                        <div id="Abutton2">
                       <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                       </div>
                </div>
                <div id="secondContent">
                    <div id="Abutton3">
                    <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                    </div>
                <div id="text1">
                      <h1>Heading </h1>
                      <p>Byline</p>
                    </div>
                 </div>
      <div id="transition2">
        <p>Transition 2 - TBC</p>
    </div>
          <div id="thirdContent">
          <div id="lastbutton">
            <p><img src="img/end_icon_crop.png" width="150" height="150" border="0" /></p>
          </div>
          <div id="text2">
            <h1>Heading</h1>
            <p>Byline</p>
          </div>
    </div>
        <div id="transition3">
            <h4>Small print</h4>
    </div>
    </div>
    </body>
    </html>
    CSS:
    (master_styles.css)
    @charset "utf-8";
    body {
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #19171B;
        font-family: AFBattersea;
        font-size: 100%;
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: left;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    #mainContent  {
        z-index: -1;
    #firstButton {
    #transition1 {
        color: #FFF;
    #secondButton {
    #secondContent {
    #transition2 {
        color: #FFF;
        height: 100%;
    #thirdContent {
    #transition3 {
        color: #FFF;
    #mainlogo {
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url(../img/960_off.png);
    #Abutton1 {
    #Abutton2 {
    #Abutton3 {
    #text1 {
    #text2 {
    #lastbutton {
    #text3 {
    (desktop.css) - I've not included the other css files referenced in the media queries as they only contain names of elements for this purpose
    @charset "utf-8";
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: center;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
        height: 700px;
        width: 1024px;
    .mainContent  {
        height: 100%;
    #firstButton {
        height: 100%;
    #transition1 {
        height: 100%;
    #secondButton {
        height: 100%;
    #secondContent {
        height: 100%;
    #transition2 {
        height: 100%;
    #thirdContent {
        height: 100%;
    #transition3 {
        height: 100%;
    #mainlogo {
        background-image: url(../img/960_off.png);
        height: 72px;
        width: 960px;
        margin-top: 364px;
        margin-right: 36px;
        margin-left: 36px;
    #Abutton1 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton2 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton3 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #text1 {
        text-align: left;
        margin-top: 16px;
        margin-left: 320px;
    #text2 {
        text-align: left;
        margin-top: 16px;
        margin-right: 330px;
        margin-left: 360px;
    #text3 {
        text-align: center;
        text-indent: -192px;
        width: 320px;
    #lastbutton {
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
        height: 150px;
        width: 150px;

    Hi,
    I wonder if it's related to the multilingual capability of BPM Object presentations.
    Could you:
    1. right mouse click the project in the Project Navigator tab.
    2. click "Project Preferences"
    3. click "Languages"
    Do you see multiple languages? Is English (or whatever language you're using inside Studio) the default?
    When you log into the WorkSpace, could you double check the language you are using (log in -> click "Settings" in the upper right corner) -> with the "Display" tab selected, is the language you chose as the default in Studio selected?
    I suspect the reason you see some but not all of the labels is because you have defined some of those labels in the language selected in the Workspace. You can add the addtional labels for the various languages you want to support if you:
    1. Open a presentation
    2. Click one of the labels
    3. In the properties tab on the right, click the field beside the "Display" property
    4. Click the button with the "..." on the right side of this field
    Hope this helps,
    Dan

  • Using depth first traversal to add a new node to a tree with labels

    Hello,
    I'm currently trying to work my way through Java and need some advice on using and traversing trees. I've written a basic JTree program, which allows the user to add and delete nodes. Each new node is labelled in a sequential order and not dependent upon where they are added to the tree.
    Basically, what is the best way to add and delete these new nodes with labels that reflect their position in the tree in a depth-first traversal?
    ie: the new node's label will correctly reflect its position in the tree and the other labels will change to reflect this addition of a new node.
    I've searched Google and can't seem to find any appropriate examples for this case.
    My current code is as follows,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    public class BasicTreeAddDelete extends JFrame implements ActionListener
        private JTree tree;
        private DefaultTreeModel treeModel;
        private JButton addButton;
        private JButton deleteButton;
        private int newNodeSuffix = 1;
        public BasicTreeAddDelete() 
            setTitle("Basic Tree with Add and Delete Buttons");
            DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Root");
            treeModel = new DefaultTreeModel(rootNode);
            tree = new JTree(treeModel);
            JScrollPane scrollPane = new JScrollPane(tree);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            JPanel panel = new JPanel();
            addButton = new JButton("Add Node");
            addButton.addActionListener(this);
            panel.add(addButton);
            getContentPane().add(panel, BorderLayout.SOUTH);
            deleteButton = new JButton("Delete Node");
            deleteButton.addActionListener(this);
            panel.add(deleteButton);
            getContentPane().add(panel, BorderLayout.SOUTH);    
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setSize(400, 300);
            setVisible(true);
        public void actionPerformed(ActionEvent event) 
            DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
            if(event.getSource().equals(addButton))
                if (selectedNode != null)
                    // add the new node as a child of a selected node at the end
                    DefaultMutableTreeNode newNode = new DefaultMutableTreeNode("New Node" + newNodeSuffix++);
                      treeModel.insertNodeInto(newNode, selectedNode, selectedNode.getChildCount());
                      //make the node visible by scrolling to it
                    TreeNode[] totalNodes = treeModel.getPathToRoot(newNode);
                    TreePath path = new TreePath(totalNodes);
                    tree.scrollPathToVisible(path);               
            else if(event.getSource().equals(deleteButton))
                //remove the selected node, except the parent node
                removeSelectedNode();           
        public void removeSelectedNode()
            DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
            if (selectedNode != null)
                //get the parent of the selected node
                MutableTreeNode parent = (MutableTreeNode)(selectedNode.getParent());
                // if the parent is not null
                if (parent != null)
                    //remove the node from the parent
                    treeModel.removeNodeFromParent(selectedNode);
        public static void main(String[] arg) 
            BasicTreeAddDelete basicTree = new BasicTreeAddDelete();
    }      Thank you for any help.

    > Has anybody got any advice, help or know of any
    examples for this sort of problem.
    Thank you.
    Check this site: http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JTree.html

  • Is it possible to make a button with multiple paths?

    Hello and good day Everyone
    I want to make a flash game with a map leading to various places for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg
    if the player goes to the school she will find the teacher, and if the player goes to the beach se will find the coach.
    How can I make the player (for example) talks to the teacher at school, returns to the main map, and goes to the beach to talk with the coach, yet if she goes to the school again, the dialogue with the teacher won't be the same with first dialogue?
    =>>> Is it possible to make a button with different paths to go? As if you've watched frame A, then you push the same button again it will take you to frame B??? <<<=
    Sorry for my confusing description... I hope you get the idea >,<
    Im so desperate... I've been searching for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've made some very simple games, but I want to try a new level of difficulty
    Please help me? (>o<

    Thank you for the advice, sir Ned Murphy!
    Yes, I try to use variables now, but face another problem with it... would you please tell me what's wrong with my script?
    Here, in label: "School" I type:
    on (release) {
    if (point = 0){
    gotoAndStop("dialogue1");
    else if (point = 10){
    gotoAndStop("dialogue2");
    else {
    gotoAndStop("dialogue3");
    (it's only a testing, so I only use these 4 labels)
    and in label: "dialogue1", "dialogue2",and "dialogue3" I type:
    on (release) {point += 10;}
    on (release) {
    _root.gotoAndStop("school");
    The result when I test movie:
    1. At "School" (shows point=0), I click the button,
    2. then occurs "dialogue2" (shows point=10), I click the button,
    3. then back at "school" (shows point=20), I click the button,
    4. then occurs "dialogue2" again (shows point=10)
    even the first shot is wrong
    point=0 should be the entrance to "dialogue1", but all I can get is "dialogue2"...
    Please tell me what's wrong with my script, sir Ned Murphy,
    Thank you very  much
    Regards,
    Tami

  • PSD Rollover Button with image in front stops button from changing state

    I have a wide PSD button that changes state when rolled over. I would like to place a PNG image with transparency in some areas over the top of it so that the rollover button shows through the transparent areas of the PNG.
    How can you get it to do the rollover effect when the user mouses over the bit of the button that the image is in front of? Is ther a way of making the PNG 'invisible' to the mouse?
    I know I could redesign the button so that it includes the image but I'm trying to keep file sizes and load times to a minimum, I use this button a lot on my website with a different on each, and having that number of individual buttons would result in a bloated, slow-loading website.

    Hi Abhishek
    Thanks for your reply. I was able to achieve the effect I wanted by having the PNG and the PSD Button with the same link and then grouping them. This means I can mouse over the PNG and still get the PSD rollover effect, which is perfect.
    However I also have another similar problem. I have some different PSD Rollover Buttons which have some text in front of them (basically it's the button label). On some of these buttons when you roll over the text it prevents the rollover state of the button, and on other buttons the rollover effect occurs as it should, and there doesn't appear to be any consistency about which does what. Grouping or ungrouping doesn't appear to make a difference. Can you help?

  • How to hide the fields with labels when page re-rendering

    Hi Gurus,
    Please help me to hide the fields with labels when page is re-rendered.
    I have written a on load : before process also.
    But it is not working
    Thanks in advance
    kavitha L

    Hi jari and Bruce,
    Thanks for your reply. I am sorry that, i am not clear
    I have a javascript like
    function showcase()
       var ctry = document.getElementById('P3_CHANNEL').value;
       if(ctry == 'Affiliate') {
        $x_Hide('P3_PUBLLICATION');
        $x_Hide('P3_PUBLLICATION_label');
        $x_Hide('P3_CIRCULATION');
        $x_Hide('P3_CIRCULATION_label');
        $x_Hide('P3_MEDIA_CPM');
        $x_Hide('P3_MEDIA_CPM_label');
        $x_Hide('P3_RATE_CARD');
        $x_Hide('P3_RATE_CARD_label');
        $x_Hide('P3_DISCOUNT');
        $x_Hide('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Direct Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'E-Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if((ctry == 'Online') || (ctry == 'PPC'))
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Outdoor')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'PR')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Radio')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'TV')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'A')
        { $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
      else if(ctry == 'Print')
       $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
       doSubmit('CREATE');
    function showcase12()
       var ctry = document.getElementById('P3_CHANNEL').value;
       if(ctry == 'Affiliate') {
        $x_Hide('P3_PUBLLICATION');
        $x_Hide('P3_PUBLLICATION_label');
        $x_Hide('P3_CIRCULATION');
        $x_Hide('P3_CIRCULATION_label');
        $x_Hide('P3_MEDIA_CPM');
        $x_Hide('P3_MEDIA_CPM_label');
        $x_Hide('P3_RATE_CARD');
        $x_Hide('P3_RATE_CARD_label');
        $x_Hide('P3_DISCOUNT');
        $x_Hide('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Direct Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'E-Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Event')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Other')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT'); 
    else if((ctry == 'Online') || (ctry == 'PPC'))
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Outdoor')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'PR')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Radio')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'TV')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'A')
        { $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
      else if(ctry == 'Print')
       $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
    }This script i am calling on, onchange() for the select list item P3_CHANNEL and it is working fine.
    But i have a create button and cancel button.
    After filling the details in the required columns, when i click the create button, if any validation errors are there.. the page is re-rendered. while doing that the hidden items are getting displayed back.
    Tried Solutions:
    1. I created a same function once more and in the last added the doSubmit('CREATE') and called the script from the create button.
    At that time the hidden fields labels are getting displayed.
    2. I created a process On load before header To call this script on a condition :REQUEST = 'CREATE'
    Then also fruitless..
    I hope now it is clear....
    Please! Any suggestion are mostly appreciated.
    Thanks in advance
    Kavitha L

  • Multi-line toggle button bar labels?

    I am trying to do a grid of buttons where only one button in a row can be "pressed".  Seems, based on suggestions here as well, the easiest way is one togglebuttonbar per row of a grid.
    Anyway, I need to have taller buttons with a few lines of text in each label (button).  Think of a table where the cells are selectable.
    I found a way to extend a simple button's label to make it multi-line, but not sure on how to do this for a togglebuttonbar:
    package tools
    import flash.text.TextFieldAutoSize;
    import mx.controls.Button;
    import mx.core.mx_internal;
    use namespace mx_internal;
    public class MultilineButton extends Button {
    public function MultilineButton()
    {super();}
    override protected function createChildren():void
    super.createChildren();
    textField.multiline = true;
    textField.wordWrap = true;
    textField.autoSize = TextFieldAutoSize.LEFT;
    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
    super.updateDisplayList(unscaledWidth, unscaledHeight);
    textField.y = (this.height-textField.height)>>1;
    And then I call it with <t:MultilineButton label="four score and seven years ago" width="150" height="150" textAlign="left"/>
    Should I just use this single button in a Repeater?  Or is there a way to work with the togglebuttonbar?

    I tried that, I guess I am doing it wrong since it is still doing centered
    and bold:
    package tools
    import flash.text.*;
    import mx.core.mx_internal;
    use namespace mx_internal;
    public class MultilineToggleButtonBar extends ToggleButtonBar
    public function MultilineToggleButtonBar()
    super();
    override protected function createChildren():void
    super.createChildren();
    textField.multiline = true;
    textField.wordWrap = true;
    textField.autoSize = TextFieldAutoSize.LEFT;
    var format:TextFormat = new TextFormat();
    format.bold = false;
    format.align = "left";
    textField.defaultTextFormat = format;
    override protected function updateDisplayList(unscaledWidth:Number,
    unscaledHeight:Number):void {
    super.updateDisplayList(unscaledWidth, unscaledHeight);
    textField.y = (this.height-textField.height)>>1;

  • Button with Javascript appearance changed.

    Hi,
    I created button with javascript from
    Re: Button and Function
    Everything works fine, But button looks different now
    No appearance of button is there & button label is displayed in orange color.
    Have i missed something or i will never like original.

    I have done some changes suggested by ATD for another thread.
    In your app, through Shared Components, Templates create a new button template based on a copy of an existing one (pick whichever existing template you prefer, the normal Button may be ok). When the new template is created, edit it. You should see something like the following in the "Template" setting:
    a href="#LINK#" class="t12Button" #BUTTON_ATTRIBUTES#>#LABEL#</a
    There may be other HTML around this, but this is the important part as it is the actual button itself. Change this to:
    a href="#" class="t12Button" #BUTTON_ATTRIBUTES#>#LABEL#</a
    Now, on your button on the page, change it to use your new button template. In the Button Attributes setting, add in:
    onclick="javascript:checkText();"
    everything works fine except appearance of button.
    Edited by: TEJU on Jun 4, 2009 10:21 AM
    Edited by: TEJU on Jun 4, 2009 10:22 AM
    Edited by: TEJU on Jun 4, 2009 10:24 AM

  • Aligning a button's label

    Hi,
    I'm struggling around with getting a button's label aligned
    to the left or right side. What I did was dropping a button
    component to the stage, removed it and added the following script
    on the timeline:
    import fl.controls.Button;
    var myButton:Button = new Button();
    myButton.label = "Hello World!";
    myButton.setSize( 300, 50 );
    myButton.setStyle( "textAlign", "left" );
    addChild( myButton );
    Whatever I tried, the label is always centered (also with
    TextFormat, TextFormatAlign etc, etc.)
    I'm just using Flash CS3 IDE, so no Flex. I saw it working
    somewhere on the net scripted with MXML.
    So my question is: Is this doable without the use of Flex and
    are there some limitations regarding Flash CS3 components?

    Check out this example page for Tutorials:
    http://www.adobe.com/devnet/flash/quickstart/button_component_as3/#section7
    You might have to fake it if you wish to use the Pre-Built
    Button Component by putting in space characters as in " Hello
    World!" or a transparent element to offset the text like a graphic
    or alpha 0 shape. The component is set to scale-9 and auto-center.
    - Also might try to alter the autoSize = TextFieldAutoSize.CENTER
    to LEFT to see if resets the starting x position of the component's
    text-field.

  • How to add a JPanel with label and border line

    hi,
    I want a Jpanel with label and border line like this.Inside it i need to have components.Is there a resuable component to bring this directly??
    Any solution in this regards.???
    Label-----------------------------------------------------------
    | |
    | |
    | |
    | |
    | |
    |________________________________________ |

    [url http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html]How to Use Borders

  • How to differentiate between Radio Buttons with the same name?

    My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
    Now, I would like to use JavaScript to retrieve the value of one the two fields:
    var checkMark = this.getField("Radio Button1.0");
    if (checkMark.value == "Yes") {
    Questions:
    What is the proper way to inspect the value of a Radio Button? I have tried this:
    if (checkMark.value == "No") [...]
    but it doesn't seem to work.
    How can I tell apart 2 radio buttons with the same name?
    TIA,
    -RFH

    When Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
    nWidget:
    The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
    Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
    Returns
    true if the specified widget is currently checked, false otherwise.
    Example
    var f = this.getField("ChkBox");
    if(f.isBoxChecked(0))
    app.alert("The Box is Checked");
    else
    app.alert("The Box is not Checked");

  • How to add a button with Javascript to Library

    Hi
    I am using Captivate 5.5 to create a template.
    In the files which will be created using this template, we will be adding a button which executes a Javascript. Now, my question is, since this button will be used on multiple slides in the file, can I add this button (with the Javascript) to the library? Currently, we create it manually everytime.
    We don't have a programmer in our team, so we can't create widget. Is there an alternative way?
    Thanks for your help.
    Sreekanth

    Thanks for that reply.
    I now have a blank slide with the button (including the javascript) on it which solves the problem of importing it manually.
    However, when we use this template to import PowerPoint presentations, when we publish the file, the first slide (the one on which I have this button) will be blank and has to be manually deleted.
    Is there a way to eliminate this manual work? I tried hiding and using some actions. But it was not of any use.

  • How can i create a button with a dynamic picture?

    How can i create a button with a dynamic picture using
    mcLoader.loadClip
    I did create one with it doesnt seem to be working. It loses
    all its
    functions (eg onPress onRelease)
    Thanks

    I solved thep roblem anyway creating a mc.. then creating
    another MC withing
    the first MC and i change the picture on the second MC. And i
    apply the
    propierities to the first MC , and works
    If i have troubles with mu sistem on the future I will use
    yours!
    Thanks!
    "the fleece" <[email protected]>
    escribi� en el mensaje
    news:e67i88$jlf$[email protected]..
    > the image loading will remove any properties or
    functions the mc had.
    >
    > you need to apply them in the onLoadInit function
    >
    > mclListener.onLoadInit = function(target_mc:MovieClip) {
    > target_mc.onRollOver=blah blah
    > };
    > var image_mcl:MovieClipLoader = new MovieClipLoader();
    > image_mcl.addListener(mclListener);
    > image_mcl.loadClip(blah, blahblah);
    >
    >

Maybe you are looking for

  • How do I convert my purchaced iTunes TV shows to MP4?

    I purchased a series on iTunes. I Want to put them on my external hard drive which only supports mp4. How can I convet them on my PC?

  • Podcasts and syncing with iTunes 6.0

    So I just hooked up my iPod with iTunes 6.0 for the first time. After changing the drive letter (don't know why I needed to do that), it seemed to sync fine. Except that it started uploading 188 old podcasts that I've played (Parts of audiobooks). Th

  • Financial Reporting 9.3.1 error with related content

    Hi All, I need some help with the below issue please: We are on 9.3.1. We have a financial reporting report which contains related content that opens up in a new window and pulls an Interactive Reporting bqy. The data in the related content report is

  • Billed for an app I didn't download - does this happen a lot?

    Hi I just got an email invoice stating I'd been billed for an app called iconize. I never heard of it and never downloaded it. It's not a huge amount of money but it is still stealing in my oppinion. I checked out the app and it looks well dodgy. The

  • Quick Parts from Word 2010 not available in Outlook 2010?

    Kinda feel daft asking this... If I type a Autotext (Quick Part) in Word 2010 it doesn't seem to be available in Outlook 2010 and vice versa.  Each program seems to be using it's own default template.  Saving it to Building Blocks.dotx also makes no