[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-10-16 Thread donald_d_hook
All - thanks for your help.  It is a bug with Adobe - here is the url.

http://bugs.adobe.com/jira/browse/SDK-17120

Hyder mentioned at the very beginning of the thread - thanks

--- In flexcoders@yahoogroups.com, donald_d_hook [EMAIL PROTECTED] 
wrote:

 _rico - you may be right.  Thanks!
 
 
 --- In flexcoders@yahoogroups.com, rleuthold rleuthold@ wrote:
 
  Maybe the issue is related to this bug - 
 http://bugs.adobe.com/jira/browse/SDK-15974
  
  _rico
  
  --- In flexcoders@yahoogroups.com, donald_d_hook 
donald_d_hook@ 
 wrote:
  
   Tracy - thanks - thats what I have started to do...
   
   I appreciate the feedback from you and everyone else - thanks!
   
   --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ 
 wrote:
   
This is definitely not normal behavior, so you must have 
 something
unusual going on.  We haven't seen any code so we are just 
 stabbing 
   in
the dark.

 

Rip out everything until it works, start adding it back til it 
   breaks.

 

Tracy

 



From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] 
   On
Behalf Of Tim Hoff
Sent: Friday, September 26, 2008 12:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: TabNavigator - have to click twice 
on 
 tab 
   to
display page

 


So, when you click the 2nd tab, does the 2nd tab remain 
 selected, or
does it switch back to the first tab? If it stays on the 2nd 
 tab, 
   are
you still seeing the content from the first tab, or is it just 
   blank;
until you click the 2nd tab again?

-TH

--- In flexcoders@yahoogroups.com 
   mailto:flexcoders%40yahoogroups.com
, donald_d_hook donald_d_hook@
wrote:

 TH -

 No, I m not doing that, thats what I thought it was 
 originally.

 Thanks

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ 
 wrote:
 
 
  Cool, one other thing to check would be if you are 
manually 
   setting
 the
  selectedIndex of the TabNavigator anywhere. Just guessing 
   though;
  without seeing the code.
 
  -TH
 
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , donald_d_hook 
   donald_d_hook@
  wrote:
  
   TH -
  
   THanks - I will give it a shot and see.
  
  
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ 
 wrote:
   
   
Sounds suspiciously like a callLater() solution. Have 
 you 
   tested
whether the creationComplete event is actually firing, 
   before
 you
   click
tab2, for all of the child components? Sometimes not 
 setting 
   the
   data,
in a timely fashion, can also make a view appear 
blank.
   
-TH
   
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
   manuraj.dhanda@
wrote:


 Hi Tracy,

 It's really an issue with TabNavigator and we had 
 faced 
   it.
 I won't say that I need to click the tab twice, but 
I 
 need 
   to
   switch
back to
 Tab1 and then come back to Tab2 to see the content 
on 
 my 
   2nd
 Tab.

 And yes, already tried with creationPolicy='all', 
but 
 it 
   din't
   worked.

 -Manu.


 Tracy Spratt wrote:
 
  Are you programatically doing anything with the 
 content 
   of
 tab
   2?
 
 
 
  Do you understand about deferred instantiation and
   creationPolicy?
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com ]
On
  Behalf Of donald_d_hook
  Sent: Thursday, September 25, 2008 2:15 PM
  To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] TabNavigator - have to click 
 twice 
   on
 tab
   to
  display page
 
 
 
  I have a tab navigator with 3 tabs. Each tab has a 
   canvas
 with
  several components on it. when the page is 
 displayed, 
   you
 see
   the
1st
  tab. When I navigate to the 2nd tab, I have to 
click 
 the 
   2nd
 tab
  twice in order to view the contents of the tab. It 
 looks
 like
   the
  first click on the 2nd tab goes back to the first 
 tab, 
   then
 the
   2nd
  click displays the contents of the 2nd tab.
 
  Was wondering if anyone has experienced 

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-30 Thread donald_d_hook
_rico - you may be right.  Thanks!


--- In flexcoders@yahoogroups.com, rleuthold [EMAIL PROTECTED] wrote:

 Maybe the issue is related to this bug - 
http://bugs.adobe.com/jira/browse/SDK-15974
 
 _rico
 
 --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@ 
wrote:
 
  Tracy - thanks - thats what I have started to do...
  
  I appreciate the feedback from you and everyone else - thanks!
  
  --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ 
wrote:
  
   This is definitely not normal behavior, so you must have 
something
   unusual going on.  We haven't seen any code so we are just 
stabbing 
  in
   the dark.
   

   
   Rip out everything until it works, start adding it back til it 
  breaks.
   

   
   Tracy
   

   
   
   
   From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] 
  On
   Behalf Of Tim Hoff
   Sent: Friday, September 26, 2008 12:52 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: TabNavigator - have to click twice on 
tab 
  to
   display page
   

   
   
   So, when you click the 2nd tab, does the 2nd tab remain 
selected, or
   does it switch back to the first tab? If it stays on the 2nd 
tab, 
  are
   you still seeing the content from the first tab, or is it just 
  blank;
   until you click the 2nd tab again?
   
   -TH
   
   --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com
   , donald_d_hook donald_d_hook@
   wrote:
   
TH -
   
No, I m not doing that, thats what I thought it was 
originally.
   
Thanks
   
--- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ 
wrote:


 Cool, one other thing to check would be if you are manually 
  setting
the
 selectedIndex of the TabNavigator anywhere. Just guessing 
  though;
 without seeing the code.

 -TH

 --- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , donald_d_hook 
  donald_d_hook@
 wrote:
 
  TH -
 
  THanks - I will give it a shot and see.
 
 
  --- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ 
wrote:
  
  
   Sounds suspiciously like a callLater() solution. Have 
you 
  tested
   whether the creationComplete event is actually firing, 
  before
you
  click
   tab2, for all of the child components? Sometimes not 
setting 
  the
  data,
   in a timely fashion, can also make a view appear blank.
  
   -TH
  
   --- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
  manuraj.dhanda@
   wrote:
   
   
Hi Tracy,
   
It's really an issue with TabNavigator and we had 
faced 
  it.
I won't say that I need to click the tab twice, but I 
need 
  to
  switch
   back to
Tab1 and then come back to Tab2 to see the content on 
my 
  2nd
Tab.
   
And yes, already tried with creationPolicy='all', but 
it 
  din't
  worked.
   
-Manu.
   
   
Tracy Spratt wrote:

 Are you programatically doing anything with the 
content 
  of
tab
  2?



 Do you understand about deferred instantiation and
  creationPolicy?



 Tracy



 

 From: flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com ]
   On
 Behalf Of donald_d_hook
 Sent: Thursday, September 25, 2008 2:15 PM
 To: flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] TabNavigator - have to click 
twice 
  on
tab
  to
 display page



 I have a tab navigator with 3 tabs. Each tab has a 
  canvas
with
 several components on it. when the page is 
displayed, 
  you
see
  the
   1st
 tab. When I navigate to the 2nd tab, I have to click 
the 
  2nd
tab
 twice in order to view the contents of the tab. It 
looks
like
  the
 first click on the 2nd tab goes back to the first 
tab, 
  then
the
  2nd
 click displays the contents of the 2nd tab.

 Was wondering if anyone has experienced this 
behavior 
  and
  wondering
 what I am doing wrong.

 Thanks in advance.





   
--
View this message in context:
   http://www.nabble.com/TabNavigator---have-to-click-
twice-on-
  tab-
   http://www.nabble.com/TabNavigator---have-to-click-twice-on-
tab- 
to-
  displ\
   ay-page-tp19675428p19681501.html
Sent from the FlexCoders mailing list archive at 
  

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
When I hit the 2nd tab, it flickers and the 1st tab is displayed 
(still since I started on the first tab).  I hit it again and he 
contents of the 2nd tab are displayed

Thanks


--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 So, when you click the 2nd tab, does the 2nd tab remain selected, or
 does it switch back to the first tab?  If it stays on the 2nd tab, 
are
 you still seeing the content from the first tab, or is it just 
blank;
 until you click the 2nd tab again?
 
 -TH
 
 --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@
 wrote:
 
  TH -
 
  No, I m not doing that, thats what I thought it was originally.
 
  Thanks
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
  
   Cool, one other thing to check would be if you are manually 
setting
  the
   selectedIndex of the TabNavigator anywhere. Just guessing 
though;
   without seeing the code.
  
   -TH
  
   --- In flexcoders@yahoogroups.com, donald_d_hook 
donald_d_hook@
   wrote:
   
TH -
   
THanks - I will give it a shot and see.
   
   
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:


 Sounds suspiciously like a callLater() solution. Have you 
tested
 whether the creationComplete event is actually firing, 
before
  you
click
 tab2, for all of the child components? Sometimes not setting 
the
data,
 in a timely fashion, can also make a view appear blank.

 -TH

 --- In flexcoders@yahoogroups.com, Manu Dhanda 
manuraj.dhanda@
 wrote:
 
 
  Hi Tracy,
 
  It's really an issue with TabNavigator and we had faced 
it.
  I won't say that I need to click the tab twice, but I need 
to
switch
 back to
  Tab1 and then come back to Tab2 to see the content on my 
2nd
  Tab.
 
  And yes, already tried with creationPolicy='all', but it 
din't
worked.
 
  -Manu.
 
 
  Tracy Spratt wrote:
  
   Are you programatically doing anything with the content 
of
  tab
2?
  
  
  
   Do you understand about deferred instantiation and
creationPolicy?
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
 On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] TabNavigator - have to click twice 
on
  tab
to
   display page
  
  
  
   I have a tab navigator with 3 tabs. Each tab has a 
canvas
  with
   several components on it. when the page is displayed, 
you
  see
the
 1st
   tab. When I navigate to the 2nd tab, I have to click the 
2nd
  tab
   twice in order to view the contents of the tab. It looks
  like
the
   first click on the 2nd tab goes back to the first tab, 
then
  the
2nd
   click displays the contents of the 2nd tab.
  
   Was wondering if anyone has experienced this behavior 
and
wondering
   what I am doing wrong.
  
   Thanks in advance.
  
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-
tab-
  to-
displ\
 ay-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at 
Nabble.com.
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
Hyder - thanks I will give it a shot

--- In flexcoders@yahoogroups.com, Hyder [EMAIL PROTECTED] wrote:

 It's definitely history management.
 
 Donald, do this... in your project settings, under flex compiler, 
 uncheck 'Enable integration with browser navigation... clean and 
 rebuild your project. It fixed it for me... but when I re-enable 
 integration with browser navigation, the issue re-appears.
 
 Try it and see what you get.
 
 Hyder
 www.GulfSpecials.com
 www.AlamgirDesigns.com
 alamgirdesigns.blogspot.com
 
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
 
  This is definitely not normal behavior, so you must have something
  unusual going on.  We haven't seen any code so we are just 
stabbing 
 in
  the dark.
  
   
  
  Rip out everything until it works, start adding it back til it 
 breaks.
  
   
  
  Tracy
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] 
 On
  Behalf Of Tim Hoff
  Sent: Friday, September 26, 2008 12:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: TabNavigator - have to click twice on 
tab 
 to
  display page
  
   
  
  
  So, when you click the 2nd tab, does the 2nd tab remain selected, 
or
  does it switch back to the first tab? If it stays on the 2nd tab, 
 are
  you still seeing the content from the first tab, or is it just 
 blank;
  until you click the 2nd tab again?
  
  -TH
  
  --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
  , donald_d_hook donald_d_hook@
  wrote:
  
   TH -
  
   No, I m not doing that, thats what I thought it was originally.
  
   Thanks
  
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
   
   
Cool, one other thing to check would be if you are manually 
 setting
   the
selectedIndex of the TabNavigator anywhere. Just guessing 
 though;
without seeing the code.
   
-TH
   
--- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , donald_d_hook 
 donald_d_hook@
wrote:

 TH -

 THanks - I will give it a shot and see.


 --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
 
 
  Sounds suspiciously like a callLater() solution. Have you 
 tested
  whether the creationComplete event is actually firing, 
 before
   you
 click
  tab2, for all of the child components? Sometimes not 
setting 
 the
 data,
  in a timely fashion, can also make a view appear blank.
 
  -TH
 
  --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
 manuraj.dhanda@
  wrote:
  
  
   Hi Tracy,
  
   It's really an issue with TabNavigator and we had faced 
 it.
   I won't say that I need to click the tab twice, but I 
need 
 to
 switch
  back to
   Tab1 and then come back to Tab2 to see the content on my 
 2nd
   Tab.
  
   And yes, already tried with creationPolicy='all', but it 
 din't
 worked.
  
   -Manu.
  
  
   Tracy Spratt wrote:
   
Are you programatically doing anything with the 
content 
 of
   tab
 2?
   
   
   
Do you understand about deferred instantiation and
 creationPolicy?
   
   
   
Tracy
   
   
   

   
From: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com ]
  On
Behalf Of donald_d_hook
Sent: Thursday, September 25, 2008 2:15 PM
To: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] TabNavigator - have to click 
twice 
 on
   tab
 to
display page
   
   
   
I have a tab navigator with 3 tabs. Each tab has a 
 canvas
   with
several components on it. when the page is displayed, 
 you
   see
 the
  1st
tab. When I navigate to the 2nd tab, I have to click 
the 
 2nd
   tab
twice in order to view the contents of the tab. It 
looks
   like
 the
first click on the 2nd tab goes back to the first tab, 
 then
   the
 2nd
click displays the contents of the 2nd tab.
   
Was wondering if anyone has experienced this behavior 
 and
 wondering
what I am doing wrong.
   
Thanks in advance.
   
   
   
   
   
  
   --
   View this message in context:
  http://www.nabble.com/TabNavigator---have-to-click-twice-
on-
 tab-
  http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab- 
   to-
 displ\
  ay-page-tp19675428p19681501.html
   Sent from the FlexCoders mailing list archive at 
 Nabble.com.
  
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
Tracy - thanks - thats what I have started to do...

I appreciate the feedback from you and everyone else - thanks!

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 This is definitely not normal behavior, so you must have something
 unusual going on.  We haven't seen any code so we are just stabbing 
in
 the dark.
 
  
 
 Rip out everything until it works, start adding it back til it 
breaks.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On
 Behalf Of Tim Hoff
 Sent: Friday, September 26, 2008 12:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: TabNavigator - have to click twice on tab 
to
 display page
 
  
 
 
 So, when you click the 2nd tab, does the 2nd tab remain selected, or
 does it switch back to the first tab? If it stays on the 2nd tab, 
are
 you still seeing the content from the first tab, or is it just 
blank;
 until you click the 2nd tab again?
 
 -TH
 
 --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com
 , donald_d_hook donald_d_hook@
 wrote:
 
  TH -
 
  No, I m not doing that, thats what I thought it was originally.
 
  Thanks
 
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
  
  
   Cool, one other thing to check would be if you are manually 
setting
  the
   selectedIndex of the TabNavigator anywhere. Just guessing 
though;
   without seeing the code.
  
   -TH
  
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , donald_d_hook 
donald_d_hook@
   wrote:
   
TH -
   
THanks - I will give it a shot and see.
   
   
--- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:


 Sounds suspiciously like a callLater() solution. Have you 
tested
 whether the creationComplete event is actually firing, 
before
  you
click
 tab2, for all of the child components? Sometimes not setting 
the
data,
 in a timely fashion, can also make a view appear blank.

 -TH

 --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
manuraj.dhanda@
 wrote:
 
 
  Hi Tracy,
 
  It's really an issue with TabNavigator and we had faced 
it.
  I won't say that I need to click the tab twice, but I need 
to
switch
 back to
  Tab1 and then come back to Tab2 to see the content on my 
2nd
  Tab.
 
  And yes, already tried with creationPolicy='all', but it 
din't
worked.
 
  -Manu.
 
 
  Tracy Spratt wrote:
  
   Are you programatically doing anything with the content 
of
  tab
2?
  
  
  
   Do you understand about deferred instantiation and
creationPolicy?
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com ]
 On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] TabNavigator - have to click twice 
on
  tab
to
   display page
  
  
  
   I have a tab navigator with 3 tabs. Each tab has a 
canvas
  with
   several components on it. when the page is displayed, 
you
  see
the
 1st
   tab. When I navigate to the 2nd tab, I have to click the 
2nd
  tab
   twice in order to view the contents of the tab. It looks
  like
the
   first click on the 2nd tab goes back to the first tab, 
then
  the
2nd
   click displays the contents of the 2nd tab.
  
   Was wondering if anyone has experienced this behavior 
and
wondering
   what I am doing wrong.
  
   Thanks in advance.
  
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-
tab-
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab- 
  to-
displ\
 ay-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at 
Nabble.com.
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread rleuthold
Maybe the issue is related to this bug - 
http://bugs.adobe.com/jira/browse/SDK-15974

_rico

--- In flexcoders@yahoogroups.com, donald_d_hook [EMAIL PROTECTED] wrote:

 Tracy - thanks - thats what I have started to do...
 
 I appreciate the feedback from you and everyone else - thanks!
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
 
  This is definitely not normal behavior, so you must have something
  unusual going on.  We haven't seen any code so we are just stabbing 
 in
  the dark.
  
   
  
  Rip out everything until it works, start adding it back til it 
 breaks.
  
   
  
  Tracy
  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 On
  Behalf Of Tim Hoff
  Sent: Friday, September 26, 2008 12:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: TabNavigator - have to click twice on tab 
 to
  display page
  
   
  
  
  So, when you click the 2nd tab, does the 2nd tab remain selected, or
  does it switch back to the first tab? If it stays on the 2nd tab, 
 are
  you still seeing the content from the first tab, or is it just 
 blank;
  until you click the 2nd tab again?
  
  -TH
  
  --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
  , donald_d_hook donald_d_hook@
  wrote:
  
   TH -
  
   No, I m not doing that, thats what I thought it was originally.
  
   Thanks
  
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
   
   
Cool, one other thing to check would be if you are manually 
 setting
   the
selectedIndex of the TabNavigator anywhere. Just guessing 
 though;
without seeing the code.
   
-TH
   
--- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , donald_d_hook 
 donald_d_hook@
wrote:

 TH -

 THanks - I will give it a shot and see.


 --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
 
 
  Sounds suspiciously like a callLater() solution. Have you 
 tested
  whether the creationComplete event is actually firing, 
 before
   you
 click
  tab2, for all of the child components? Sometimes not setting 
 the
 data,
  in a timely fashion, can also make a view appear blank.
 
  -TH
 
  --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
 manuraj.dhanda@
  wrote:
  
  
   Hi Tracy,
  
   It's really an issue with TabNavigator and we had faced 
 it.
   I won't say that I need to click the tab twice, but I need 
 to
 switch
  back to
   Tab1 and then come back to Tab2 to see the content on my 
 2nd
   Tab.
  
   And yes, already tried with creationPolicy='all', but it 
 din't
 worked.
  
   -Manu.
  
  
   Tracy Spratt wrote:
   
Are you programatically doing anything with the content 
 of
   tab
 2?
   
   
   
Do you understand about deferred instantiation and
 creationPolicy?
   
   
   
Tracy
   
   
   

   
From: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com ]
  On
Behalf Of donald_d_hook
Sent: Thursday, September 25, 2008 2:15 PM
To: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] TabNavigator - have to click twice 
 on
   tab
 to
display page
   
   
   
I have a tab navigator with 3 tabs. Each tab has a 
 canvas
   with
several components on it. when the page is displayed, 
 you
   see
 the
  1st
tab. When I navigate to the 2nd tab, I have to click the 
 2nd
   tab
twice in order to view the contents of the tab. It looks
   like
 the
first click on the 2nd tab goes back to the first tab, 
 then
   the
 2nd
click displays the contents of the 2nd tab.
   
Was wondering if anyone has experienced this behavior 
 and
 wondering
what I am doing wrong.
   
Thanks in advance.
   
   
   
   
   
  
   --
   View this message in context:
  http://www.nabble.com/TabNavigator---have-to-click-twice-on-
 tab-
  http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab- 
   to-
 displ\
  ay-page-tp19675428p19681501.html
   Sent from the FlexCoders mailing list archive at 
 Nabble.com.
  
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
Hyder -

Thanks for your insight - I will check it out as well to see if I have 
the same results.

Thanks!

--- In flexcoders@yahoogroups.com, Hyder [EMAIL PROTECTED] wrote:

 I started having the same problem with my application recently. 
What's 
 interesting is that it only happens with the debug version of my 
 application. The debug version, not necessarily in debug mode 
 (application-debug.swf). But when I compile a release version, the 
 tabnav works just fine.
 
 Also, after further testing, I noticed that it actually really 
happens 
 only in my development environment. When I move the compiled debug 
 version over to the server, it works fine!
 
 Ahh... another thing, when i open the debug version swf in a 
 standalone flash player, it works fine. So, I've narrowed it down to 
 one of the html / js files... it probably has something to do with 
 history management, i'm thinking.
 
 Will post on further updates.
 
 
 Hyder
 
 
 --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@ 
 wrote:
 
  
  Hi Tracy,
  
  It's really an issue with TabNavigator and we had faced it.
  I won't say that I need to click the tab twice, but I need to 
switch 
 back to
  Tab1 and then come back to Tab2 to see the content on my 2nd Tab.
  
  And yes, already tried with creationPolicy='all', but it din't 
 worked.
  
  -Manu.
  
  
  Tracy Spratt wrote:
   
   Are you programatically doing anything with the content of tab 
2?
   

   
   Do you understand about deferred instantiation and 
creationPolicy?
   

   
   Tracy
   

   
   
   
   From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] TabNavigator - have to click twice on tab 
to
   display page
   

   
   I have a tab navigator with 3 tabs. Each tab has a canvas with 
   several components on it. when the page is displayed, you see 
the 
 1st 
   tab. When I navigate to the 2nd tab, I have to click the 2nd tab 
   twice in order to view the contents of the tab. It looks like 
the 
   first click on the 2nd tab goes back to the first tab, then the 
 2nd 
   click displays the contents of the 2nd tab.
   
   Was wondering if anyone has experienced this behavior and 
 wondering 
   what I am doing wrong.
   
   Thanks in advance.
   

   
   
   
  
  -- 
  View this message in context: http://www.nabble.com/TabNavigator--
-
 have-to-click-twice-on-tab-to-display-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
TH - 

THanks - I will give it a shot and see.


--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Sounds suspiciously like a callLater() solution.  Have you tested
 whether the creationComplete event is actually firing, before you 
click
 tab2, for all of the child components?  Sometimes not setting the 
data,
 in a timely fashion, can also make a view appear blank.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
 wrote:
 
 
  Hi Tracy,
 
  It's really an issue with TabNavigator and we had faced it.
  I won't say that I need to click the tab twice, but I need to 
switch
 back to
  Tab1 and then come back to Tab2 to see the content on my 2nd Tab.
 
  And yes, already tried with creationPolicy='all', but it din't 
worked.
 
  -Manu.
 
 
  Tracy Spratt wrote:
  
   Are you programatically doing anything with the content of tab 
2?
  
  
  
   Do you understand about deferred instantiation and 
creationPolicy?
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]
 On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] TabNavigator - have to click twice on tab 
to
   display page
  
  
  
   I have a tab navigator with 3 tabs. Each tab has a canvas with
   several components on it. when the page is displayed, you see 
the
 1st
   tab. When I navigate to the 2nd tab, I have to click the 2nd tab
   twice in order to view the contents of the tab. It looks like 
the
   first click on the 2nd tab goes back to the first tab, then the 
2nd
   click displays the contents of the 2nd tab.
  
   Was wondering if anyone has experienced this behavior and 
wondering
   what I am doing wrong.
  
   Thanks in advance.
  
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-to-
displ\
 ay-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff

Cool, one other thing to check would be if you are manually setting the
selectedIndex of the TabNavigator anywhere.  Just guessing though;
without seeing the code.

-TH

--- In flexcoders@yahoogroups.com, donald_d_hook [EMAIL PROTECTED]
wrote:

 TH -

 THanks - I will give it a shot and see.


 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Sounds suspiciously like a callLater() solution. Have you tested
  whether the creationComplete event is actually firing, before you
 click
  tab2, for all of the child components? Sometimes not setting the
 data,
  in a timely fashion, can also make a view appear blank.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
  wrote:
  
  
   Hi Tracy,
  
   It's really an issue with TabNavigator and we had faced it.
   I won't say that I need to click the tab twice, but I need to
 switch
  back to
   Tab1 and then come back to Tab2 to see the content on my 2nd Tab.
  
   And yes, already tried with creationPolicy='all', but it din't
 worked.
  
   -Manu.
  
  
   Tracy Spratt wrote:
   
Are you programatically doing anything with the content of tab
 2?
   
   
   
Do you understand about deferred instantiation and
 creationPolicy?
   
   
   
Tracy
   
   
   

   
From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED]
  On
Behalf Of donald_d_hook
Sent: Thursday, September 25, 2008 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TabNavigator - have to click twice on tab
 to
display page
   
   
   
I have a tab navigator with 3 tabs. Each tab has a canvas with
several components on it. when the page is displayed, you see
 the
  1st
tab. When I navigate to the 2nd tab, I have to click the 2nd tab
twice in order to view the contents of the tab. It looks like
 the
first click on the 2nd tab goes back to the first tab, then the
 2nd
click displays the contents of the 2nd tab.
   
Was wondering if anyone has experienced this behavior and
 wondering
what I am doing wrong.
   
Thanks in advance.
   
   
   
   
   
  
   --
   View this message in context:
  http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-to-
 displ\
  ay-page-tp19675428p19681501.html
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
TH -

No, I m not doing that, thats what I thought it was originally.

Thanks

--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Cool, one other thing to check would be if you are manually setting 
the
 selectedIndex of the TabNavigator anywhere.  Just guessing though;
 without seeing the code.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@
 wrote:
 
  TH -
 
  THanks - I will give it a shot and see.
 
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
  
   Sounds suspiciously like a callLater() solution. Have you tested
   whether the creationComplete event is actually firing, before 
you
  click
   tab2, for all of the child components? Sometimes not setting the
  data,
   in a timely fashion, can also make a view appear blank.
  
   -TH
  
   --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
   wrote:
   
   
Hi Tracy,
   
It's really an issue with TabNavigator and we had faced it.
I won't say that I need to click the tab twice, but I need to
  switch
   back to
Tab1 and then come back to Tab2 to see the content on my 2nd 
Tab.
   
And yes, already tried with creationPolicy='all', but it din't
  worked.
   
-Manu.
   
   
Tracy Spratt wrote:

 Are you programatically doing anything with the content of 
tab
  2?



 Do you understand about deferred instantiation and
  creationPolicy?



 Tracy



 

 From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
   On
 Behalf Of donald_d_hook
 Sent: Thursday, September 25, 2008 2:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] TabNavigator - have to click twice on 
tab
  to
 display page



 I have a tab navigator with 3 tabs. Each tab has a canvas 
with
 several components on it. when the page is displayed, you 
see
  the
   1st
 tab. When I navigate to the 2nd tab, I have to click the 2nd 
tab
 twice in order to view the contents of the tab. It looks 
like
  the
 first click on the 2nd tab goes back to the first tab, then 
the
  2nd
 click displays the contents of the 2nd tab.

 Was wondering if anyone has experienced this behavior and
  wondering
 what I am doing wrong.

 Thanks in advance.





   
--
View this message in context:
   http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-
to-
  displ\
   ay-page-tp19675428p19681501.html
Sent from the FlexCoders mailing list archive at Nabble.com.
   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff

So, when you click the 2nd tab, does the 2nd tab remain selected, or
does it switch back to the first tab?  If it stays on the 2nd tab, are
you still seeing the content from the first tab, or is it just blank;
until you click the 2nd tab again?

-TH

--- In flexcoders@yahoogroups.com, donald_d_hook [EMAIL PROTECTED]
wrote:

 TH -

 No, I m not doing that, thats what I thought it was originally.

 Thanks

 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Cool, one other thing to check would be if you are manually setting
 the
  selectedIndex of the TabNavigator anywhere. Just guessing though;
  without seeing the code.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@
  wrote:
  
   TH -
  
   THanks - I will give it a shot and see.
  
  
   --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
   
   
Sounds suspiciously like a callLater() solution. Have you tested
whether the creationComplete event is actually firing, before
 you
   click
tab2, for all of the child components? Sometimes not setting the
   data,
in a timely fashion, can also make a view appear blank.
   
-TH
   
--- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
wrote:


 Hi Tracy,

 It's really an issue with TabNavigator and we had faced it.
 I won't say that I need to click the tab twice, but I need to
   switch
back to
 Tab1 and then come back to Tab2 to see the content on my 2nd
 Tab.

 And yes, already tried with creationPolicy='all', but it din't
   worked.

 -Manu.


 Tracy Spratt wrote:
 
  Are you programatically doing anything with the content of
 tab
   2?
 
 
 
  Do you understand about deferred instantiation and
   creationPolicy?
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED]
On
  Behalf Of donald_d_hook
  Sent: Thursday, September 25, 2008 2:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] TabNavigator - have to click twice on
 tab
   to
  display page
 
 
 
  I have a tab navigator with 3 tabs. Each tab has a canvas
 with
  several components on it. when the page is displayed, you
 see
   the
1st
  tab. When I navigate to the 2nd tab, I have to click the 2nd
 tab
  twice in order to view the contents of the tab. It looks
 like
   the
  first click on the 2nd tab goes back to the first tab, then
 the
   2nd
  click displays the contents of the 2nd tab.
 
  Was wondering if anyone has experienced this behavior and
   wondering
  what I am doing wrong.
 
  Thanks in advance.
 
 
 
 
 

 --
 View this message in context:
http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-
 to-
   displ\
ay-page-tp19675428p19681501.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

   
  
 






RE: [flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tracy Spratt
This is definitely not normal behavior, so you must have something
unusual going on.  We haven't seen any code so we are just stabbing in
the dark.

 

Rip out everything until it works, start adding it back til it breaks.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Hoff
Sent: Friday, September 26, 2008 12:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: TabNavigator - have to click twice on tab to
display page

 


So, when you click the 2nd tab, does the 2nd tab remain selected, or
does it switch back to the first tab? If it stays on the 2nd tab, are
you still seeing the content from the first tab, or is it just blank;
until you click the 2nd tab again?

-TH

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, donald_d_hook [EMAIL PROTECTED]
wrote:

 TH -

 No, I m not doing that, thats what I thought it was originally.

 Thanks

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
 
 
  Cool, one other thing to check would be if you are manually setting
 the
  selectedIndex of the TabNavigator anywhere. Just guessing though;
  without seeing the code.
 
  -TH
 
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , donald_d_hook donald_d_hook@
  wrote:
  
   TH -
  
   THanks - I will give it a shot and see.
  
  
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
   
   
Sounds suspiciously like a callLater() solution. Have you tested
whether the creationComplete event is actually firing, before
 you
   click
tab2, for all of the child components? Sometimes not setting the
   data,
in a timely fashion, can also make a view appear blank.
   
-TH
   
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Manu Dhanda manuraj.dhanda@
wrote:


 Hi Tracy,

 It's really an issue with TabNavigator and we had faced it.
 I won't say that I need to click the tab twice, but I need to
   switch
back to
 Tab1 and then come back to Tab2 to see the content on my 2nd
 Tab.

 And yes, already tried with creationPolicy='all', but it din't
   worked.

 -Manu.


 Tracy Spratt wrote:
 
  Are you programatically doing anything with the content of
 tab
   2?
 
 
 
  Do you understand about deferred instantiation and
   creationPolicy?
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com ]
On
  Behalf Of donald_d_hook
  Sent: Thursday, September 25, 2008 2:15 PM
  To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] TabNavigator - have to click twice on
 tab
   to
  display page
 
 
 
  I have a tab navigator with 3 tabs. Each tab has a canvas
 with
  several components on it. when the page is displayed, you
 see
   the
1st
  tab. When I navigate to the 2nd tab, I have to click the 2nd
 tab
  twice in order to view the contents of the tab. It looks
 like
   the
  first click on the 2nd tab goes back to the first tab, then
 the
   2nd
  click displays the contents of the 2nd tab.
 
  Was wondering if anyone has experienced this behavior and
   wondering
  what I am doing wrong.
 
  Thanks in advance.
 
 
 
 
 

 --
 View this message in context:
http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-
http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab- 
 to-
   displ\
ay-page-tp19675428p19681501.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

   
  
 


 



[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
When I hit the 2nd tab, it flickers and the 1st tab is displayed 
(still since I started on the first tab).  I hit it again and he 
contents of the 2nd tab are displayed

Thanks


--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 So, when you click the 2nd tab, does the 2nd tab remain selected, or
 does it switch back to the first tab?  If it stays on the 2nd tab, 
are
 you still seeing the content from the first tab, or is it just 
blank;
 until you click the 2nd tab again?
 
 -TH
 
 --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@
 wrote:
 
  TH -
 
  No, I m not doing that, thats what I thought it was originally.
 
  Thanks
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
  
   Cool, one other thing to check would be if you are manually 
setting
  the
   selectedIndex of the TabNavigator anywhere. Just guessing 
though;
   without seeing the code.
  
   -TH
  
   --- In flexcoders@yahoogroups.com, donald_d_hook 
donald_d_hook@
   wrote:
   
TH -
   
THanks - I will give it a shot and see.
   
   
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:


 Sounds suspiciously like a callLater() solution. Have you 
tested
 whether the creationComplete event is actually firing, 
before
  you
click
 tab2, for all of the child components? Sometimes not setting 
the
data,
 in a timely fashion, can also make a view appear blank.

 -TH

 --- In flexcoders@yahoogroups.com, Manu Dhanda 
manuraj.dhanda@
 wrote:
 
 
  Hi Tracy,
 
  It's really an issue with TabNavigator and we had faced 
it.
  I won't say that I need to click the tab twice, but I need 
to
switch
 back to
  Tab1 and then come back to Tab2 to see the content on my 
2nd
  Tab.
 
  And yes, already tried with creationPolicy='all', but it 
din't
worked.
 
  -Manu.
 
 
  Tracy Spratt wrote:
  
   Are you programatically doing anything with the content 
of
  tab
2?
  
  
  
   Do you understand about deferred instantiation and
creationPolicy?
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
 On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] TabNavigator - have to click twice 
on
  tab
to
   display page
  
  
  
   I have a tab navigator with 3 tabs. Each tab has a 
canvas
  with
   several components on it. when the page is displayed, 
you
  see
the
 1st
   tab. When I navigate to the 2nd tab, I have to click the 
2nd
  tab
   twice in order to view the contents of the tab. It looks
  like
the
   first click on the 2nd tab goes back to the first tab, 
then
  the
2nd
   click displays the contents of the 2nd tab.
  
   Was wondering if anyone has experienced this behavior 
and
wondering
   what I am doing wrong.
  
   Thanks in advance.
  
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-
tab-
  to-
displ\
 ay-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at 
Nabble.com.
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff

Something must be going on in your code that is setting the
selectedChild or selectedIndex.  As Tracy suggests, post some code and
maybe someone can help.  Another approach is to create a new test
application and build up the components from scratch; to see where the
problem is occuring.   More than likely an event (probably change) is
causing some code to execute that is setting the index.

-TH

--- In flexcoders@yahoogroups.com, donald_d_hook [EMAIL PROTECTED]
wrote:

 When I hit the 2nd tab, it flickers and the 1st tab is displayed
 (still since I started on the first tab). I hit it again and he
 contents of the 2nd tab are displayed

 Thanks


 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  So, when you click the 2nd tab, does the 2nd tab remain selected, or
  does it switch back to the first tab? If it stays on the 2nd tab,
 are
  you still seeing the content from the first tab, or is it just
 blank;
  until you click the 2nd tab again?
 
  -TH
 
  --- In flexcoders@yahoogroups.com, donald_d_hook donald_d_hook@
  wrote:
  
   TH -
  
   No, I m not doing that, thats what I thought it was originally.
  
   Thanks
  
   --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
   
   
Cool, one other thing to check would be if you are manually
 setting
   the
selectedIndex of the TabNavigator anywhere. Just guessing
 though;
without seeing the code.
   
-TH
   
--- In flexcoders@yahoogroups.com, donald_d_hook
 donald_d_hook@
wrote:

 TH -

 THanks - I will give it a shot and see.


 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Sounds suspiciously like a callLater() solution. Have you
 tested
  whether the creationComplete event is actually firing,
 before
   you
 click
  tab2, for all of the child components? Sometimes not setting
 the
 data,
  in a timely fashion, can also make a view appear blank.
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Manu Dhanda
 manuraj.dhanda@
  wrote:
  
  
   Hi Tracy,
  
   It's really an issue with TabNavigator and we had faced
 it.
   I won't say that I need to click the tab twice, but I need
 to
 switch
  back to
   Tab1 and then come back to Tab2 to see the content on my
 2nd
   Tab.
  
   And yes, already tried with creationPolicy='all', but it
 din't
 worked.
  
   -Manu.
  
  
   Tracy Spratt wrote:
   
Are you programatically doing anything with the content
 of
   tab
 2?
   
   
   
Do you understand about deferred instantiation and
 creationPolicy?
   
   
   
Tracy
   
   
   

   
From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED]
  On
Behalf Of donald_d_hook
Sent: Thursday, September 25, 2008 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TabNavigator - have to click twice
 on
   tab
 to
display page
   
   
   
I have a tab navigator with 3 tabs. Each tab has a
 canvas
   with
several components on it. when the page is displayed,
 you
   see
 the
  1st
tab. When I navigate to the 2nd tab, I have to click the
 2nd
   tab
twice in order to view the contents of the tab. It looks
   like
 the
first click on the 2nd tab goes back to the first tab,
 then
   the
 2nd
click displays the contents of the 2nd tab.
   
Was wondering if anyone has experienced this behavior
 and
 wondering
what I am doing wrong.
   
Thanks in advance.
   
   
   
   
   
  
   --
   View this message in context:
  http://www.nabble.com/TabNavigator---have-to-click-twice-on-
 tab-
   to-
 displ\
  ay-page-tp19675428p19681501.html
   Sent from the FlexCoders mailing list archive at
 Nabble.com.
  
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Hyder
It's definitely history management.

Donald, do this... in your project settings, under flex compiler, 
uncheck 'Enable integration with browser navigation... clean and 
rebuild your project. It fixed it for me... but when I re-enable 
integration with browser navigation, the issue re-appears.

Try it and see what you get.

Hyder
www.GulfSpecials.com
www.AlamgirDesigns.com
alamgirdesigns.blogspot.com


--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 This is definitely not normal behavior, so you must have something
 unusual going on.  We haven't seen any code so we are just stabbing 
in
 the dark.
 
  
 
 Rip out everything until it works, start adding it back til it 
breaks.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On
 Behalf Of Tim Hoff
 Sent: Friday, September 26, 2008 12:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: TabNavigator - have to click twice on tab 
to
 display page
 
  
 
 
 So, when you click the 2nd tab, does the 2nd tab remain selected, or
 does it switch back to the first tab? If it stays on the 2nd tab, 
are
 you still seeing the content from the first tab, or is it just 
blank;
 until you click the 2nd tab again?
 
 -TH
 
 --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com
 , donald_d_hook donald_d_hook@
 wrote:
 
  TH -
 
  No, I m not doing that, thats what I thought it was originally.
 
  Thanks
 
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:
  
  
   Cool, one other thing to check would be if you are manually 
setting
  the
   selectedIndex of the TabNavigator anywhere. Just guessing 
though;
   without seeing the code.
  
   -TH
  
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , donald_d_hook 
donald_d_hook@
   wrote:
   
TH -
   
THanks - I will give it a shot and see.
   
   
--- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Tim Hoff TimHoff@ wrote:


 Sounds suspiciously like a callLater() solution. Have you 
tested
 whether the creationComplete event is actually firing, 
before
  you
click
 tab2, for all of the child components? Sometimes not setting 
the
data,
 in a timely fashion, can also make a view appear blank.

 -TH

 --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Manu Dhanda 
manuraj.dhanda@
 wrote:
 
 
  Hi Tracy,
 
  It's really an issue with TabNavigator and we had faced 
it.
  I won't say that I need to click the tab twice, but I need 
to
switch
 back to
  Tab1 and then come back to Tab2 to see the content on my 
2nd
  Tab.
 
  And yes, already tried with creationPolicy='all', but it 
din't
worked.
 
  -Manu.
 
 
  Tracy Spratt wrote:
  
   Are you programatically doing anything with the content 
of
  tab
2?
  
  
  
   Do you understand about deferred instantiation and
creationPolicy?
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com ]
 On
   Behalf Of donald_d_hook
   Sent: Thursday, September 25, 2008 2:15 PM
   To: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] TabNavigator - have to click twice 
on
  tab
to
   display page
  
  
  
   I have a tab navigator with 3 tabs. Each tab has a 
canvas
  with
   several components on it. when the page is displayed, 
you
  see
the
 1st
   tab. When I navigate to the 2nd tab, I have to click the 
2nd
  tab
   twice in order to view the contents of the tab. It looks
  like
the
   first click on the 2nd tab goes back to the first tab, 
then
  the
2nd
   click displays the contents of the 2nd tab.
  
   Was wondering if anyone has experienced this behavior 
and
wondering
   what I am doing wrong.
  
   Thanks in advance.
  
  
  
  
  
 
  --
  View this message in context:
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-
tab-
 http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab- 
  to-
displ\
 ay-page-tp19675428p19681501.html
  Sent from the FlexCoders mailing list archive at 
Nabble.com.
 

   
  
 






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread Hyder
I started having the same problem with my application recently. What's 
interesting is that it only happens with the debug version of my 
application. The debug version, not necessarily in debug mode 
(application-debug.swf). But when I compile a release version, the 
tabnav works just fine.

Also, after further testing, I noticed that it actually really happens 
only in my development environment. When I move the compiled debug 
version over to the server, it works fine!

Ahh... another thing, when i open the debug version swf in a 
standalone flash player, it works fine. So, I've narrowed it down to 
one of the html / js files... it probably has something to do with 
history management, i'm thinking.

Will post on further updates.


Hyder


--- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] 
wrote:

 
 Hi Tracy,
 
 It's really an issue with TabNavigator and we had faced it.
 I won't say that I need to click the tab twice, but I need to switch 
back to
 Tab1 and then come back to Tab2 to see the content on my 2nd Tab.
 
 And yes, already tried with creationPolicy='all', but it din't 
worked.
 
 -Manu.
 
 
 Tracy Spratt wrote:
  
  Are you programatically doing anything with the content of tab 2?
  
   
  
  Do you understand about deferred instantiation and creationPolicy?
  
   
  
  Tracy
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of donald_d_hook
  Sent: Thursday, September 25, 2008 2:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] TabNavigator - have to click twice on tab to
  display page
  
   
  
  I have a tab navigator with 3 tabs. Each tab has a canvas with 
  several components on it. when the page is displayed, you see the 
1st 
  tab. When I navigate to the 2nd tab, I have to click the 2nd tab 
  twice in order to view the contents of the tab. It looks like the 
  first click on the 2nd tab goes back to the first tab, then the 
2nd 
  click displays the contents of the 2nd tab.
  
  Was wondering if anyone has experienced this behavior and 
wondering 
  what I am doing wrong.
  
  Thanks in advance.
  
   
  
  
  
 
 -- 
 View this message in context: http://www.nabble.com/TabNavigator---
have-to-click-twice-on-tab-to-display-page-tp19675428p19681501.html
 Sent from the FlexCoders mailing list archive at Nabble.com.






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread Tim Hoff

Sounds suspiciously like a callLater() solution.  Have you tested
whether the creationComplete event is actually firing, before you click
tab2, for all of the child components?  Sometimes not setting the data,
in a timely fashion, can also make a view appear blank.

-TH

--- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED]
wrote:


 Hi Tracy,

 It's really an issue with TabNavigator and we had faced it.
 I won't say that I need to click the tab twice, but I need to switch
back to
 Tab1 and then come back to Tab2 to see the content on my 2nd Tab.

 And yes, already tried with creationPolicy='all', but it din't worked.

 -Manu.


 Tracy Spratt wrote:
 
  Are you programatically doing anything with the content of tab 2?
 
 
 
  Do you understand about deferred instantiation and creationPolicy?
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
  Behalf Of donald_d_hook
  Sent: Thursday, September 25, 2008 2:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] TabNavigator - have to click twice on tab to
  display page
 
 
 
  I have a tab navigator with 3 tabs. Each tab has a canvas with
  several components on it. when the page is displayed, you see the
1st
  tab. When I navigate to the 2nd tab, I have to click the 2nd tab
  twice in order to view the contents of the tab. It looks like the
  first click on the 2nd tab goes back to the first tab, then the 2nd
  click displays the contents of the 2nd tab.
 
  Was wondering if anyone has experienced this behavior and wondering
  what I am doing wrong.
 
  Thanks in advance.
 
 
 
 
 

 --
 View this message in context:
http://www.nabble.com/TabNavigator---have-to-click-twice-on-tab-to-displ\
ay-page-tp19675428p19681501.html
 Sent from the FlexCoders mailing list archive at Nabble.com.






[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread donald_d_hook
Tracy -

No, I am not doing anything with the content or events.  I will take a 
look at instantiation and the creationPolicy...

Thanks ...

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 Are you programatically doing anything with the content of tab 2?
 
  
 
 Do you understand about deferred instantiation and creationPolicy?
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On
 Behalf Of donald_d_hook
 Sent: Thursday, September 25, 2008 2:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] TabNavigator - have to click twice on tab to
 display page
 
  
 
 I have a tab navigator with 3 tabs. Each tab has a canvas with 
 several components on it. when the page is displayed, you see the 
1st 
 tab. When I navigate to the 2nd tab, I have to click the 2nd tab 
 twice in order to view the contents of the tab. It looks like the 
 first click on the 2nd tab goes back to the first tab, then the 2nd 
 click displays the contents of the 2nd tab.
 
 Was wondering if anyone has experienced this behavior and wondering 
 what I am doing wrong.
 
 Thanks in advance.