Delegate

Flash

1 svar · 253 visningar · startad av Web-Tor

Medlem sedan nov. 200013 890 inlägg
Trådstart#1
mittMC.onRelease = Delegate.create(this, handleOnRelease);
mittAndraMC.onRelease = Delegate.create(this, handleOnRelease);

public function handleOnRelease():Void {
	// Här vill jag veta vilket MC som triggade funktionen
}

:q

Medlem sedan nov. 200013 890 inlägg
251 ms totalt · 4 externa anrop · v20260731065814-full.d34c6d5a
121 ms — deklarationer (db)
0 ms — hämta statistik (cache)
123 ms — hämta tråd, inlägg och bilagor (db)
125 ms — ändringar (db)