Manish,

That is a solution as well but, Adobe needs to make anything that is
IFactory and public renderer property.

Why go to the trouble of typing IFactory when you are not making that
interface available publicly through a navButtonRenderer() property.

If is is such a problem, than the design internally needs to be changed. I
have made enough moster components to know that anything could be turned
into a renderer and made public. I you need to create an interface, then it
makes it even easier on the concrete side.

Peace, Mike

On 6/7/07, Manish Jethani <[EMAIL PROTECTED]> wrote:

  On 6/6/07, rashmi_nraj <[EMAIL PROTECTED]<rashmi.nagaraj%40gmail.com>>
wrote:

> I am facing an issue with TabBar. I have extended the TabBar so that
> it uses a custom Tab created by me.
> I am able to do it without any hassle by using the namespace
mx_internal.
>
> But I do not want to use it as the code might break in the future
> releases of Flex.

You could override createNavItem() in your subclass and create an
instance of your specific button/tab class.



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to