Author Archives: keith

My New Computer

It’s not a Mac! It’s a Sony! A Sony Vaio E-Series to be exact. Yes, I’ve gone back to the dark side. But it doesn’t feel that way anymore. I’ll make a long story short, since I’ve started out to … Continue reading

Posted in Flash | 59 Comments

A few MinimalComp updates

Addressed all reported bugs and added a few graphical goodies. [kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.bit-101.com/blog/wp-content/uploads/2010/04/Updates.swf” width=”420″ height=”320″ targetclass=”flashmovie”] [/kml_flashembed] First is grids. The Panel now has a few new properties. Panel.showGrid turns on or off a grid drawn in the background. … Continue reading

Posted in ActionScript, Components, Flash | 15 Comments

MinimalComps: New SWC, zipped source, updated site

Backlogged on this, but I got the new SWC and zipped source uploaded, including the new RangeSlider component (HRangeSlider and VRangeSlider, actually). Has a bunch of other bug fixes in there as well. Also updated the site, as it had … Continue reading

Posted in Components | 5 Comments

MinimalComps: RangeSlider

I know I’m supposed to stop making new components and clean things up for 1.0, but this got in my head and I had to bang it out. It’s basically a slider with two handles. You get a lowValue and … Continue reading

Posted in ActionScript, Components | 8 Comments

Minimal NumericStepper

I wasn’t planning on doing this before 1.0, but I needed one and put a couple of buttons and an input text together for the project I’m doing. Then I needed another one elsewhere in the project. So I extracted … Continue reading

Posted in ActionScript, Components | 11 Comments

Encoding PNGs in AS3, asynchronously

Occasionally I make apps that create bitmaps and save them. To do so you need to use an encoder to turn the bitmapdata bits into a byte array that can be saved in some image format. AS3 has a PNGEncoder … Continue reading

Posted in ActionScript | 17 Comments

Custom List Items for MinimalComps List and ComboBox

I checked in some changes to List and ComboBox that allow you to create custom list items. Here’s an example: [kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.bit-101.com/blog/wp-content/uploads/2010/03/CustomList.swf” width=”250″ height=”200″ targetclass=”flashmovie”] [/kml_flashembed] This is enabled through the listItemClass property on List and ComboBox. In … Continue reading

Posted in Components, Flash | 9 Comments

MinimalComps Fixes

As I mentioned the other day, I’m going to spend the next couple of weeks addressing any bugs or enhancements to the components. In the last few days, here are some of the things I’ve added and fixed: – exposed … Continue reading

Posted in ActionScript, Components | Leave a comment

And finally, Minimal ComboBox

[kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.bit-101.com/blog/wp-content/uploads/2010/03/ComboBox.swf” width=”120″ height=”200″ targetclass=”flashmovie”] [/kml_flashembed] Has most of the same properties / methods as List. And adds: openPosition – “top”, “bottom”, or ComboBox.TOP, ComboBox.BOTTOM. Defaults to bottom. defaultLabel – what shows if nothing is selected. Default to … Continue reading

Posted in ActionScript, Components, Flash | 12 Comments

Font issue in MinimalComps

It was brought to my attention today that there was a possible issue in the MinimalComps regarding font embedding. If you were to compile the component source with the Flex 4 SDK, no labels on any components would show up. … Continue reading

Posted in Components, Flash | 16 Comments