[flexcoders] Re: Date chooser component with only months and years

2008-09-28 Thread james.tundra
Hi, You can hide the date grid in the component, by using the mx_internal namespace: e.g: myDateChooser.mx_internal::dateGrid.visible = false you can then just grab the month / year values as you need them: var month:int = myDateChooser.displayedMonth var year:int = myDateChooser.displayedYear

[flexcoders] TabNavigator selectedIndex property

2007-05-31 Thread james.tundra
Hey all, I've run into a problem when trying to set the selectedIndex property on a TabNavigator. The TabNavigator is set in mxml, however I am adding and removing children with AS3 at runtime depending on what node the user clicks in a Tree control (hope that makes sense). The children are