import mx.core.mx_internal; use namespace mx_internal; Note that this API is not officially supported.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of myasandy2 Sent: Monday, November 26, 2007 11:45 AM To: [email protected] Subject: [flexcoders] Re: multiline button on button bar Alex - Thanks for the help. I am still stuck. I'm newbie at extending classes. NavBar.as has this note: /** * @private * The factory that generates the instances of the navigation items. * It generates instances of ButtonBarButton for ButtonBar and * ToggleButtonBar, of LinkButton for LinkBar, and of Tab for TabBar. * This var is expected to be set before the navigation items are created; * setting it does not re-create existing navigation items based on the * new factory. */ mx_internal var navItemFactory:IFactory = new ClassFactory (Button); I get an error that I am attemption to access an inaccessable property navItemFactory. I also think I may be setting the var after the item is created. Thanks for your assistance. Sandy --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You would set navItemFactory to a class factory for your button. >

