Greg, with that info, my bet would be:
try setting the creationPolicy of your accordion to "all" http://livedocs.macromedia.com/labs/1/flex/langref/mx/core/Container.html#creationPolicy best, aldo On 11/21/05, Greg Johnson <[EMAIL PROTECTED]> wrote: > Basicaly I have an accordian view. The first pannel is a dataGrid, the > secound pannel is a viewstack. What I want is for when I go from the > dataGrid to teh viewstack, that the viewstack switch to the first > view. However all I seem to be able to do is ether get an error > because the viewstack doesn't exist, or every time I click to switch > the viewstack it throws me right back to the first view. The viewstack > will show the details for an item someone selects on the datagrid. > > I thought if I could bind a variable to selectedIndex then I could just > change that, and when the viewstack showed it would use that value and > switch. > > Any ideas? > > > > > > > -- > 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 > > > > > > > -- ::::: Aldo Bucchi ::::: mobile (56) 8 429 8300 ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/