I have this code:

<mx:Accordion id="categoryaccordion" height="100%" width="100%" 
selectedIndex="0"  change="mx.controls.Alert.show(event.newValue); 
BHUser.generateQuestions2(questionslist
[event.newValue].getRepeaterItem().CategoryID,0)">
        <mx:Repeater id="accordionrepeater" 
dataProvider="{accordionRepeaterData}">
           <mx:VBox 
label="{accordionrepeater.currentItem.CategoryName}" height="100%" 
width="100%" >
                <mx:List width="100%" height="100%" 
id="questionslist" dataProvider="{qListData}" 
labelField="fieldtext" />
          </mx:VBox>
        </mx:Repeater>
</mx:Accordion>

The getRepeaterItem in the accordion's change event returns a 
blank/undefined value the first time you click through each 
accordion item, but works perfectly from that point on. Does 
something have to be done initially upon creation of the accordion 
to get that working?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to