How to remove a skin from a component during runtime

If I have a component with a skin:
<s:Button skinClass="skins.ButtonSkin"/>
And want to remove that skin and to have it default to the Spark skin from AS3, whow do I do that please?

Thank you.
The visual feedback should be immediate, correct?

Similar Messages

  • How to map nodes to an embedded Component during runtime?

    I embed a Component (<i>BasisComponent</i>) in a new created Component (<i>MyComponent</i>) to use some funcionality from it. Therefor, I have to map some ValueNodes from <i>MyComponent</i> to <i>BasisComponent</i> during designtime to transfer the data. I thought, I could use External-Context-Mapping for that. That means I've created a ValueNode in <i>BasisComponent</i>'s InterfaceController and declared it for ExternalContextMapping (let's call it <i>ExtNode</i>.
    Because I want to use this basis functionality from different embedding Components (<i>MyComponent1, MyComponent2</i>, etc.), I can't declare the structure of <i>BasisComponents ExtNode</i> yet, it's just an empty ValueNode.
    Now, I want to map from my using Components their different ValueNodes to <i>BasisComponents ExtNode</i>.
    How to do that? Or is there another possibility to put different value-nodes from different components to the same Node in my <i>BasisComponent</i>? Can this be done during designtime? I believe it can be definitively done during runtime....
    kr, achim

    Let me use your example and explain what in fact will work when you are creating attributes/nodes only at design time.
    Let us define context in BasicComponent as:
    - MyRoot (0..n, selection 0..1, singleton)
    |-MyInt (int)
    |-MyString (string)
    Say, ComponentA has the following context structure:
    - rootNode (0..n, selection 0..1, singleton)
    |-attA (int)
    |-attB (string)
    |-attX (string)
    Then you can easly map rootNode of ComponentA to MyRoot of BasicComponent, attA -> MyInt, attB -> MyString, attX left is not used for mapping.
    Same is true for ComponentB with
    - RootOfBNode (0..n, selection 0..1, singleton)
    |-attIgnored (date)
    |-attA_INT (int)
    |-attB_STR (string)
    |-attY (string)
    ComponentB.RootOfBNode -> CU of BasicComponent.MyRoot, attA_INT -> MyInt, attB_STR -> MyString, attY and attIgnored are not used for mapping.
    However, if context of ComponentA is defined as
    - rootNode (<b>0..1</b>, selection 0..1, singleton)
    |-attA (int)
    |-attB (string)
    |-attX (string)
    ...then you are out of luck -- wrong cardinality of node.
    Moreover, this case also fails
    - rootNode (0..n, selection 0..1, singleton)
    |-attA (string)
    |-attB (string)
    |-attX (string)
    Here all attributes are strings so mappings will be incomplete. To fix this you need at least fake attribute in rootNode.
    And mostly important fact: if you can't map nodes in designer due to mismatch context structures the any dynamic (at run-time) mapping will fail as well in majority of cases.
    Valery Silaev
    SaM Solutions

  • How to remove credit card from iphone4s

    how to remove credit card from iphone4s

    Not sure what you mean by this. Are you trying to remove your credit card information from the App Store/iTunes store?

  • How to remove available downloads from the list

    how to remove available downloads from the list without it resuming when i open itunes or check for available downloads?

    There is not a way to remove them from the list.  Just let them download, and then delete them from your library when they are done.

  • How to remove "open dns" from imac

    how to remove "open dns" from imac

    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and delete the server addresses. Click OK and then Apply.

  • How to remove SD Card from the Card Reader slot - Satellite A100?

    Is there anyone to help me? I inserted a 64 MB SD card in the card reader slot of my Toshiba A100 model. It's the first time i have inserted the card. The card is inside the slot. I can not take it out! I don't have any idea how to remove the card from the card reader slot. I can see the contents of my SD card, can open the files too. But how to remove it out from the slot. Please help me giving your idea to remove the card out from the slot.

    In my knowledge the SD card slot doesnt has a any additional helps like the PCMCIA slot to remove the card.
    You have to remove it simply. Try to grab the card and move it out. You can try to use the pair of tweezers. Maybe it helps

  • How to remove sd card from iMac

    hi how to remove sd card from imac ,thanks

    If your machine is in warranty, be careful not to do anything more that might damage it when removing it from the optical drive.  You might even be able to convince an authorized service technician to carefully remove it under warranty from the optical drive.  It is a design issue that lets people accidentally insert the SD card in the optical drive.   Of course if that's the only copy of your information on the SD card, be sure to let them know that, so they are extra careful not to damage it when removing it.

  • How to remove an ipad from my account

    I am given my first ipad away, how i remove this ipad from my account? I already reset all contents.


  • How to remove esclamation mark from itunes

    how to remove esclamation mark from itunes???

    See these...
    -> One computer using multiple iTunes Store authorizations
    -> About iTunes Store authorization and deauthorization

  • How to remove an iphone from my id

    once my friend sync-ed his iphone with my computer. then whenever he is in wi-fi zone it is asking password for my used id for updating the apps. how to change the user name in his phone or how to remove his device from my apple ID. please help.

    The only way to fix this is for your friend to delete all the content, on his/her phone, obtained using your ID. Fact is, that's called stealing. There is no other fix.

  • How to remove a node from nlb at runtime?

    i need to temporally exclude a node from an nlb.
    May happen that a server is up and working but the web application i'm balancing is out of sinch with the same application in the others nodes.
    Eg. some static variables are not the same of the same static variables of other nodes, because of a timeout, a write error and so on but the server is still working.
    in this case i need to stop the server from nlb because the information in the web application is not in sinch with other nodes.
    I need to prevent users from being serverd from this out to date server, untill it will became updated, but i need to do this programmatically
    how can i do it?

    "DuoMi" <[email protected]> wrote in message
    news:gnojbf$2sg$[email protected]..
    > How to remove a node from XMLList
    > I want remove the first node from XMLList
    > and how to get the combobox all values string:
    > <data>
    > <value>2</value>
    > </date>
    > <data>
    > <value>5</value>
    > </date>
    > <data>
    > <value>8</value>
    > </date>
    > I need a string whit value "2,5,8"
    > thkan you.~
    I think something like
    will work.

  • How to remove the "0" from the sum cell when the other cells are empty?

    When I use the formula to sum the values from a few cells, there is a zero in the sum cell when the other cells are empty.
    My question concerns how to remove the 0 from the sum cell when the cells that will be summed are empty.
    Thank you!
    /Johan Strömbeck

    Please try the Mr. Laurence's suggestion first. Then, we may try the other workarounds.
    1) Go to Excel option> Advanced>Display Option for this worksheet> Uncheck Show a zero in cells that have zero value
    2) Go to Conditional Formatting>New Rule>Format only cells that contain> Value equal to 0> Format the color with white
    Hope it's helpful.
    George Zhao
    TechNet Community Support

  • How to remove a package from package structure?

    Hello profs,
    i have a problem. I add a package 'A' to another package 'B' in the package builder.
    Now i don't know how to remove package 'A' from the list of package 'B'.
    I have not found in the docu of package builder how to remove a package from the included list.
    Has somebody an idea how to do it?
    Thanks a lot.

    I found out that the relation between the packages saved in table TDEVC.
    Field PARENTCL contains the surrounding package 'B' of the package 'A' field DEVCLASS.
    At the moment the only way to remove the package is to modify the table.
    But i look for another possibility for this issue.
    Best regards

  • How to remove a DC from DTR?

    Hi all,
    what is the best way to remove a DC from the Development Configuration Perspective?
    The DC was created by myself and is not used by others.
    Thanks for your help
    [How to remove a DC from DTR?;

    We recently released a note which describes how to delete a DC (with certain limitations): SAP Note 864515.
    Link to the Note :

  • How to remove a meter from an installation after move-out

    Could anyone please tell me how to remove a meter from an installation after move-out and if the installation was blocked before move-out.
    I was trying to remove the meter from an installation which was blocked before move-out. And if i remove the blocking after move-out, it is still giving me this message that the installation is blocked.
    Thanks in advance.

    Dear Birendra,
    You can NEVER remove a Device (for Billing Related or FULL removal), since you need to save a Removal read while doing the removal. Hence, you can not create a MR ( Reason 01/02/03/06/16/17/21/22), without a Active contract. This is a Basic Metering Rule.
    You will have to do the removal on the same day of the Move out.
    Any additional questions?

Maybe you are looking for

  • Imacs BuggyCrappy: Windows 7 and windows 8 not working

    Imac not working as it is supposed to wrt bootcamp windows. Had made rounds to applestore like 10 times and working with online executives. Got to know that fusion drives are not easy to work. Either windows 8 or windows 7 works. Apple is saying afte

  • Ps CS6 Problem: Incorrect rendering of pasted Adobe Illustrator vector objects

    Ps CS6 v13.0.1 OS X 10.6.8 Problem: Ps CS6 incorrectly renders vector objects pasted from Adobe Illustrator. CS5.1 does not exhibit the problem. Below is screenshot of artwork in Illustrator and which is copied to clipboard, followed by screenshot of

  • Why the system invokes card.toString() by itself

    Hi All! When Card3 is instantiated and then printed out.The result is, as if the card.toString() was invoked ( Ten of Clubs). Could somebody tell,why the system invokes card.toString() by itself. Thanks. public class card3Demo { public static void ma

  • Sort Pick List

    Hello, I added a field to the pick list to show the item location from item master data. Now in the PDL I want to sort by this column when printing. The sort button in PLD -> Rep Area -> Sort is always greyed out. Do you have any idea what goes wrong

  • Boot Comp Partition no longer selectable

    I recently had to reinstall 10.5 on my iMac due to some intermittent problems that Apple Support couldn't resolve. The good news is OS X is back to being rock solid and behaving but my Boot Camp partition is no longer listed as a valid startup disk.