SkinnableComponent does not react to state changes

(Flex 4.5) I'm finding that SkinnableTextBase will change its styles according to the CSS file when it changes state, but SkinnableComponent won't. Why?
Here's what I do. I create a class which extends SkinnableTextBase like this:
public function MySTB() {
    super();
    states = new Array();
    for each (var name:String in ["inactive", "active"]) {
        var state:State = new State();
        state.name = name;
        states.push(state);
I create another class which is the same, but which extends SkinnableComponent.
In the CSS I tell them to have a green background when they are in the "active" state:
customLabel|MySTB:active, customLabel|MySCom:active {
    content-background-color: #ccffcc;
And I give both of them basically the same skin.
When I call setCurrentState("active") on each of them, the SkinnableTextBase changes its background colour, but the SkinnableComponent doesn't. Why not? I would like to base a component on SkinnableComponent and need it to respond to state changes.

Thanks Karl for the response. In this case the issue is not skin states but component states. It's rather confusing but there are two types of state and in fact the CSS states syntax as given above pertains to the component state. The skin has nothing to do with it.
There must be something in SkinnableTextBase which is not in SkinnableComponent which causes the css syntax to be applied; though in theory this should work in any component. (see last example here: http://cookbooks.adobe.com/post_How_to_use_the_new_CSS_syntax_in_Flex_4-15726.html).

Similar Messages

  • My password lock cannot be turned off (button is greyed out and does not react) and I cannot set to "simple" password (4 digits) for the same reason (button greyed out)

    Today, I got a message from my iphone 4 telling me that my password was expired and that I had to change it.
    Now I am forced to enter a 8 character long password and I cannot turn off the password lock (button is greyed out and does not react) and I cannot change to "simple" code.
    I am so upset that I am considering throwing the bloody thing to the rubbish bin
    Can you help?

    Have a work Exchange account on your phone? These policies can be enforced by a profile installed on your phone. There is nothing you can do to change this except delete the Exchange account.

  • Screen does not react

    I opened the box to my brand new Ipad 2. It turns on and connects fine. The problem is that the screeen does not react to any touch. What can be the problem?

    Thanks for the suggestion.
    We tried that. There was no change in the problem.
    This unit is right out of the box. I am currently charging it with a wall charger so it has a fresh charge. It is at 53% now but I am not sure how long this has been sitting.
    Thanks again.

  • HT1918 iTunes does not allow me to change my account information so that I can be able to make payments for applications.

    iTunes does not allow me to change my billing information. I have a problem with my current credit card so I want to use another billing option.

    The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE
    In general, switching countries is not easy and it is only intended you do it if you really are moving residence.
    Purchases made in one country do not carry over to another country, though you can still use them as long as they are on your computer.  You cannot, for example, update apps purchased in another country.  I have things I bought in stores in Europe.  I can continue to use them here in the USA but I no longer have access to those stores to buy replacements now I live here.  In the case of apps and media each country has its own licensing contracts and this is the way Apple has it set up to work.
    Your specific"cookie" error may relate to you trying to use an iTunes store from outside that country and part of the "Apple may use technologies to verify your compliance".

  • On my MacBook with Lion Safari does start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library did not help. Where can I find and remove all components (LastSession ...)?

    How can I reset Safari with all components? On my MacBook with Lion, Safari does not start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library does not help. Where can I find and remove all components as LastSession and TopSites?

    The only way to reinstall Safari on a Mac running v10.7 Lion is to restore OS X using OS X Recovery
    Instead of restoring OS X in order to reinstall Safari, try troubleshooting extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    If it's not an extension or plug-in issue, delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • HT204053 I changed my apple id, but my ipad does not allow me to change it for Icloud, so I can't  edit my account so I can access Icloud. I was told at Apple store that I could use both Apple ids, but my old one is no longer recognized. Any suggestions?

    I changed my apple id, but my ipad does not allow me to change it for Icloud, so I can't  edit my account so I can access Icloud. I was told at Apple store that I could use both Apple ids, but my old one is no longer recognized on the appleid website, so my password for my old apple id won't work.
    Any suggestions?

    If you only changed the name of your ID rather than creating a new ID, just go to Settins>iCloud and tap Delete Account then sign back in with the new name.  (Deleting the account from your phone does not delete it from iCloud.  Your data will be synced back to your phone when you sign back in.)
    If you created a new ID, you'll have to go to Settings>iCloud on your phone and turn all data you are syncing with iCloud (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on your iPhone.  (If you are syncing iWork documents with iCloud, also open your iWork apps and turn off iCloud syncing and choose to keep the documents on your phone.)  After everything is turned off, scroll to the bottom and tap Delete Account.  Next, set up a new iCloud account using your other ID, then turn syncing for your data (contacts, etc.) back to On.  When prompted, choose Merge.  This will upload the data to your new account.
    You won't lose any photos in your camera roll or photo library.  If you have any photos in your photo stream that are over 30 days old that are not in your camera roll or saved on your computer, be sure to save these to the camera roll before deleting the account.  To do so, open the photo stream album on your iPhone in the thumbnail view, tap Edit, tap all the photos you need to save to select them, tap Share, then tap Save to Camera Roll.

  • In Security, clicking on the "Saved Password" button displays your current saved password for each site. It does not allow you to change a password. How would you do that?

    In Security, clicking on the "Saved Password" button displays your current saved password for each site. It only allows you to view and delete site passwords. It does not allow you to change a password. How would you do that?

    If you enter a new password Firefox should offer to change the password.
    *You may not need to delete the old password. Try "Refreshing" the page, entering the site again, you may need to let Firefox fill in the old password, then enter the new password, and Firefox should ask to save the new password. See:
    **http://kb.mozillazine.org/Deleting_autocomplete_entries
    *If you delete the old password, you may need to "Refresh" the site after deleting the old password.
    If you want to delete the password that has been saved do the following:
    #In the Tools menu select Options to open the options window
    #Go to the Security panel
    #Click the "Saved Passwords" button to open the passwords manager
    #Select the site in the list, then click Remove
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe PDF Plug-In For Firefox and Netscape 8.3.0 (''Note: this is a very old version and installing the current version may not delete it or overwrite it. To avoid possible problems with having 2 versions installed on your system, you may want to remove the old version in Windows Control Panel > Add or Remove Programs before installing the new version'').
    *Shockwave Flash 10.3 r181 (''this may be current but a new version was released on 2011-06-14 with a ".26" after the "181". You can use the Plugin Check below and/or look in Add-ons > Plugins for the version of Shockwave Flash that you have installed. The newest version will be shown in Add-ons > Plugins as "Shockwave Flash 10.3.181.26"'').
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Notebook GX740 does not react to the power button

    Hello. Notebook GX740. When you upgrade NB Camera / VGA / EC Firmware laptop hangs. 1 hour turned it off the power. Now does not react to the power button. How can I restore NB Camera / VGA / EC Firmware??? The file downloaded from the website EC1727EMS1.404

    You will need to perform EC reset after EC flash.
    Remove battery and disconnect AC adapter, and then reconnect them.
    Try power on the unit.

  • I have updated my Iphone5 with new IOS6 - now the screen/display does not react to my taps on screen as in i cant tap in my pin to start???

    I have updated my Iphone5 with new IOS6 - now the screen/display does not react to my taps on screen as in i cant tap in my pin to startup???

    I have updated my Iphone5 with new IOS6 - now the screen/display does not react to my taps on screen as in i cant tap in my pin to startup???

  • BAPI_DOCUMENT_CHECKIN2-Status does not allow you to change certain data

    Hi Gurus,
    I am uploading the DIR attached files for the Documents in PLM. We have a custom program written to upload the attached files. When I tried to upload the file I am getting the BAPI Return error as "Status does not allow you to change certain data". The status of all the documents is "RL"
    File format is
    Doc type  Document No   Rev           File Name
    JPS          0021581PS,     X,       /in/PLM/JAPAN/Files/0021581PS.xls
    Please help me I need to upload the data.
    Thanks,
    Deepthi

    Check the status network for your doc type in config. You may find that the current status may not allow you to make changes. You may need to change the current status to another status before you can make the changes you would like.
    The config settings will tell you the status you may set in order to make your changes, if they are allowed.

  • ITunes does not react when I plug in my iPhone 4s?

    When I plug my iPhone 4s into my laptop using Windows 7, the phone itself vibrates but iTunes does not react. I have no idea how to add the device to it and have spent hours trying to resolve it. I have also followed an online 7 step and had no effect. Does anyone know what else I have to do?

    http://support.apple.com/kb/TS1538

  • OnKeyUp/onKeyDown does not react to Escape

    This bit of code copied from a tutorial works fine except
    Escape key reacts
    only if any other key was pressed before.
    If after loading the file Esc is the first key pressed it
    does not react no
    mater how many times it is pressed.
    In other applications Esc works fine
    Is this a known problem or I am doing something wrong ?
    o = new Object();
    o.onKeyUp = function()
    trace(Key.getCode())
    Key.addListener(o);

    I think you just have to disable keyboard shortcuts when
    running preview (ctrl-enter)... go to Control menu, and there on
    the bottom Disable keyborad shortcuts...
    some keys are trapped by Flash IDE and therefore they are not
    pased to the swf app...

  • Why wsgen does not pick up the changed interface in wsdl.jsp?

    Hi,
    After I changed the type of return value in a method in a stateless EJB. The wsdl.jsp
    generated by wsgen does not pick up the changed interface (it still has the old interface).
    The installed ejb works well with new type of return value. But the web service (wsdl.jsp)
    and client.jar does not work. At begining I thought it might be cached. So I cleaned
    the cache in the browser and temporal directory inside wls domain. I also deleted
    all old version of ejbs on my local disks. But there is no effect. I am confused.
    Please help. Where does the wsgen looking for when generating wsdl.jsp?
    Thanks a lot.
    Jim

    Hi,
    Please check the following path if your application is deployed or not properly if you are using eclipse:
    Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

  • FCP 7 short clip via share export keeps blinking and does not react. Thank you for your support!

    Try to export renederd short clip in FCP 7 via Share, but export knob keeps blinking and does not react. Please help,
    thank you very much!

    I did notice the "sequence" indicated 32 bit and all the clips, wav music, etc. are 16 bit.  Is that normal?
    May be but I would.
    • Convert all material to formats that FinalCut has easy to use and that match the Final product (Movie)
    • especially the Audio file .wma, wav etc and 32-bit - is no good start
    - convert them to .aiff 16-bit 44.1kHz or 48kHz
    • Set up a NEW Project - BUT FIRST select - right kind of project depending on material - AND FINAL MOVIE PROPERTIES.
    THEN FIRST - Start a NEW PROJECT - Else it will not work.
    Yours Bengt W

  • TS3212 When I try to download iTune, it shows Drive K which does not exist in my computer. It does not allow me to change to other Drive and terminate download stating ' out of disk capacity"

    Whne I download iTune, it shows that it will be downloaded to Drive K which does not exist in my computer. It does not allow me to change to other Drives has enough capacity. Then I click change bottom, attempting to change drive, it terminates the download.
    Do you have any solutions??

    Try "Invalid drive X:\" install errors. You should still be able to chose the drive for the download when downloading the installer with a web browser. The iTunes application is installed on the active system drive, usually drive C:.
    tt2

Maybe you are looking for

  • How to use training and event functionality in  ESS  BP  in  ep 7.0   ?

    Hi all,         We are using  1). sap portal 7.0  sp 9  and 2). Using back end  ECC 6.0     3).  And using  Ess business package  Business Package for Employee Self-Service (mySAP ERP)   release 1.0   The business package doesnot contain any  trainin

  • Error loading Cache group but Cache group created with out error

    Hi I have created a cache group but when I load that cache group I get following error: Command> load cache group SecondCache commit every 1 rows; 5056: The cache operation fails: error_type=<Oracle Error>, error_code=<972>, error_message:ORA-00972:

  • VC Deploy error sp09

    Hi I installed netweaver04s(add in java) SP9. when I try to deploy in the VC, I got a error I'm already apply 886209     Flex compilation error on Unix Machines 974494     Error in compiling Flex application but I can't deploy VC content in flesh opt

  • Store APEX_ITEM.RADIOGROUP value into the database!

    Hi All, I am using the following query to display questions from a table. Does anyone know how we can insert the value of APEX_ITEM.RADIOGROUP(if it is a radiogroup with static LOV ie. Static2: very poor;1,good;2,very good;3,excellent;4) into the dat

  • Undo optimization of iMovie project?

    I optimized my project in iMovie to change the speed and now the playback of my project is black. I tried exporting the project to iTunes but the video is simply black, even though I can hear the audio fine. What should I do? Can I undo the optimizat