ActionScript - Overriding Method Without Matching Signature? -
when extending class, impossible override method without matching parameters?
for example, i'd use method's name, in case it's socket extension , method want override connect
. however, want request additional parameters stock connect
function not request.
is alternative create own connect-like method own parameters, call super.connect
function , override stock connect function throw error if it's called?
that kind of sounds train wreck.
function overloading not supported in actionscript (however darron schall demonstrated kind of pseudo overloading in this article).
i think in case it's left on create own connectex
method.
Comments
Post a Comment