publicfunction optionalArgumentFunction(value:Object,string:String, count:int = 0,otherValue:Object = null):void{ if (count != 0) { /*if the count is not the default value handle the value the call passes in*/ } if (otherValue != null ) { /* if the otherValue is not null handle the value the call passes in */ } }