Posted by tomschober on November 6, 2009
So I finally started my own library to contribute back to the community. I’ll be adding some of my personally developed components to a Google Code repository starting with today’s: KeyBoardInputMonitory.
If you ever wanted to use a mag-strip or barcode scanner, check it out.
http://code.google.com/p/lonepalmflexlib/
Posted in Lone Palm, LonePalm Flex Lib | Leave a Comment »
Posted by tomschober on October 13, 2009
Let’s just say you have this crazy requirement to validate Flex TextInputs and TextAreas, they have to indicate that they are invalid while using them (i.e. turn red), but NOT use that nifty little mouse-over tooltip that describes why it’s invalid. Ok well here’s how you can stop it:
textInput.addEventListener(ToolTipEvent.TOOL_TIP_SHOWN, hideToolTip);
private function hideToolTip(event : ToolTipEvent) : void
{
ToolTipManager.currentToolTip.visible = false;
}
or
<mx:TextInput toolTipShown=”ToolTipManager.currentToolTip.visible = false“/>
Posted in Actionscript, Flex | 2 Comments »
Posted by tomschober on September 17, 2008

After a seemingly brief stay with Highwinds in Winter Park, FL, I’ve decided to become an independent consultant working with Universal Mind. I’ve known these guys for a long time now and they are steadily growing as the premiere Rich Internet Application development house.
More here: www.UniversalMind.com
I will really miss my friends at Highwinds, but I left StrikeTracker in some very capable hands and I’m not going far.
Posted in Flex, Highwinds, Universal Mind | 1 Comment »
Posted by tomschober on May 22, 2008
Posted in Uncategorized | Leave a Comment »
Posted by tomschober on February 29, 2008
I saw this shirt at Flava Invasion 3 in Atlanta… how appropriate is this for me?!?!?!

Posted in Uncategorized | Tagged: Dance, Programming, Salsa, Software, T-shirt | 1 Comment »
Posted by tomschober on February 21, 2008
Submitted an issue to the Flex Bug Tracking DB today:
http://bugs.adobe.com/jira/browse/SDK-14732
This is a result of some performance tuning an application that needs to connect to FMS for video using mx.controls.videoClasses.VideoDisplay
Read the issue for details.
Posted in Actionscript, Flex | Tagged: Actionscript, Flash, Flex, SDK, Video | Leave a Comment »
Posted by tomschober on January 22, 2008
Ok… so I think I’m funny. This is more about thinking OF the <mx:Box/>
Let’s say you want to create a custom ItemRenderer for a Datagrid that has layout control like the HBox container. You cannot simply write a custom component and assign that to a DataGridColumn. You’ll find out that in order to get access to data being assigned to your formatted column at runtime, you need to implement IDropInListItemRenderer. The only components useful to DataGrid that already implement that interface are: Button, ComboBox, DataGridItemRenderer, DateField, Image, Label, ListBase, ListItemRenderer, NumericStepper, TextArea, and TextInput.
This is fairly easy to overcome. All you have to do to a container like HBox would be to define that interface to implement, create a getter and setter for the listData property, and handle the dataChange event so when this class is reused as a renderer in a list, we appropriately set the property that stores our DataGrisListData:
<mx:HBox
implements="mx.controls.listClasses.IDropInListItemRenderer"
dataChange="onDataChange">
private var _listData : BaseListData;
private var _dgListData : DataGridListData;
public function get listData() : BaseListData{
return _listData;
}
public function set listData(value : BaseListData) : void{
this._listData = value;
}
public function onDataChanged(event : Event) : void{
_dgListData = listData as DataGridListData;
}
When the item renderer is used at runtime and the data property is set to the item in the grid, you can access the appropriate datafield which you intend to format. In this case I’m setting a private [Bindable] variable that a label is listening to:
public override function set data(value : Object) : void{
super.data = value;
_theLabelText = value[_dgListData.dataField] as String;
super.invalidateDisplayList();
}
Now you can use the HBox to do this:
<mx:DataGridColumn
datafield="myfield"
itemrenderer="myHBoxRenderer"/>
I’ve used this method to create an Excel-style Accounting Renderer. It will be posted shortly here in this blog.
Posted in Actionscript, Flex | Tagged: Actionscript, Flex | Leave a Comment »