Question

I have five panels with some logic in every of them.

How could I split styles, code and layout for every panel to several files?

Was it helpful?

Solution

If my understanding of your question is correct, you just have to create as many customs components inheriting s:NavigatorContent as panels. Each one can have is own style and behaviour.

Headers must be styled at runtime since they share the same class <mx:Accordion headerRenderer="MyHeaderClass"/>.

However, you could customize everything you want by using the WindowShade component of the FlexLib, including different HeaderRenderers.

Nimaen

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top