Wednesday, July 16, 2008
Wednesday, July 16, 2008    

private function updateTiming( e:Event ):void
{
var n:Number = Number( e.currentTarget.selectedItem.data );
Sheet.MINIMUM_CHANGE = n;
stage.focus = stage;
}
That stage.focus = stage; seems pretty weird to me, but it works to maintain focus on the stage in order to properly accept keyboard events.


0 Comments:

Post comment

Links to this post:


Create a Link

gotoAndStop( topOfPage );