Yeah,

I remember reading that, I was a bit confused and didn't have time to ask a
question. Now that you have brought it up though, I think your answer is the
theme compiler argument.

If you compile that css sheet into the same swc file along with the
VideoControl.as class, in the Application, set the -theme compiler argument
to the swc that holds the css file that is with your custom component.

Let me know if that makes sense.

Peace, Mike

On 06 Mar 2007 10:59:31 -0800, Muzak <[EMAIL PROTECTED]> wrote:

  ----- Original Message -----
From: "Michael Schmalle" <[EMAIL PROTECTED]<teoti.graphix%40gmail.com>
>
To: <[email protected] <flexcomponents%40yahoogroups.com>>
Sent: Tuesday, March 06, 2007 2:13 PM
Subject: Re: [flexcomponents] styleChanged called twice during
initialization process

> Muzak,
>
>> Graphical skinning seems to be mainly focused around mxml and
programmatic
> skinning around AS.
>
> That is not true.
>

Well, I think the docs are a bit vague on how to implement graphical skins
in combination with css and swc's.

> Case in point; AS skins are just a class that implements
IFlexDisplayObject
> right? An interface that is it. A graphical skin also implements
> IFlexDisplayObject.
>
> So with this abstraction skins are skin regardless of color, no pun
> intended.. :)
>
> Get used to the fact the framework can do what you want, you just have
to
> point it in the direction you want to go:)
>

At this point I'm still looking for the right direction signs ;-)

> Now, as far as design view in Flex Builder with skins, that will have to
> wait for future releases. But, runtime skinning rocks, and it can be
done
> eloquently.

I'm not really worried about design view, hardly ever use it ;-)
Right now I'm more interested in how to apply/adjust my current workflow,
the one I'm used to in AS2, when it comes to components.
Stuff is easy with mxml, which is what I've been doing mostly. But now I'd
like to do all that in AS3.

Have you seen my previous question regarding skins + css + swc?
http://www.nabble.com/graphical-skinning---css---swc-tf3337261.html

regards,
Muzak




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to