It's all in the name - Instance Name Function

/ Published in: ActionScript 3
Save to your folder(s)

This uses the button's instance name to assign functions. Instead of using a bunch of event listeners, you can use one function to delegate actions according to the button's instance name.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.