[flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
I know there are many here who use FlexReport library so I hope somebody here can help with this. I am loading reports into a tab navigator, the reports do not show content until i switch tabs, then come back to that one. I suspect the 'show' event being dispatched does something to the content

Re: [flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Felipe Fernandes
Derrick, My guess is that you are setting the heigth and width to percent values, try to set it to an axplicity value. That´s because flex only know the size that things have when it draws them, so your percentage values would evaluate to 0. It´s just a guess but I had the same problem before and

Re: [flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
well turns out i'm not explicitly setting the height/width- i did add this to the script that loads the report reportsTabNavigator.selectedChild.dispatchEvent(new FlexEvent(FlexEvent.SHOW)); after the report loads and it fixed the issue (although now there is a flicker on the screen). I should