I am sorry to report that there is no official way to do this.  The
unofficial way is to set the navItemFactory property in the mx_internal
namespace to an IFactory for your button.  Just keep in mind that the
API in this area may change in a future release and break your app.

 

-Alex

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of dmiramontesval
Sent: Friday, November 24, 2006 7:40 AM
To: [email protected]
Subject: [flexcomponents] Re: Modifying the TabBar control

 

Thanks but it is not what i am looking for, i want to use a custom
Button which has some extra functionality that the default Flex button
doesn't have.

Any ideas? anyone? please

--- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> , "Rajesh Bhadra"
<[EMAIL PROTECTED]>
wrote:
>
> Hi,
> I can tell you what i have done with my requirement.I had applied
skin to
> the TabBar using the Style(CSS) tag to the TabBar.Following is the
snippet
> you have to put in the Style tag for the TabBar component..Hope this
works
> for you.
> Any image can be shown instead of the normal Button looking
TabBar.You can
> draw the image in photoshop etc and give its path inside the Style
tag.
> Snippet..
> 
> 
> TabBar
> {
> upSkin : Embed('myImagelooking like tabbar.jpg/png/bmp');
> }
> 
> You can embed any image over there but i wud suggest you to use PNG
file.
> 
> Regards,
> Rajesh Bhadra
> Magnet Technologies Pvt Ltd.
> 
> 
> 
> 
> On 11/23/06, dmiramontesval <[EMAIL PROTECTED]> wrote:
> >
> > Hello i am trying to extend the TabBar control so it would use a
> > custom Button class that i did, so i wonder how to do this.
> > Accordion components for example, have a headerRenderer property
which
> > is the Button class to use, but the TabBar doesn't seem to have this
> > property.
> > Any ideas on how to do this? tell the TabBar which Button class to
use
> > for its tabs?
> >
> > Thanks
> >
> > Diego
> >
> > 
> >
>

 

Reply via email to