class Bicycle
{
staticpublic var wheels:Number = 2;
private var _gears:Number;
public function get gears():Number
{
return _gears;
}
public function Bicycle(numberOfGears:Number)
{
this._gears = numberOfGears;
for (var i:int = 0; i < Bicycle.wheels; i++)
{
//Prepare a wheel.
}
}
}