I made a mx:Accordion control. The code for this control is
listed below. I added show events for Canvas control inside
Accordion control. However, it seems that on the first time I
clicked on those Canvas items, show events haven’t been called.
It’s called on the next clicks. Please tell me how to fix it. Thank
You might have to handle the creationComplete event also,
cause Accordion will not create all the children of its children.
They are created only when they are activated (clicked) and so the
show event is not raised for the first time as the component is
getting created at that but not being “shown”. So, you can either
handle creationComplete event for the Canvas or set the
creationPolicy=”all” for the Accordion. Please check out the sample
Hope this helps.
Thank you for your help.
I found the solution. Using change event in Accordion is
useful in my case.
- Problem with mx:Accordion
- Any way to customize the headerClick event of an Accordion control
- NumericStepper/Accordion problem
- rotate accordion, labels disappear
- displaying problem with accordion
Related posts brought to you by Yet Another Related Posts Plugin.