AS2 TextInput Background Color - Issues when trying to change dynamically

Hello,
I'm having issues changing a TextInput background color after the initial onLoad using AS2.
On load, I have no issues setting the background color with this code:
Code:
onClipEvent (load) {
    this.background = true;
    this.backgroundColor = 0x1E1C1C;
However, I have a form validator run when focus is lost but yet I cannot set the background color at that point. For example, I'm trying to set the background color to orange and text to white if the field's contents are invalid. Even something simple like this doesn't affect the colors.
Code:
on (focusOut) {
        this.backgroundColor = 0xFAA523;
        this.borderColor = 0xFAA523;
        this.borderStyle = "solid";
        this.color = 0xFFFFFF;
        this.text = 'Enter your first name';
All code is in actions for the TextInput itself.
Anyone know what I'm doing wrong?
Thanks in advance!

Actually, that's not the solution. You need to use setStyle to access the backgroundColor property when the TextInput is already generated.
This worked for me:
this.setStyle("backgroundColor",0x1E1C1C);

Similar Messages

  • UoM ST (description PCE): issue when trying to change description

    Hello,
    I have got an issue when I change the description of UoM ST : I change the description in lower case : Pce
    But de change is not taken into account.
    Please help.
    thanks,
    Lina

    You need to change the description in the "Measurement Unit text" fields of the UOM ST.  Then define an ISO code for ST.
    Regards,
    Jagadish

  • Error when trying to change scheduling agreement

    Hi gurus,
    I have created a scheduling agreement via me31l and all is ok.
    I'm finding an issue when trying to change the agreement via me32l.
    If i add a new item and save, all seems ok, but the new item is note created and the below error is raises (sm13):
    Function Module: RV_KONDITION_SICHERN_V13A
    Status: Update was terminated
    Report: LV13AU02
    Row: 209
    Error details: Class: VK - Number: 211
    VK 211: UPDATE error Table KONM. Return code 4
    The curious thing is that if we add an item with the same material, the error is not raised and the scheduling agreement is properly updated.
    Could you suggest me how to solve this issue?
    Thanks in advance,
    Valentino

    Hi RAVI,
    the issue was solved with the maintenance of material inforecord. There was only one price condition mainteined with the flag "scales"... We have removed the flag from the interested material, then it has been possible to change and create scheduling agreements.
    Thanks & Regards,
    Valentino

  • My Faces t:panelTabbedPane Background Color Issue.

    Hi
    I am using the <t:panelTabbedPane> and <t:panelTab>. I am trying to applying below mentioned CSS for the background color for tabs.
    .tabpanel{position:absolute; cursor:hand; font-weight: bold; text-align: center; border: 1px;
    border-color:#ffffff; border-style:outset; background-color:#E8F1EB; border-bottom-style:none;
    margin:0px;}
    And i am using the styleClass in t:panelTab and using activeTabStyleClass and activeSubStyleClass but it is not effecting.
    Any help would be appreciated
    Thanks in advace.
    Satish Cheedalla.

    what do u mean change JApplet background color?
    when I created the GUI I've put this command :
    frame.getContentPane().setBackground(Color.BLACK);I've made all my panels opaque(false) and now in the AppletViewer everithings the same(black), and in webpage, everithing is gray(the default color).

  • How can i solve the contact itunes support issue when trying to make in app purchases

    how can i solve the "please contact itunes support" issue when trying to make in app purchases? my account has available credit from a gift card

    Click here and request assistance.
    (69559)

  • Is anyone else having Config error 16 issue when trying to start PSE 12 or Premier Elements after Mac upgrade to Yosemite 10.10 on iMac

    Is anyone else having Config error 16 issue when trying to start PSE 12 or Premier Elements 12 after the Mac upgrade to OS X Yosemite 10.10 on iMac. I have had a number of issues with software and things after upgrading to OS X Yosemite 10.10 and even 10.10.1.  I have uninstalled and reinstalled both PSE 12 and Premier Elements 12 a number of times and everything goes fine until its ready to launch and then you get an error message. Numerous uninstalled and reinstalls don't removing the problem.  Strangely enough  PSE 11 still appears to boot up and I never owned Premier Elements 11 so I don't know if it will start. I thought with Apple dropping its Apeture software and greater integration of iPhoto and Apeture files into Lightroom 5.7 all would be harmonious between these two players. Im not sure where Adobe wants us to go it recently removed the plugin to allow you to update files from LR to Adobe Revel, whats up with that. I now own two version of Adobe software that no longer work with my Mac and now way of uploading pictures from Lightroom to Revel. Needless to say I am pretty reluctant to sign on to a subscription of Creative Cloud with long term financial obligations when I can't even get my current Adobe software to work independently much less integrate with Lightroom. Frustrated with it all!

    Get rid of 'put disks to sleep when possible' and you may see a dramatic improvement (not necessarily a cure).
    That specific problem is a multiple-Processor (including graphics processor) problem, where one of the processors lost track of whether it should be responding to interrupts. You may have a Hardware problem.

  • Issue when trying to upgrade FB 4.7 to AIRDSK 3.6

    Hi,
    I'm desperately trying to upgrade FB 4.7 to AIRSDK 3.6 since 3 weeks.
    I've followed the various solutions found on forums and the various processes displayed by the "helpx.adobe.com" pages, but none of them works.
    So please, if a member of Adobe Support Team or someone who succeeded to perform the upgrade reads this, I need help and if possible a detailed strp by step process.
    Thks in advance for answers.

    I think i tried all the available ones, and there are many. Why can't we
    have a definitive automatic upgrade solution instead of having to do
    such a number of manipulations ?
    Le 14/03/2013 04:41, Flex harUI a écrit :
    >
          Re: Issue when trying to upgrade FB 4.7 to AIRDSK 3.6
    created by Flex harUI <http://forums.adobe.com/people/Flex+harUI> in
    /Flex/ - View the full discussion
    <http://forums.adobe.com/message/5146932#5146932

  • Billing issues when trying to download an app

    Hey I'm having a lot of issues when trying to download any type of app all of a sudden is asking me to update my billing information and when  I enter it, is giving me the "invalid security (cvv) error" and im verifying all my info name, address, everything and is still not letting me save it and/or download any app...

    Hi CriselRivera
    as of now I don't the iTunes store accept the Debit card or a pre-payed card as a payment method, you will really have to find out another type of card  which should be a Credit Card.
    reference: http://support.apple.com/kb/HT2001
    go on the section "Accepted payment types"
    regards!

  • Lr 2.2 broken - an error occurred when trying to change modules

    I get the message "an error occurred when trying to change modules when I try to go into library mode. quit and restart didn't help. Catalog verified as okay. Worked before update.

    Deleting preferences did not help. I also tried creating a new lightroom catalog, and can navigate around it fine. However, if I do something like change to Library in the new catalog and then open my useful catalog, I immediately get the error changing modules message. I tried reimporting my useful catalog, which also did not work. My understanding is that this error is some kind of catch all which could indicate any number of different issues - is there a way for me to roll back to 2.1? Is there a reason that so many people are having an issue with this upgrade (there are posts in other forums and blogs about people having this same issue after upgrading).

  • Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code

    Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code. 
    Unable to change device on account.

    That would be great if they weren't 2 different size SIM cards.
    The code is a security feature and I realize this. It is to prevent someone from hacking your account and changing your devices without your knowledge. However, I am the account owner and I know exactly what is going on with my account at all times. I check data usage AT LEAST 2 times daily and I log into my account at least once daily. I would very quickly discover any issues. This feature is more of a (removed)
    Edited as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

  • "an error occurred when trying to change modules"

    When I switch repeatedly between Library and Develop with the R and E keys, I always sooner or later run into a problem where nothing happens when I press R. Really that should go the Develop module and enter crop mode -- what I'm usually trying to do, when this happens, is crop a bunch of photos. So I'll be using Library mode to identify the photos that need cropping, stepping through photos with the arrow keys, then when I find one that I want to crop, I press R, enter develop+crop mode, crop the photo, press E to return to library+loupe view, and continue.
    Sometimes this works 10 times, sometimes it only works twice, but always, relatively soon, when I press R, "nothing" will happen. Actually what's happening is an error dialog appears saying "an error occurred when trying to change modules", then the error dialog immediately disappears before I can read it. I know what it says, because if I click the Develop module with the mouse, I get the same message but it sticks around until I press OK.
    Once this happens, I'm entirely unable to use the Develop module until I quit the program. I had to quit and restart LR about 20 times during an hour of working with it last night, and this morning, in the first 15 minutes, I'm already on the 3rd restart.
    Anyone else see this?
    Details: LR 1.1 on Mac OS 10.4.10, 4-core Mac Pro, images are a mix of JPG from a pocket camera and NEF from a Nikon D40. I don't think it is related to the specific images, as it strikes apparently at random, and after exit and restart, I can crop that same photo, but a different one will eventually cause the same problem again.

    Sean, thanks for the Return key tip. I knew about that at one point, but lately I was trying to use Enter (the one on the numeric keypad, at the very lower right corner of the keyboard, which is really easy to hit with my thumb even when my hand is on the mouse! And Enter doesn't invoke the crop, so I forgot that Return did). That is a better way.
    I don't see the RE problem on my MacBook, only on my desktop computer, and that one is also experiencing other flakiness (
    metamatt, "missing text / thumbnails / many Lightroom UI elements disappeared" #, 18 Aug 2007 3:08 pm) so I think I'm going to try a complete reinstall there.

  • Short Dump when trying to change configuration of BT112H_SC/OVViewSet (Service Contracts)

    Hi Experts,
    I have a problem with a component usage when trying to change the OverviewSet Configuration for the Service Contract. The whole component BT112H_SC is complete standard and no enhancements have been made yet.
    When trying to change the configuration of the view OVViewSet there appears the error message:
    '500 SAP Internal Server Error'
    Error: Define Component Usage 'CUIR_Container' (termination: Rabax_State)
    The place where the code dumps is shown in the attached picture with the name 'ST22'. The error screen when trying to change of the configuration is shown in the attached picture 'Configuration'
    It seems like one error is appearing in Line 18 of the class CL_BSP_WD_REPOSITORY and method GET_CMP_USAGE_DEF:
    Method: GET_CMP_USAGE_DEF.
    method GET_CMP_USAGE_DEF.
       field-symbols: <USAGE> type BSP_WD_CMP_USAGE_DESCR.
       read table ME->USAGES with key USAGE_NAME = IV_USAGE_NAME
                             assigning <USAGE> binary search.
       if SY-SUBRC = 0.
    *   Is usage active?
         if CL_WEBCUIF_SWITCH=>IS_ACTIVE( IV_SWITCH_ID = <USAGE>-SFW_DATA-SWITCH_ID
                                          IV_REACTION  = <USAGE>-SFW_DATA-REACTION ) ne ABAP_TRUE.
    *     usage switched off
           raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
             exporting
               TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>ACCESS_2_INACTIVE_ELEMENT
               NAME   = IV_USAGE_NAME.
         endif.
         RS_RESULT = <USAGE>.
       else.
         raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
           exporting
             TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>UNDEFINED_CMP_USAGE
             NAME   = IV_USAGE_NAME.
       endif.
    endmethod.                    "GET_CMP_USAGE_DEF
    Any Ideas? Do I have to create the component usage manually?

    Hi Oliver,
      Go to RTR->Viewset->OVViewset-> see whether any view 'CUIR_CONTAINER' is there in that viewset.
      If it is there then u need to create component usage of that view. Or else remove that view from viewset.
    Regards,
    Arun

  • I accidentally screwed up my apple id when trying to change my primary email address. Password recovery options and security questions arent working either to restore

    I accidentally screwed up my apple id when trying to change my primary email address. Password recovery options and security questions arent working either to restore. Created a new appleid just to get into forums to ask a question but hesitate to sync itunes and iphone with it as i may lose all purchased music apps etc. can anyone help? i have received no email response frm apple support, it's been over 48 hours

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • List of values failure error when trying to use dynamic data values

    Hi there,
    I have a user who is experiencing problems when trying to use dynamic values in a report.  Whenever he tries to insert dynamic parameters he gets the following error message:
    Prompting failed with the following message: 'List of Values failure: Failed to get values.  [Cause of error: Access is denied.]  Error Source: prompt.dll  Error Code: 0x8004380D
    He even opened the sample report - prompting.rpt - that is included with CR and gets the same error.
    We are using Crystal Reports XI Release 2 ver. 11.5.11.1470.
    Any help would be appreciated.

    Please excuse my ignorance of the product.  I've had this problem dropped in my lap and I know practically nothing about Crystal Reports.  In doing some digging it appears to me as if the BusinessObjects Enterprise software may not be installed properly, if at all.  In the programs menu under the BusinessObjects XI Release 2 folder I see a BusinessObjects Enterprise folder, but the only icon listed in that folder is Software Inventory Tool.
    Is the BusinessObjects Enterprise software a separate install from Crystal Reports or is it bundled together?  I talked with the tech that did the install and he said that all he had was the Crystal Reports install media.

  • Too many fields QE-3018 when trying to change manager password

    Hello, we are seting up a new database, we have uploaded tables with data transfer and copy express, and when trying to change the manager password we are getting this message.
    thank you.
    Jose.

    Hi,
    Check the below note 1304754:
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1304754|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1304754]
    Warmest Regards,
    Chinho

Maybe you are looking for