This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Changing styles at runtime , problem with ViewStack
 
Similar Threads
Maintaining temporary database
Could any one please give good suggestion about Dashboard?
Confusion in Method Overriding.
closing thread and its childs
Showing PLUS sign(tree expansion) even if child is not present