Tabbar custom buttons

Posted on 2011-10-16
Last Modified: 2012-06-27
Dear experts ..
i am building a project on flex using framework sdk 4.5
i want to implement a tabbar but with fully customized buttons .
i looked around the internet but with very pure resources about this specific issue .
you can find below an attached image showing what i want to do .
     the desired tabbar look
Question by:mokatell
    LVL 2

    Accepted Solution

    Standing to what documentation says about tabbar:

    The set of tabs is defined by the dataProvider property. The appearance of the TabBar is defined by the TabBarSkin class. The appearance of each tab is defined by the TabBarButtonSkin class.
    (the documentation about TabBar class is hereSpark_TabBar)

    In general you should extend the TabBarSkin class and TabBarButtonskin class and apply your new skins to your tabbar, this means apply new TabBarButtonSkin to TabBarSkin and then apply TabBarSkin to TabBar.
    Here you can find practical example of the process i mentioned, you should use that as a start point for your final design.

    If you want to go deeper into skinning start reading this guideSpark_Skinning
    LVL 29

    Expert Comment


    Author Closing Comment

    the solution was good but i had to make some more research to finalize it

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now