0

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?

pixel
  • 24,905
  • 36
  • 149
  • 251

1 Answers1

1

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

Nimaen
  • 417
  • 1
  • 3
  • 10