I am adding an Accordion and am getting an error at runtime saying that
accessing a component located inside the Accordion by its id is null.
FlexBuilder shows no errors.
When I remove the accordion, all is fine.
The code is posted below. Attempting to access stuffFilter.addEventListener is
causing a null error.
<mx:Panel id="top_canvas" width="100%" height="100%" paddingLeft="5"
paddingRight="5" paddingTop="5" paddingBottom="5">
<menus:GlobalMenu id="globalMenu" width="100%" />
<mx:HBox height="100%" width="100%">
<mx:Accordion id="stuffSection">
<mx:VBox label="Stuff" width="100%" height="100%">
<trees:StuffTree id="stuffTree" width="100%" height="100%"
/>
</mx:VBox>
<mx:VBox label="Stuff Filter">
<form:StuffFilter id="stuffFilter" width="100%" />
</mx:VBox>
</mx:Accordion>
<mx:VBox height="100%" width="60%">
<mx:Label width="100%" text="Details" />
<textarea:StuffDetail id="stuffDetail" width="100%"
height="350" />
</mx:VBox>
</mx:HBox>
</mx:Panel>
--
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/