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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -