Finally got a chance to spend a few minutes on this.  Couple of things:

 

1) setFocusOnFirstProgram is called too soon.  The schedule has the data
but hasn't created renderers yet.  Probably best to wait for
updateComplete or creationComplete.

2) The scheduler is nested.  It contains a content child that contains
an entryViewer that contains the renderer.  All layers need to have
tabChildren = true.  Calling getChild on the schedule just returns an
internal child and not your renderers.

 

HTH,

-Alex

 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Saturday, December 22, 2007 2:19 PM
To: [email protected]
Subject: [flexcoders] Re: tabEnabled not enabling

 

Here is the link with the viewSource enabled. Hopefully you can help
me out. Just a refresher: its a TV scheduler not unlike the channel
guide for your tv. I cannot get the programs (the children of the
schedule) to be focusEnabled/tabEnabled. The end result has to be
controllable by a tv remote so i have to be able to use key up/down to
navigate. 

http://www.coreysmaller.com/XMLTV/xmltv/bin-release/srcview/index.html
<http://www.coreysmaller.com/XMLTV/xmltv/bin-release/srcview/index.html>


--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Can you post your code with view source enabled?
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Corey Smaller
> Sent: Tuesday, December 18, 2007 5:53 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] tabEnabled not enabling
> 
> 
> 
> after much pain and suffering with this Flexlib Schduler, i have set
> my schedule program objects (entry) to tabEnabled= "true",
> tabchildren="true", focusEnabled="true" . I have traced the tab index
> of each item when I click it and the index number shows up so i know
> the entry is enabled so I figured the tab navigation should work
> right? um..nope.
> 
> in my main mxml my scheduleViewer (which contain the enntries) 
> focusEnabled="true" tabChildren="true" and tabEnabled="true" . I have
> tried changing tabEnabled="false" and focusEnabled='false" and several
> combos of each to no avail. 
> I need a stiff drink.
>

 

Reply via email to