wood burning stoves*
The moose likes Flex and the fly likes Changing styles at runtime , problem with ViewStack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Changing styles at runtime , problem with ViewStack" Watch "Changing styles at runtime , problem with ViewStack" New topic
Author

Changing styles at runtime , problem with ViewStack

Narender Reddy Soma
Greenhorn

Joined: Jun 05, 2010
Posts: 23
Hi all,

I am developing a dashboard kind of application using Flex3,Spring and Hibernate(for caching).

I took sample dashboard application on adobe site as basis and I am able to get it work for my requirement.

I am building all reports includes different charts and adding each report as child to a ViewStack.

Now I got more then 50+ reports and hence 50+ childs added to viewstack at app initialize.

I want to change styles for few reports, The problem what I am facing is Its taking lot of time for loading stylesheet(compiled css file). The reason for it is, as it has to apply styles to all components present in viewstack its taking long.

Is that possible to set style to a specific selected viewstack child rather applying to invisible childs too.?

Please advice any beter way to do this.

Any help is appreciated....

thnx
 
GeeCON Prague 2014
 
subject: Changing styles at runtime , problem with ViewStack