---
title: "Delegate"
type: "forum-thread"
url: "https://www.webforum.nu/amne/flash/152148-delegate"
topic: "Flash"
topic_url: "https://www.webforum.nu/amne/flash"
author: "Web-Tor"
published: "2006-10-05T16:07:07.000Z"
updated: "2006-10-05T17:59:33.000Z"
replies: 1
views: 254
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/flash/152148-delegate"
---

# Delegate

## #1 — Web-Tor, 2006-10-05T16:07Z

```
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

Permalänk: https://www.webforum.nu/p/152148

## #2 — Web-Tor, 2006-10-05T17:59Z

Hittade svaret:
<http://blog.scottgmorgan.com/php/default.php?topicID=170&contentID=739&rowID=105>

Permalänk: https://www.webforum.nu/p/1877557

---

Tråden på webben: https://www.webforum.nu/amne/flash/152148-delegate
