Display and hide text

Hello

I have the button (csignal_btn and endsignal_btn) and I have a dynamic text (csignal_txt and endsignal_txt). Now, how can I when is unhovered to be without text (alpha = 0), and proceed when csignal_btn to show csignal_txt (alpha = 1)? Same for endsignal_btn.

Thank you

use:

var btnA:Array = [csignal_btn, endsignal_btn];

for (var i: int = 0; i<>

btnA [i] .addEventListener (MouseEvent.MOUSE_OVER, btnF);

btnA [i] .addEventListener (MouseEvent.MOUSE_OUT, btnF);

btnA [i] .dispatchEvent (MouseEvent (MouseEvent.MOUSE_OUT)) of new;

}

function btnF(e:MouseEvent):void {}

var prefixS:String = e.currentTarget.name.split ("_") [0];

{if (e.type.IndexOf ("Over") >-1)}

This [prefixS + '_txt'] .visible = true;

} else {}

This [prefixS + '_txt'] .visible = false;

}

};

p.s. Please check the useful/correct

Tags: Adobe Animate

Similar Questions

  • Help to display and hide subforms

    I saw the other discussions on this issue and I even downloaded a few examples, but I can't seem to make my form to work with the display and hide subforms. It seems I'm missing something very basic, but I don't know what it is. I worked on it for a few days and now it's time to see if someone can help me with this problem.

    I have a form that contains a subform in it called SendAmt900. I want the subform to hide when the form is called. If someone clicks the check box send amount more than $900, it should show the SendAmt900 subform. I enclose my form and I hope someone can help me with this.

    Hello

    "" "You're almost there. '" The only step is to save the form as XML dynamic. Once you have that does this will work OK.

    You can change the backup script changes preferably in the file / form properties / defaults auto manual.

    Good luck

    Niall

  • Conditionally display and hide the input text

    JDev 11.1.1.5.0

    I have two texts of the PROFILE and the SCORE entry.

    SCORE is displayed only if my PROFILE is E or F.

    And if it must be hidden once the value of the PROFILE is replaced by another value.

    In addition, please note SCORE field should be mandatory if the PROFILE is E or F.

    Here is the code I tried so far:

    < af:inputText value = "#{bindings." Profile.inputValue}.

    label = "#{resources." Profile} ".

    required = "true".

    columns = "#{bindings." Profile.hints.displayWidth}.

    maximumLength = '1 '.

    shortDesc = "#{bindings." Profile.hints.ToolTip}.

    ID = "it94" autoSubmit = "true" >

    < f: validator binding = "#{bindings." PsamProfile.validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Score.inputValue}.

    label = "#{resources.score} '"

    required = "#{bindings." Profile.inputValue is 'E' or links. Profile.inputValue == 'F'} '.

    columns = "#{bindings." Score.hints.displayWidth}.

    maximumLength = "#{bindings." Score.hints.Precision}.

    shortDesc = "#{bindings." Score.hints.ToolTip}.

    ID = "it164".

    visible = "#{bindings." Profile.inputValue is 'E' or links. Profile.inputValue == 'F'} '.

    partialTriggers = "it94.

    contentStyle = "" text-align: left; ""

    autoSubmit = "true" >

    < f: validator binding = "#{bindings." Score.Validator} "/ >"

    < af:convertNumber groupingUsed = "false".

    model = ' #{bindings. " Score.format} "/ >"

    < / af:inputText >


    I tried to use a component parent and using rendering attribute for the NOTE field as explained in https://blogs.oracle.com/Didier/entry/only_rendered_adf_faces_compon, but it did not always help.

    Ah, OK, in that case you ave to use the showRequired instead of the required property and validate the score field once you submit the data or in the model.

    You can't have both. Once the message appears you have erase as you otherwise cannot continue to work. Showrequired shows the * before the label but does not check.

    Timo

  • Cannot preview filetype please download the file for display and garbled text on an uploaded image

    Dear Madam or Sir,

    When I click on a file titled 'Subject access request letter re account 12527629 Sort Code 60-10-34 24022015.pdf number', which is stored in my account on Acrobat.com, I get the response "cannot get a filetype overview please download the file for display. This file was created from a document in OpenOffice .odt the same title. Please notify.

    I downloaded an image, which is supposed to be a .pdf file, since the installation of web of Royal Mail Track & Trace using my Samsung S5. The text that I expect to see might as well be hieroglyphics for all its resemblance to the text. Please notify.

    Kind regards

    Ron Platt

    PS I tried to join the two files (.pdf) but informs me that "image type is not allowed. Please notify.

    Hi Ron,

    In your efforts, you mention in step #6 you save the file as a PDF secure. Applied security files cannot be previewed to the customer, that's why you get the message "cannot preview filetype please download the file for display. This message preview complete and preview the hover. After downloading the file, you should be able to access it without error (within the limits of the guarantee applied).

    The hover behavior you report is expected. If you hover over a file name, you will see "hover" noticed after a few seconds, that will get you a small preview of the file (rather than having to open it in the overview). If poster only if you hover over a name of file, not in the empty area of each line, so that you have not seen continually arise.

    Hope this helps,

    Laura

  • In Gmail, only the title of a message is displayed and the text itself to mail is missing, this field is empty

    My Gmail account opens normally, and Inbox shows as usual. But, when I open the individual letters, where should be the text of the e-mail is empty, nothing is to bee seen except a few Google paid advetisments. And this applies to all of my mail. In the Explorer, everything is ok, I can read all my mail. Need help please, I prefer Firefox!

    Can be caused by a filter to Adblock Plus.

  • Illustrator CC 2014 - Script to show and hide sublayers of name before exporting

    Hello

    I'm looking for a way hide and sublayers by name in Illustrator CC 2014 so that I can export each image as an action. I currently have an action for export, but I am unable to display and hide sublayers of name before as I have the export unless I do it manually.

    show and hide sublayers.png

    Step #1: Sublayer "gray 1', the visible value.

    Step #2: Export image.

    Step #3: Primer 'Grey 1' set to hidden.

    Step #4: Primer 'Gery 2' the visible value.

    Step #5: Export image.

    Step #6: sublayer 'Gray 2' set to hidden.

    Etc...

    Can I use a script or is there another way I can do this automatically without having to manually select each sublayer, and then export?

    its not easy at first, but once you get the hang of it, it is not difficult

    in a Word

    -create a variable of visibility for each object that must be changed, or get hidden at some point, 1 grey, grey 2, etc.

    -Gray cover 2, 3 grey, grey 4

    -make a set of data

    -Hide grey 1, gray unhide 2

    -make a set of data

    -Hide gray 2, gray unhide 3

    -make a set of data

    -Hide 3 gray, unhide Grey4

    -make a set of data

    then navigate with the arrows to view each set

  • Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Hello

    Also try a Ctrl + F5 refresh. This allows to bring the content of the page again.

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • I am a beginner using Muse. Google shows all pages menu in the search results and all texts on these pages. How to just display the home page?

    I am a beginner using Muse. Google shows all pages menu in the search results and all texts on these pages. How to just display the home page?

    Thank you. I thought I created my Muse wrong site.

  • Displays a Logo and a text

    Hi all

    Can someone tell me how can I display the Logo and text in my application?

    I need my logo to display on the top-left corner and my text that will be displayed in white with font big and fat at the top in the center of my page.

    Kindly help me Experts...

    Thank you and best regards,

    Madonna

    Madonna says:

    Is it possible to have my logo and the text in the user interface settings?

    Thank you and best regards,

    Madonna

    Select the Type of Logo, textand try this in the property of Logo (change the img src URL to reference your logo image and 'Text' to any text you need):

    LogoText

    Cannot test in Firefox right now, but it works in Chrome.

    However, note that an image of this size (assuming that 78 * 118 is width × height) then the page header in the 20 theme to exceed the size of the background image that gets tiled in a messy way. You could also hit problems if your application uses the region 6, 7 and 8 positions. That's why an example on apex.oracle.com exactly reproduce your installation is recommended in these cases.

  • Parameter of blackBerry Smartphones in order to display the VM and the text of the email

    How can I configure my phone for my VM and the text appear under the icon of my email?  My old man

    BB has been able to do this, but I can't understand the setting for this one.  Help, please.  Thank you.

    Deepen your Meesage Options combine, the Inbox settings, menu, Options, e-mail.

  • How to turn off bold/italic/underlined in displayed as plain text HTML mail?

    Hello!

    I use Thunderbird on a workplace where HTML mail is fairly regular, but I
    prefer to hide all the HTML formatting and display as plain text, which can
    be easily done by choosing View > Message body as > plain text, but it seems
    to convert the original HTML formatting to this simple text formatting,
    which means that surround it in * for "BOLD", _ to highlight, and / for italics, which
    I find it embarrassing, because often, it makes the message more difficult to read, for example
    inserts many formatting consecutively: "* reason for the software.
    "Replacement * decision: *", sometimes inside words and generally done more
    harm than good. It also breaks URL, because they are displayed like this:
    '_ https://google.com _' and back treated Thunderbird pointed out in
    URL, so the links are incorrect.

    Can this formatting everything be placed when displaying HTML in plain text?

    I wrote the question, I found my answer in register configuration of Thunderbird, but I decided to publish it anyway, as I've found that asking one elsewhere. The solution is to go to Preferences > advanced > Config Editor and the option 'converter.html2txt.structs' set to false.

  • Help with conditional display and Validation

    Version 4.1.1.00.23

    Hello

    I'm having a difficult time with a conditional display and validation, I hope someone can help with.

    Requirements:

    When (Datepicker) Start Date or the end Date (Datepicker) change can display the reason for change (select list) and change Description (Textbox)
    If the page is saved without entering a reason change display an error message of validation that the reason for the change cannot be empty (NULL)

    What I tried

    Create a dynamic Action on the Start Date

    Event: Change

    Selection type: Article (s)

    Items (s): P51_START_DATE

    Condition: no

    Real Action Section:

    Action: Show

    Fire on Page load: Checked

    Display all the elements of the page on the same line: NO.

    Section of the elements concerned:

    Selection type: Article (s)

    Product (s): P51_CHANGE_REASON, P51_CHANGE_DESC

    I also created a dynamic Action with similar settings for the P51_END_DATE.

    I created a Validation for the P51_CHANGE_REASON as a function return error text:

    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    
    
    

    The question

    I tried to create another dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields during the loading of the page, but when the date fields are changed and the validation is fired the P51_CHANGE_REASON and the P51_CHANGE_DESC are hidden again.

    There are two buttons to send the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will present the page and creates a branch to the previous page (which is a relationship with the EDIT buttons to change recording).

    I can not loading the dynamic Action page for fires DO NOT when validation is triggered.

    I hope it is clear and if not what information can I provide?

    Thank you

    Joe

    Which the condition is failing and what browser? I tested it in Firefox and it works as it should. Can you confirm that?

  • Copy of a slide with a 'model' for the buttons to show and hide across multiple slides

    Here's my problem... I'm going through many different products that each have a similar style click on each slide.  The user can choose from 5 different catergories, when you click on one of the 5 buttons it shows the appropriate text box and hides one of the other visible text that can be opened from clicking on any other category.  When all the 5 keys were pressed game re bar appears allowing the user to continue.  It works just like a champion on a slide.  Here's my problem, although I need to duplicate this slide about 200 times.  When I duplicate, the name of the element in the text boxes so any change so my actions advanced making hide / display is no longer working.  Do I really have to create a new tip action for each text box for each slide with a unique name for the element? (I know that I can't have the same text on several slides box item name... at least I don't think I can).  I can do this, but there must be a quicker way?  What Miss me?

    I am using Captivate 5.5

    Very brilliant way to beat the system, I am impressed.  A problem, however, the text box must have a gray background to make the text readable, and for some reason when the variable positions within the text are it is overlooking the sid on the left of the box by a character.  Everything else seems to fit but not that. See slide below and the "Drytime" box to the right illustrates my problem.

  • Show and hide some fields against a number

    I have a form for number of dependants and their insertion of names. A user can insert maximum 5 number of dependents, so total I have 6 fields, for the insertion of several dependends and 5 others to insert their names,

    I want to hide all five fields of dependents in the form, and if the user makes any number less then 6 then filleds should be visible depending on the number the user will be in put.

    I tried but I get no success, I used a dynamic insertion for if the user enters 2 or 3, but it does not work. I used two action individually for 2 and 3. but without success.

    Need advice on this.


    Thanks in advance

    Concerning

    Mazahir Abbas

    Hello

    You can show/hide elements based on the value entered in a number of ways.

    Here is an example: http://apex.oracle.com/pls/otn/f?p=12983:9

    Who uses dynamic Actions. That the user changes the value of 'Count', individual text fields are shown/hidden depending on the value selection. In this example, there are five dynamic Actions on the page - one for each of the possible values and related items.

    Each action has the following parameters:

    Event: change
    Selection type: item (s)
    Article (s): P9_COUNT (which is the selection list)
    Condition: greater than or equal to
    Value: * 1 * (for the first article of dynamic Action, then 2, 3, 4 and 5 for the other)

    Real Action: show
    Fire on the page loading: true
    Selection type: item (s)
    Article (s): P9_ITEM1 (for the first point of dynamic Action, P9_ITEM2 etc for the others)

    Action of false: hide

    Fire on the page loading: true
    Selection type: item (s)
    Article (s): P9_ITEM1 (for the first point of dynamic Action, P9_ITEM2 etc for the others)

    When a Count is selected, all dynamic Actions will trigger - each will control the display of the text elements. If the selection is 3, the first three dynamic Actions will show the first three text elements and the last two actions allows you to hide the text elements.

    Andy

Maybe you are looking for