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
in advance.|||
Hi,

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
attached.

Hope this helps.

|||
Thank you for your help.

I found the solution. Using change event in Accordion is
useful in my case.

Related posts:

  1. Problem with mx:Accordion
  2. Any way to customize the headerClick event of an Accordion control
  3. NumericStepper/Accordion problem
  4. rotate accordion, labels disappear
  5. displaying problem with accordion

Related posts brought to you by Yet Another Related Posts Plugin.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 free icons download Suffusion theme by Sayontan Sinha

Featuring Recent Posts WordPress Widget development by YD