Home > ui.navigator > Spark :: Skinnable Navigator library :: Open Source

Spark :: Skinnable Navigator library :: Open Source

Hello,

It’s been since July since I have posted anything, that was due to the fact I have been working on some very large AIR projects, polishing up asblocks(ActionScript3 DOM parser framework) and another OpneSource AIR application that should be of interest to a lot of AS3 programmers that hate writing ASDoc documentation.

I know from google analytics there have been a lot of interest in Spark navigators, yes the skinnable kind. I wrote a blog post about a year or so ago called Spark navigators :: ViewStack – TabNavigator – Accordion. Read the post if you want images or more information.

Basically, I have decided to open source it because I am using it in a lot of my open source projects. The TabNavigator works great, one thing that is missing I think is proper keyboard support but that is on the list.

The libraries features to date include;

Components

  • ViewStack
  • TabNavigator
  • TabBar
  • TabButton
  • Accordion, AccordionHeader

Skins

  • ViewStackSkin
  • TabNavigatorSkin
  • TabBarSkin, TabTopSkin, TabBottomSkin, TabLeftSkin, TabRightSkin
  • AccordionSkin, AccordionHeaderSkin
  • SimpleBorderSkin

Layouts

  • ViewStackLayout
  • TabNavigatorSkinLayout
  • HorizontalButtonBarLayout
  • VerticalButtonBarLayout
  • AccordionSkinLayout
  • AccordionSkinLayoutAnimated

Major Features:

  • Skinnable TabNavigator
  • Multi-state close button functionality
  • Cancelable CLOSE Event
  • Top, right, bottom and left tabbar placement

Source Code:

GitHub ui.navigator library

Any bug finds appreciated, there is still much to do and consider this a beta release. I have not yet refactored and asdoced properly yet.

Mike

  1. oliver
    October 18th, 2011 at 02:33 | #1

    Hello Michael, sounds like a very usefull component! There is just one thing that might be related with the last update:
    I downloaded the source package from github. Flashbuilder tolds me that there is one class missing:

    import org.teotigraphix.ui.utils.StyleUtil;

    Kind regards

    Oliver

  2. Michael
    October 23rd, 2011 at 13:03 | #2

    Hi Michael, great to hear these will be open source! I’m really interested in them, especially a Spark Accordion control which I don’t see in GitHub yet. Looking forward to checking it out.

    Michael

  3. October 24th, 2011 at 05:59 | #3

    Hi,

    Yeah, the version I committed to GIT does not include the Accordion source. I have to check into that, I think I took it out last year for some reason but I should be able to get the code back together and commit it.

    Mike

  4. October 24th, 2011 at 06:00 | #4

    Hi,

    You need to include the spark.common library that is on GIT as well. Or just copy the StyleUtils somewhere and include it in the source you pulled from GIT.

    Mike

*