Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Adding Skin to SkinnableContainer

Hair pulling out time again lol.

Create New Skin

Add Skin to SkinnableContainer via code... ie

skinnableContainer.addElement(skin);

On the skin I have an event listener for creationComplete...

when the creationComplete event fires on the skin I should be able to access the hostComponent...

but it is always null!  What am I doing wrong? :(
0
recruitit
Asked:
recruitit
1 Solution
 
recruititAuthor Commented:
Solved it.

myControl.setStyle("skinClass", new skinObject());
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now