New MinimalComps. And now on Google Code

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.

[kml_flashembed movie=”http://www.bit-101.com/blog/wp-content/uploads/2008/04/meterdemo.swf” width=”220″ height=”260″/]

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.

This entry was posted in Components, Flash. Bookmark the permalink.

9 Responses to New MinimalComps. And now on Google Code

  1. Najier says:

    Fantastic work!

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

    Any plans on to crank out a Grid?

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

  3. lwz7512 says:

    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 says:

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

  5. katopz says:

    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)

  6. Daman says:

    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 ??

  7. s.koch says:

    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).

  8. jk says:

    I would like to see a Tree Component

  9. Eugene says:

    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.

Leave a Reply