--- In [email protected], "Josh Ettwein" <[EMAIL PROTECTED]> 
wrote:
>
> I'll try to keep this as simple of an example as possible. Here's 
the
> scenario:
> 
> I have a "Button" class that extends UIComponent. If I specify a
> "Button" declaration in an external CSS file, and specify the
> overSkin, upSkin and downSkin for it, the Button will accept that 
and
> apply the style. No problem.
> 
> However, if I create another ui element, "PlayPauseButton" that
> extends "Button", and attach that to my app, this subclassed 
component
> "PlayPauseButton" does not pick up the style. Also, adding an 
explicit
> declaration in the stylesheet for "PlayPauseButton" does not work.
> 
> Note that these components do not have any MXML associated with 
them.
> They are attached to the base application with actionscript.
> 
> These classes also have some drawing api stuff in them (but do not
> extend programmaticskin), and I'd like to make them be able to take
> graphics as the assets.
> 
> Any thoughts? I've searched high and low on the web for something
> useful on this, but all I can find are tutorials that show how to do
> with with the built-in UI components. Not helpful.

Is your PlayPauseButton inside a List-based component?

Reply via email to