Solved

Adding Skin to SkinnableContainer

Posted on 2010-08-16
1
583 Views
Last Modified: 2013-11-11
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
Comment
Question by:recruitit
1 Comment
 

Accepted Solution

by:
recruitit earned 0 total points
ID: 33499524
Solved it.

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now