Background color of TextArea

Hey, for some reason, it doesn't allow me to change the background color of my text box.  I create everything in as3, so I'm not using any component.  I create the text box, and then I try things like

myTextArea.style("color", 0x000000);
myTextArea.style("backgroundColor", 0x000000);

Nothing seems to work.  It is done differently with a text box?

See you soon

Nick

Try...

myTextArea.textField.background = true;

myTextArea.textField.backgroundColor = 0 x 000000;

Tags: Adobe Animate

Similar Questions

  • Setting the background color of a TextArea

    I was not able to set the background color of a text box. Here's what I try and it works for the other components.

    ****************************************************************

    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.control.TextArea;
    
    public class TextAreaTest extends Application{
      public void start(Stage stage){
        TextArea area = new TextArea();
        area.setStyle("-fx-background-color: black; -fx-text-fill: lightgreen;");
        Scene s = new Scene(area);
        stage.setTitle("black text area");
        stage.setScene(s);
        stage.show();
      }
      public static void main(String[] args){
        launch(args);
      }
    
    }
    

    ***************************************************************

    I use jdk 8 with whatever version javafx is included. I searched a bit on the internet and I think I see mixed results using this technique.

    Thank you.

    In an external css file, do

    .text-area .content {
       -fx-background-color: black ;
    }
    
  • Flash CS5 how do a background color change component TextArea

    I'm trying to change the background color of a TextArea component.  Does anyone know how to do this?

    function processXML(e:Event):void {}
    var strTextBox:String;
    myText.visible = true;
    myText.setStyle ("contentBackgroundColor", 0x000000);  Fact does not work... not myText.setStyle("backgroundColor",0x000000);
    myXML = new XML (e.target.data);
    strTextBox = "< a href =" "" + myXML.Branch [0] .linkURL + ' "> more info... < /a >". "
    myText.htmlText = strTextBox;
    }

    Try:

    function processXML(e:Event):void {}
    var strTextBox:String;
    myText.visible = true;
    myText.textField.background = true;

    myText.textField.backgroundColor = 0 x 000000;

    myXML = new XML (e.target.data);
    strTextBox = ' more info...';
    myText.htmlText = strTextBox;
    }

  • Make background color READONLY element using css

    Dear all,
    It is a particular customization, I need to do. My requirment is to change the background color of the items when these items are set to read-only mode.

    So if this element is normal then any chamges and when the point set read only then background color should change.

    I think it is possible with css. But when I check the existing css files in theme2 I couldn't find something that.

    Help or advice very regarsds.

    Thank you

    Published by: Alex March 28, 2011 09:11

    OK, the selector with an attribute for XHTML unminimized attributes value does not work when the attributes are defined using DOM methods. As the presence of the attribute that is important rather than its value, an attribute value selector is sufficient:

    input[readonly] {
      background-color: #ccc;
    }
    

    Depending on your needs, you can add a switch to reading only as well s textareaand perhaps restrict the input- selector function to text elements to avoid the weird search boxes etc.:

    input[type="text"][readonly],
    textarea[readonly] {
      background-color: #ccc;
    }
    
  • How to change the background color of the Textinput in flex4

    Hi friends

    Let me know if there is a property in the class textinput that change its background color from white to another thing.

    I use flex4(flash_builder_4).in flex 3, there is a backgroundColor property which sets its color but in flex 4, there is no everything well so don't let me know all substitute property for this.



    Thanks and greetings

    Vineet Osho

    I don't know which is the problem, but you set a skin for TextInput and used for a TextArea component...

  • When I turn on my iPhone 6 screen shows only the background color, the icon usage and the reception icon.

    When I turn on my iPhone 6 screen shows only the background color, the icon usage and the reception icon.

    The iPhone's battery is fully charged?  Otherwise, load it, and then try again.

    If it is busy, go in recovery mode as explained here.  You may need to try to get into the mode of recovery once more to succeed.

    If you are unable to update or restore your iPhone, iPad or iPod touch - Apple supports

  • Change background color of page newtab to black.

    I can't change the background color of my page newtab to something other than white that it is today. Navigation in a dark room is extremely blinding, when opening the newtab page. In the past, I modified my file userContent.css with the following (among others):

    @-moz - document url("about:newtab")
    {

    #newtab-scrollbox{background-color:#000000!important;}
    #newtab-window{background-color:#000000!important;}
    

    }

    He has always worked and got the results I want, but given that I have updated to Firefox 42.0 this morning it doesn't seem to work. My background color of the newtab is white broken and is much too bright for my taste.

    I have a strong preference NOT to install additional modules to do this, as it should be easy to do from the userContent.css file. Don't know why my code doesn't work anymore...

    If I take the following in userContent.css, * {background-color: #000000;}, she to obvious effect to all black, including the newtab cell background. This tells me I can put a background, I just need the proper syntax.

    OS: Windows 8.1
    Firefox Version: 42.0

    Thank you!

    Hi, can just try you with the following? :

    @-moz-document url("about:newtab") {
    body{background-color:#000000!important;}
    }
    
  • Just upgraded to 42.0 Firefox and background color setting doesn't work anymore - an empty window is always white.

    I just upgraded to Firefox 42.0 and, unlike previous versions, the setting of background color in 'Content' no longer works. In the settings page, the indicator 'Background colour' changes the color I choose (not white) in the choice of color theme, but each time I open an empty window background color is always white. Then, when I return to the Setup page to verify that the indicator still shows the color that I chose. And I have check the box 'Use the system color' or not there are tick, the result remains the same: the background color of an empty window is always white.

    It is a problem I've never met before. I would like to know why.

    Thanks for any help.

    You can make only one rule:

    @-moz-document url(about:blank), url(about:newtab){ html,body {background-color: #ccc !important } }
  • How can I change the background color of the sidebar bookmarks?

    Grayish brown (I think) background color does not work for me. I'm a little color blind and the cursor to highlight the selected tab is not enough for me to easily see contrast. I found how to change all kinds of colors in FF, but not the background color of the bookmarks bar. I would like to change the background may be blank.

    I have it! My eyes thank you very much for your help!

  • Alternate the background color on and off the toolbar

    Hello

    I have a request. I use Firefox regularly and change the background color in the "content" of the preferences section is easier on my eyes. However, on some sites I would like to disable this function, but I have to go to the preferences it off and then turn it back on once I have leave the site.

    Is it possible for you to make a button that can enable this setting and disable the toolbar? That way if I need to see pictures on a site I can click on the button and then click again to turn it off.

    Kind Regards,
    Bobby
    

    See if this extension - https://addons.mozilla.org/en-US/firefox/addon/toolbar-buttons/ - has the functionality you need.
    Support forum for this extension is here - in case you need to do a custom for your function button:
    https://codefisher.org/Forum/2/

  • background color of slide

    Is it possible to change the background color of slide when using the model 'white '?

    Inspector > Format > then click the bottom dropdown and select the color fill, then click on the color wheel to choose a color. You can also use a color gradient or an image instead of a single color.

  • Background color of bookmarks

    I got the stylish Addon for FF and managed on the base to get the color to the bars, I like but the current bookmark menu back color I can't change the background and the color of the gray menu bar is only correct color of #333333 when it blurry

    I musty red picture with cirle around the areas I want to change the color, I know it is possible that I was using LavaFoxV2 in the years of the reasons he brand the black box, but I want to use the default schema of FF I want just the area I marked in red to be darker.

    #navigator-toolbox {
      background-color: #333333 !important;
    }
    
    .menubar-text,
    #toolbar-menubar .toolbarbutton-text,
    .tabbrowser-tab .tab-label {
      color: #333333 !important
    }

    This is the code I use to get the colors above in the menu bar

    This should cover each of them:

    #menubar-items menu menupopup * {
      background-color: #DDDDDD !important;
      color: #333333 !important;
    }
  • Can not change the background color of the rose.

    Recently, I installed Thunderbird and tried some of the controls when I did. Now, it seems that my default background color is pink. (#ffcccc) I can change it to one of the 70 standard colors for mails that I write during a session. When I close the screen of Scripture and reopen it, it comes back with the wire pink. It shows no pink on my screen but when I send it to someone else it's pink. How can I change this back to white so that it will stay like this? As I understand it, it's the normal way works only until I close the screen of Scripture.

    You have under Tools(or AppMenu/Options), Options, Composition, general in the HTML section?

  • Background color photos

    How can I change the background color in the Photos in a similar way to the 'Appearance' tab in the iPhoto preferences panel?

    You can not - you can suggest a change to the Apple - http://www.apple.com/feedback/photos.html

    LN

  • How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    You can add a theme of solid color to change the color of the top of the browser window, which contains the Menu bar.

    https://addons.Mozilla.org/en-us/Firefox/themes/solid

Maybe you are looking for

  • Sinds some dagen niet meer gmail works?

    IK kan op geen some handle in mijn g-mail account! Of text below is treat als foutmelding Of page verwijst door een public handle the niet opFirefox has is dat het eten voor said adres doorverwijst op een Server handle die nooit zal eindigen.Says cle

  • Change Vista of french language to English on a Satellite X 200

    You just bought a Satellite X 200 in France, of course installed with a french version of vista Home premium, no way to change the language to English?I have access to another laptop with vista in English, perhaps a simple exchange of files?

  • How to get the results of the UK instead of the default USA?

    I live in the United Kingdom and would like to be able to search for UK results. for example, Amazon UK results when I search a product, etc.with the option of a search in the world so I don't get the results I want

  • Amazon Video and music on Apple TV Amazon 4th Gen

    Anyone can confirm, from mid-December 2015, if the new 4th gen Apple TV includes Amazon Video or music Amazon on the app store for Apple TV? I'm not talking about AirPlay either, I wonder about the possibility to download the Amazon to Apple TV app,

  • Reinstall the original windows vista software.

    If I reinstall my original installation cd in my laptop (dell) can I even support? I do this reinstall because I want a clean install to clean my hardrive. Thank you and more power. Arnel