gotcha, thanks again for the info. i feel like so much of this is
tribal knowledge.

is there a reference for the tags in the style declaration? e.g.
format="Color", inherit="yes", etc? i'd love to know what all the
formats are, what inherit REALLY means, etc.

--- In [email protected], "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Coming from a component developer myself, there is no easier way. :)
> 
> You could create a theme but that is whacked since you would then need a
> compiler arg which is a pain.
> 
> It's really not that bad, you are just doing the work that the
compiler does
> when it encounters an <mx:Style/> tag.
> 
> It just creates defaultFactories like you are uisng class or type
selectors.
> 
> Mike
> 
> On Thu, Aug 21, 2008 at 2:26 PM, bryancostanich
> <[EMAIL PROTECTED]>wrote:
> 
> >   woo, good info. wish that was in the sdk docs. :(
> >
> > is there a better way to do this altogether? this seems kind of hacky.
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
"Michael
> > Schmalle"
> > <teoti.graphix@> wrote:
> > >
> > > Hi,
> > >
> > > If I'm not mistaken you need;
> > >
> > > - getStyleDeclaration(".styledRoundedRectangle")
> > >
> > > and
> > >
> > > StyleManager.setStyleDeclaration(".styledRoundedRectangle", styles,
> > false);
> > >
> > > So the changes are, the DOT '.' means class selector. No DOT
means type
> > > selecter IE ClassName.
> > >
> > > Also, since this is lazy initialize, you don't need to update right
> > away, so
> > > you can change your true to false in the setStyleDeclaration().
> > >
> > > Mike
> > >
> > >
> > > --
> > > Teoti Graphix, LLC
> > > http://www.teotigraphix.com
> > >
> > > Teoti Graphix Blog
> > > http://www.blog.teotigraphix.com
> > >
> > > You can find more by solving the problem then by 'asking the
question'.
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Teoti Graphix, LLC
> http://www.teotigraphix.com
> 
> Teoti Graphix Blog
> http://www.blog.teotigraphix.com
> 
> You can find more by solving the problem then by 'asking the question'.
>


Reply via email to