Problem with default value (uint=null)

Flex complains if I want to create an object from a library symbol with linkage:
1180: Call to a possibly undefined method [linkage name].

So to avoid this, I create a class for that symbol, in this case extending BitmapData using Flex’s new ActionScript Class feature.
Flex create that class for me and the constructor looks like this:
[FONT=Courier New]public function CustomBitmapData(width:int, height:int, transparent:Boolean=true, fillColor:uint=null)[/FONT]

Just the same as a normal BitmapData.

But. Now both Flex and the compiler complains:
1184: Incompatible default value of type Null where uint is expected.

Makes sense since unint’s default value is 0.

But how come this works for native BitmapData, and also, what would you do if you have ints, uints or numbers as arguments in a function but don’t want to have to pass them?