Avinash - I've made some changes to that implementation and have runtime styles working just fine with custom components. Class selectors, styleName, etc... send me your digits and I'll send you what I've got.
-- Rick Winscot www.quilix.com On Tuesday, January 17, 2012 at 8:42 AM, Avinash Narayanan wrote: > Aah. There is one problem however with this. It does not work with custom > components (extending UIComponent). Atleast we could never figure that part > out. > > > On Tue, Jan 17, 2012 at 6:57 PM, Rick Winscot <rick.wins...@gmail.com > (mailto:rick.wins...@gmail.com)>wrote: > > > Load CSS at runtime? No problem... > > > > http://www.rubenswieringa.com/blog/cssloader > > > > The only thing that it doesn't support is embed. Enjoy! > > > > -- > > Rick Winscot > > > > > > On Tuesday, January 17, 2012 at 7:56 AM, Avinash Narayanan wrote: > > > > > @Jeffry, > > > > > > Im looking at dynamically being able to change CSS files at runtime > > without > > > having to convert it into an swf. I forsee flex surviving as components > > > > in > > > HTML5 (overall flex app with a swf containing a datagrid/chart etc). If I > > > want to maintain the theme of the page or want to quickly change the > > > > > > > skins, > > > current CSS to swf conversion requirement is a pain :( > > > > > > Thanks > > > Avinash Y > > > > > > > > > On Tue, Jan 17, 2012 at 5:39 PM, Jeffry Houser <jef...@dot-com-it.com > > > (mailto:jef...@dot-com-it.com)(mailto: > > jef...@dot-com-it.com (mailto:jef...@dot-com-it.com))>wrote: > > > > > > > On 1/17/2012 6:05 AM, Avinash Narayanan wrote: > > > > > > > > > Hi all, > > > > > > > > > > I have another request. albeit a more difficult one to implement. > > Dynamic > > > > > CSS where we dont have to compile the CSS into swfs before having to > > > > > > > > > > > use > > > > > them. > > > > > > > > > > > > > > > > I don't fully understand what dynamic CSS means. Do you mean you want > > to > > > > load the CSS File externally, such as from a URL, at runtime? OR do you > > > > mean something different? > > > > > > > > -- > > > > Jeffry Houser > > > > Technical Entrepreneur > > > > 203-379-0773 > > > > -- > > > > http://www.flextras.com?c=104 > > > > UI Flex Components: Tested! Supported! Ready! > > > > -- > > > > http://www.theflexshow.com > > > > http://www.jeffryhouser.com > > > > http://www.asktheflexpert.com > > > > -- > > > > Part of the DotComIt Brain Trust > > > > > > > > > > > > > >