Content

Bill Gates Touched My Mac Book Pro

New MinimalComps. And now on Google Code

Sunday 6 April 2008 - Filed under Components + Flash

I know people are using these. It’s fun randomly running into them here and there on the web. I even have people submitting changes and fixes for them. And, I’ve been continuing to add to them. So it’s time to make them a little more accessible. You can now get the MinimalComps set right on Google Code:

http://code.google.com/p/minimalcomps/

As alluded to in recent posts, there are a few new components. Meet the Meter, Rotary Selector, and Indicator Light.

Meter displays a value within a certain range, like an old volt meter.

Rotary Selector allows you to select one of a number of choices. Same basic functionality as a Radio Button Group. You can click on the right or left side of the knob to “turn” it left or right, or click directly on one of the choices to jump to that. Choice labels can be alphabetic (A, B, C), numeric (1, 2, 3), or Roman Numerals (I, II, III). Maximum of 10 choices. I’ll probably open it up to custom labels later.

Indicator is either lit or not, or flashing at a user-definable rate. Color is also configurable.

Also, as mentioned earlier, the Pushbutton component now has a “toggle” parameter, which makes the button toggle-able – either up or down, as well as a “selected” property to tell you whether it is up or down (if it is a toggle button).

Oh, and one last thing. I changed the license from Creative Commons, which is actually rather restrictive and not really well-suited for code libraries, to MIT, which seems to be pretty open. Enjoy.

2008-04-06  »  keith

Talkback x 14

  1. Najier
    6 April 2008 @ 10:36 pm

    Fantastic work!

    Do u have examples on how to use these lean and mean components?

    Any plans on to crank out a Grid?

  2. FlashBookmarks
    7 April 2008 @ 12:35 am

    Great move thanks a lot, we will add this on our website.

  3. lwz7512
    7 April 2008 @ 12:56 am

    thanks for you components, but, are your swf in your page debug version?
    it cause the debugger window appear in Firefox 2.0.0.13.

  4. lwz7512
    7 April 2008 @ 8:19 am

    I have modified your Meter component to add value label, for details:
    http://www.openria.cn/index.php/archives/68

  5. Not-so-Minimal Scrollbar at Bumpslide
    7 April 2008 @ 5:17 pm

    [...] view component development, I’ve been building on top of Kieth Peters’ MinimalComps, a beautifully simple component API. He has just moved this code to it’s own googlecode home, [...]

  6. katopz
    8 April 2008 @ 4:59 am

    i used it, also mod some here

    + Tree 4kb
    http://sleepydesign.com/labs/as3/MinimalComps/Tree.html

    + Calendar 5kb
    http://sleepydesign.com/labs/as3/MinimalComps/Calendar.html

    i’m not sure that i can release the code?(with some bug ,lol)

  7. Daman
    8 April 2008 @ 11:15 am

    I had a problem with the components, in a simple flash CS3 timeline example (I posted an issue on the google code page), the text did’nt displayed . I tried in FlashDevelop, it says that :

    C:\www\projet\classes\com\bit101\components\Component.as(46): col: 4: Error: unable to resolve ‘/assets/pf_ronda_seven.ttf’ for transcoding
    [Embed(source="/assets/pf_ronda_seven.ttf", fontName="PF Ronda Seven", mimeType="application/x-font")]
    ^
    C:\www\projet\classes\com\bit101\components\Component.as(46): col: 4: Error: Unable to transcode /assets/pf_ronda_seven.ttf.
    ^

    It looks like an embedding problem . Why ??

  8. s.koch
    10 April 2008 @ 5:06 pm

    Daman: If I’m not mistaken, you’ll need to create a new Font for the library in CS3 (Keith included these free fonts in the package).

  9. jk
    11 April 2008 @ 12:33 am

    I would like to see a Tree Component

  10. Choosing an AS3 component framework : The Computus Engine
    22 April 2008 @ 5:39 pm

    [...] from Keith Peters. His MinimalComps are really lightweight and there are loads of them. You can see examples of these on his site or pick up the code for them from Google [...]

  11. Inside the Bit-101 MinimalComps : The Computus Engine
    24 April 2008 @ 5:20 am

    [...] few weeks ago Keith Peters posted a set of lightweight AS3 Components up on GoogleCode. They are really simple to use so I [...]

  12. Eugene
    9 July 2008 @ 7:00 am

    Hi

    just wanted you to know that i used your great components in one public project:
    http://www.inspirit.ru/exchange/ascii_saver/

    thanx for providing such great and easy to use components.

  13. astatic notes
    22 September 2008 @ 5:13 pm

    Color depths scanner…

    This is pretty old experiment. But I finally find some time to add controls and optimize it alittle.
    At the time when Benoit posted his experiment I was playing with pixel 3D movements so it was nice idea to test how fast it could work.
    There is no Pap…

  14. Playing with Alchemy : C64 Music Playback on Flash 10.
    12 February 2009 @ 1:26 pm

    [...] Flash Player team for this effort. Just now I spent half an hour building a tiny interface using Keith Peter’s Minimal Components, and collected some songs; and here it [...]

Share your thoughts

Re: New MinimalComps. And now on Google Code







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>