I’m on a roll!
[kml_flashembed publishmethod=“static” fversion=“10.0.0″ movie=“https://www.bit-101.com/2003/wp-content/uploads/2010/03/List.swf” width=“120″ height=“220″ targetclass=“flashmovie”]
[/kml_flashembed]
Now that we have a scroll bar, making a List was not all that hard. Here you can see a generic list with 1000 items. The default item color, rollover color and selected color are all customizable, as is the list item height. I improved a bunch of stuff about the scroll bar and a lot of the time this took was going back and forth between the text area and list and making sure the scroll bar worked perfectly in both of them.
Read more...I have an idea in mind for an app. It needs charts. Therefore, we now have minimal charts.
First is the Bar Chart and Line Chart:
[kml_flashembed publishmethod=“static” fversion=“10.0.0″ movie=“https://www.bit-101.com/2003/wp-content/uploads/2010/03/BarAndLineCharts.swf” width=“250″ height=“250″ targetclass=“flashmovie”]
[/kml_flashembed]
And then the Pie Chart:
[kml_flashembed publishmethod=“static” fversion=“10.0.0″ movie=“https://www.bit-101.com/2003/wp-content/uploads/2010/03/PieChart.swf” width=“270″ height=“250″ targetclass=“flashmovie”]
[/kml_flashembed]
Coming soon, the Rubber Chicken Graph. (Name that comedian.)
Each chart takes an array passed into its data property. For Line and Bar charts, this is an array of Numbers. These two charts are set to autoScale = true by default. But you can set that to false and provide minimum and maximum values. Set showScaleLabels to true to show the max and min values in labels off to the left as in the examples. The labelPrecision property can be used to determine how these are rounded off if necessary. The Bar Chart’s bar colors can be specified with barColor, and the Line Chart’s lines can be customized with lineColor and lineWidth.
Read more...Yes, I finally got off my butt and made a minimal scroll bar. And a scrolling TextArea to boot. It’s in the version 0.101 SWC / source, or just update SVN.
The new components are VScrollBar, HScrollBar and TextArea.
These should all be considered beta at best until I get some real world feedback. They work pretty well for me so far but it wouldn’t shock me if a few bugs are found. Actually, HScrollBar has not been tested at all, and I’m just realizing now it’s probably very broken. So hold off on using that one. 🙂
Read more...A lot of people have asked, and continue to ask how to skin minimal comps.
Short story, long story, what you can do.
Short story: you can’t.
Long story: Minimal Comps were designed to be minimal. Mostly for use in prototypes and experiments. Their visual UI is hard coded and skinning was never, ever part of the design consideration. In fact, the opposite: skinning was specifically and with malice aforethought left out. There are a few reasons why this is the case.
Read more...I just added a new MInimal Component: an Accordion. It’s pretty similar to what you see here: https://www.bit-101.com/2003/2313, i.e. a VBox with Windows, but I made into it’s own class with a few nice touches.
A new Accordion starts with two sections. You can add more with accordion.addWindow("New Window Title");. You can access any window with accordion.getWindowAt(index);. See it in action at https://www.minimalcomps.com.
It’s in the new 0.99 SWC/Source that is now on Google Code, along with a bunch of bug fixes and updates to the existing code. The next main thing I want to focus on is a scroll bar, which will make a few other, much needed components possible, but this one was really easy to bang out.
Read more...This is long overdue. Minimal Comps have been a sort of side project of mine, and have various posts here related to them, but enough people are using them and apparently liking them, that it seemed they deserved a home of their own.
The site is nothing fancy (minimal?), and it seemed fitting to use the components to make the site, but at least it serves as a single point where people can go to find out what they are, where to get them, see demos and examples, get documentation, find out where to report bugs, etc.
Read more...Do you use Minimal Comps? I would love to get a list of sites and apps that feature them. Even if it’s just an experiment or proof of concept type example. Leave links in the comments or email me at kp at bit-101 dot com. Thanks!
Read more...I’m doing a personal project with my Minimal Components and I needed a calendar. So I made one.
[kml_flashembed publishmethod=“static” fversion=“10.0.0″ movie=“https://www.bit-101.com/2003/wp-content/uploads/2010/02/Playground.swf” width=“200″ height=“180″ targetclass=“flashmovie”]
[/kml_flashembed]
It’s in version 0.98 here: https://code.google.com/p/minimalcomps/. This release also fixes a couple of bugs and adds a couple of features:
– All components now have a “tag” property which is an int. Comes in handy now and then.
– RadioButtons now have a “groupName” property so multiple groups of radio buttons can act independently.
Someone just pointed out that I had an offscreen div with about a jillion spam links. Uploaded a new WordPress install. No luck. Changed the theme, that seemed to do it. Looks like I’m in the market for a new theme. Until then, enjoy the default.
Read more...Do you make Flash content? Do you have Flash content on the web? If so, you owe it to yourself and your clients to check this content against the upcoming version 10.1 beta player. There’s lots of new goodies in this player, but as you – a developer yourself – know, when you add and change stuff, you risk breaking existing stuff. The Flash player has this problem 1000 times over – it has to run all the existing Flash content created by millions of developers all over the world, and with minimum failure. A lot of testing is done internally obviously, but only you will know if your content runs without any hitches.
Read more...